Thanks for your input.
I have tried this msdn link already and googled but with little success. They basically all tell me its permissions and to allow the ASPNEt account and Anonymous User account access to the application directory which I have done.
I have yet to try Victors solution.
Thanks again for your help.
Jon
>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