Getting Configuration Error After Hotfix Application?


#1

Hello,

I’m getting the following after applying the latest aspose.pdf hotfix:

Any ideas on this? I tried recompiling and even recompiling after removing and re-adding the reference.

Configuration Error

        <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif">

        <b> Description: </b>An

error occurred during the processing of a configuration file required
to service this request. Please review the specific error details below
and modify your configuration file appropriately.

        <b> Parser Error Message: </b>Unable to load file 'Aspose.Pdf'.<br><br>

        <b>Source Error:</b> <br><br>

        <table bgcolor="#ffffcc">
           <tr>
              <td>
                  <code></code><pre>Line 256:                <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/><br>Line 257:                <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/><br><font color="red">Line 258:                <add assembly="*"/><br></font>Line 259:            </assemblies><br>Line 260:</pre>

              </td>
           </tr>
        </table>

        <br>

        <b> Source File: </b> c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config<b>    Line: </b> 258
        <br><br>

        <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'Aspose.Pdf' could not be loaded.<br><br>

        <table bgcolor="#ffffcc">
           <tr>
              <td>
                  <code></code><pre>=== Pre-bind state information ===<br>LOG: DisplayName = Aspose.Pdf<br> (Partial)<br>LOG: Appbase = file:///F:/Websites/Testing/AG2.0<br>LOG: Initial PrivatePath = bin<br>Calling assembly : (Unknown).<br>===<br><br>LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).<br>LOG: Post-policy reference: Aspose.Pdf<br>LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/testing_ag2.0/f56aa35d/168ebd15/Aspose.Pdf.DLL.<br>LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/testing_ag2.0/f56aa35d/168ebd15/Aspose.Pdf/Aspose.Pdf.DLL.<br>LOG: Attempting download of new URL file:///F:/Websites/Testing/AG2.0/bin/Aspose.Pdf.DLL.<br>LOG: Publisher policy file is not found.<br>LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).<br>LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.<br><br>LOG: Post-policy reference: Aspose.Pdf, Version=2.9.3.0, Culture=neutral, PublicKeyToken=716fcc553a201e56<br></pre></td></tr></table></font><br>

#2

Nevermind - seemed to be a temporary glitch as everything is working fine now.

Thanks,
Ken


#3

Hi,

Thank you for considering Aspose.

It is really strange and I can't find any error. Can you please try creating a new project and see if it can work?