473,326 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Access denied error after deploying ASP.Net web site

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
1 1793
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: calfdog | last post by:
Hello, Does anyone know a workaround for calling fireEvent. With the latest from Microsoft OS XP2 and Hot fixes to IE it now gives an "access denied" error in Python when called. Here is what...
0
by: Sean Campbell | last post by:
Hi, My group have a ASP.NET based application ( currently running on 1.0.3705 ). Ideally, we would like to deploy new components(asp files/assemblies/db updates) into a live environment without...
3
by: Mark | last post by:
I'd like to avoid displaying the nasty built-in ASP.NET error for a 401.2, access denied. We're using windows authentication. The error message that is displayed by default is printed below. I'd...
12
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty...
4
by: Martin | last post by:
Hi, I am getting an "Access Denied" error when attempting to browse asp.net pages. I have installed ASP.NET 1.1.4322 on a domain controller. The machine also has ASP.NET 1.0.3705 installed on...
3
by: David Thielen | last post by:
Hi; I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But when it tries to write a file I get: Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images ...
2
by: stephen | last post by:
Hi, I am getting an Error "Access to the path...... is denied" Error. I have an web app and I am creating a log file to write the error info. If I have the absolute path...
4
by: Martin Emanuelsson | last post by:
Hello, I'm having problem with an ASP.NET 2.0 application that I'm trying to deploy to one of our stage servers. The first thing that happened was that when I deployed the site it just stood...
0
by: Andy | last post by:
Thanks Peter, I thought I'd give an update on this problem. My application had 2 assemblies that contained classed for the Data access and business logic layer. It was on one of them that I was...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.