Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server Cannot Access Application Directory
Message
 
To
26/10/2005 07:05:49
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01062163
Message ID:
01062235
Views:
12
Jon;

Try this link or google.

http://support.microsoft.com/default.aspx?scid=kb;en-us;825789

Tom

>Hi,
>
>Please be gentle with me as my .Net experience is somewhere around zero.
>
>My company has recently re-written its Fox application in .Net and I've been asked to carry out some testing on the setup programs to ensure its ok for our customers. The application has a Client install that installs all the bits for the user and a server install that installs a Web Service and a Database. If I install the Web Service on a local machine it works fine but as soon as I put it on our Win 2000 Server I get the following error:
>
>Server cannot access application directory 'J:\Inetpub\wwwroot\ProdManager\'. The directory does not exist or is not accessible because of security settings.
>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.Web.HttpException: Server cannot access application directory 'J:\Inetpub\wwwroot\ProdManager\'. The directory does not exist or is not accessible because of security settings.
>
>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.
>
>Stack Trace:
>
>
>[HttpException (0x80004005): Server cannot access application directory 'J:\Inetpub\wwwroot\ProdManager\'. The directory does not exist or is not accessible because of security settings.]
> System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263
>
>[HttpException (0x80004005): ASP.NET Initialization Error]
> System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +965
> System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128
>
>
>I have tried putting on another far more simple .Net application and get the same error so it has to be permissions\configuration but I have tried changing these and still cant get it to work.
>
>It has the follwoing settings:
>
>Running as an Annomynous User with the Admin account (for testing only).
>I have added the ASPNET account full control on the Inetpub, wwwroot and the application directory.
>
>Can anyone point me in the right direction for this?
>
>Thanks
>
>Jon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform