Running .NET Webpages in Win XP Pro

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to test a ASP.NET webpage before I post it online. I keep getting an error that basically says I need to set the permissions on the IIS to allow for ASP.NET pages to run. Any advice on how to do that? I have tried a bunch of things, but nothing has seemed to work
 
Post the specific error message and I may be able to help.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************************************************
Think outside the box!
***************************************************************
John said:
I am trying to test a ASP.NET webpage before I post it online. I keep
getting an error that basically says I need to set the permissions on the
IIS to allow for ASP.NET pages to run. Any advice on how to do that? I have
tried a bunch of things, but nothing has seemed to work.
 
Below is the error message I receive. I thought I read somewhere now that I think about it that ASP.NET will not run on XP Pro Server since it is a limited version,. That might be the cause. But any help that you can offer will be good

Server Error in '/' Application
-------------------------------------------------------------------------------

Server cannot access application directory 'C:\Documents and Settings\Devin Avery\My Documents\Web Pages\Published Webpage\'. 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 'C:\Documents and Settings\Devin Avery\My Documents\Web Pages\Published Webpage\'. 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 'C:\Documents and Settings\Devin Avery\My Documents\Web Pages\Published Webpage\'. The directory does not exist or is not accessible because of security settings.
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +7
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +26

[HttpException (0x80004005): ASP.NET Initialization Error
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +96
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +12


----End ERROR MESSAGE---

----- Cowboy (Gregory A. Beamer) [MVP] wrote: ----

Post the specific error message and I may be able to help

--
Gregory A. Beame
MVP; MCP: +I, SE, SD, DB

**************************************************************
Think outside the box
**************************************************************
John said:
I am trying to test a ASP.NET webpage before I post it online. I kee
getting an error that basically says I need to set the permissions on th
IIS to allow for ASP.NET pages to run. Any advice on how to do that? I hav
tried a bunch of things, but nothing has seemed to work
 
Put your "Offline Projects" somewhere else rather than your default logon
profile folder. I think there is a bug in the VS.Net IDE.

To do this: Go into VS.Net IDE, click Tools/Options/Projects. Select "Web
Settings" under Offline Projects, browse to the folder of your choice and
select "OK" to change the configuration setting.

John
 
Back
Top