473,471 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Running .NET Webpages in Win XP Pro

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

Nov 18 '05 #1
3 970
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" <an*******@discussions.microsoft.com> wrote in message
news:5C**********************************@microsof t.com...
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.

Nov 18 '05 #2
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.EnsureAccessToApplicationDi rectory() +7
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +26

[HttpException (0x80004005): ASP.NET Initialization Error
System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +96
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest 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" <an*******@discussions.microsoft.com> wrote in messag
news:5C**********************************@microsof t.com..
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

Nov 18 '05 #3
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
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: jrf[no] | last post by:
Hi all, I was getting a 500 error and someone adviced me to run the php file from the command line to check what errors that would come up with. Great idea which I'd like to use, but when I...
5
by: michelle | last post by:
I was wondering if it is possible to run a PHP program on a web browser on a local PC without having a server, such as Apache, installed locally? I am thinking about creating an application the...
7
by: dow | last post by:
I'm looking for ideas or how to make webpages for members. I want a member log in and view their profiles and check boxes stating that they have completed listed instructions and waiting for the...
5
by: Michael Landberg | last post by:
Hi this may be a stupid question, but anyway! I have created a website with a few pages. I have noticed that when I change the IE browser text size ( through the view menu -> text size) to...
0
by: xmail123 | last post by:
I have written the following simple C# project in Visual studio. I am trying to see how the XML documenting works. I click Tools, Build Comment WebPages… then just click OK in the Build Comment...
3
by: Yul | last post by:
Hi, We are in the process of designing an ASP.NET app, where a user will enter some 'Customer ID' to be queried in the database. If the ID is valid, several stored procedures will be called to...
12
by: scsharma | last post by:
Hi, I am working on creating a webapplication and my design calls for creating main webform which will have menu bar on left hand side and a IFrame which will contain all the forms that are shown...
2
by: eskil | last post by:
Hi - I have a CRM database (Access 2003) and am looking for ways to increase its acessibility whenever a user is away from the office. I have been reading about Citrix (as well as other software)...
10
by: jon | last post by:
I am a beginner C programmer, this is actually my first programming lanugage, besides html, cgi, and javascript. I am looking for a way to make an .exe file, or a copy of my own file. I have tried...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.