Running .NET Webpages in Win XP Pro

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
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

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.
 
G

Guest

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
 
W

WJ

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
 

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

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,228
Latest member
MikeMichal

Latest Threads

Top