Free Support Forum - aspose.com

Exception System.IO.FileLoadException: Access is denied: 'Aspose.Cells'

Hi,

Do you know why I keep getting this error message?

thanks

this is the error

Access is denied: 'Aspose.Cells'.

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.Cells'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Aspose.Cells' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = Aspose.Cells, Version=4.0.1.0, Culture=neutral, PublicKeyToken=716fcc553a201e56
 (Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/Demo
LOG: Initial PrivatePath = bin
Calling assembly : Demo, Version=1.0.2417.19916, Culture=neutral, PublicKeyToken=null.
===

LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/demo/ee4e5657/8eb8f407/Aspose.Cells.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/demo/ee4e5657/8eb8f407/Aspose.Cells/Aspose.Cells.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/Demo/bin/Aspose.Cells.DLL.

It seems that your application doesn't have rights to access Aspose.Cells.dll. Please put Aspose.Cells.dll into your GAC.

I have placed it here

C:\windows\Microsoft.net\framework\v1.1.4322

do I need to registar it or something?

thanks

thanks,

used the gatutility tool

thanks

Please go to control panel and use .net framework configuration to deploy it into GAC.

Do the demos run well in your machine?

What happens after you deploy it into GAC? And the demos?

I depolyed the dll via the .net command prompt and every thing works fine.

thanks