By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,291 Members | 3,096 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,291 IT Pros & Developers. It's quick & easy.

Access denied error after deploying ASP.Net web site

P: n/a
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\Confi g\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.

----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yan
Got the answer. It's the access permissions for the dlls. The access
permissions on the dev server were not set properly.

"Yan" <ya******@hotmail.com> wrote in message
news:ex**************@TK2MSFTNGP14.phx.gbl...
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\Confi g\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.

-------------------------------------------------------------------------- -- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.