asp.net err

R

rasta

the 'Access is denied' err in Q is referencing a file in:

C:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config

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: 'ShowWebApp'.

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 'ShowWebApp' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = ShowWebApp
(Partial)
LOG: Appbase = file:///C:/Inetpub/show/public/show/SR_Sample
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: ShowWebApp
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/show_sr_sample/409ab6d0/35b30417/ShowWebApp.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/show_sr_sample/409ab6d0/35b30417/ShowWebApp/ShowWebApp.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/show/public/show/SR_Sample/bin/ShowWebApp.DLL.
 
N

Nick Malik [Microsoft]

give your ASPNet account access to that file folder. Normally, the ASPNet
identity doesn't have read access to a location on the hard drive.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
R

rasta

thnak you nick.
have tried this without luck.


Nick Malik said:
give your ASPNet account access to that file folder. Normally, the ASPNet
identity doesn't have read access to a location on the hard drive.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 

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

Top