Access denied error after deploying ASP.Net web site

Y

Yan

Hi,

I've gotten the following attached error after copying some aspx and dll
files from my dev server to production server. The error persisted after I
disabled the index server, restart IIS, and even reboot the server which is
a Windows 2003 server.

The error message seems to point to compiled dlls in Temporary ASP.NET Files
folder. How do I get rid of this error?

Thanks!

Yan

Configuration Error
Description: 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.

Parser Error Message: Access is denied: 'InsureYourStuff'.

Source Error:

Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:

Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
258

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

=== Pre-bind state information ===
LOG: DisplayName = InsureYourStuff
(Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/insureYourStuffTest
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: InsureYourStuff
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/demo/8f1d56ee/e0487ad/InsureYourStuff.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/demo/8f1d56ee/e0487ad/InsureYourStuff/InsureYourStuff.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/insureYourStuffTest/bin/InsureYourStuff.DLL.
 
Y

Yan

Got the answer. It's the access permissions for the dlls. The access
permissions on the dev server were not set properly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top