I am testing the Aspose.Pdf 2.0 Version. Everything works fine in the applied Test-Projects an in some own small Testprojects (ASP.NET, VSS.NET, Framework 1.1).
Now i am testing it in a bigger Project and in 4 of 5 Walktroughs i get the following Error.
Access is denied: 'Aspose.Pdf'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileLoadException: Access is denied: 'Aspose.Pdf'.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Aspose.Pdf' could not be loaded.
I can restart the IIS and everythig works fine until the next run. But this isn't very helpful, because after the Restart i c'ant use the Debugger.
Here are the important Codelines:
Pdf myPdf = new Pdf();
//Dokument an das XML-Template binden
Section sec1 = myPdf.Sections;
Text text1 = sec1.Paragraphs["Vnummer"] as Text;
text1.Segments["Vnummer"].Content = strVnummer;
Text text2 = sec1.Paragraphs["Ort"] as Text;
text2.Segments["PLZ"].Content = strPLZ;
text2.Segments["Ort"].Content = " " + strOrt;
text2.Segments["Stadtteil"].Content = " " + strStadtteil;
Text text3 = sec1.Paragraphs["Strasse"] as Text;
text3.Segments["Strasse"].Content = strStrasse;
text3.Segments["Nummer"].Content = " " + strNummer;
Please help, cause i hope i can use this ecellent tool.
...but not with this error