473,805 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Page not found when running ASP.Net web application

I've just installed Visual Web developer 2008 and tried to run my first
ASP.net web site. When I run it on my Vista Business PC I got an error
"Page can not be displayed". What should I check to get an ASP.Net
application running. I'm familiar with classic ASP programming not with
ASP.Net. Classic ASP applications are running fine on the same PC.

--
Kind regards,
Hans
Jun 27 '08 #1
5 1350
First thing to check for is whether the account ASP.NET
is running as has ACL permissions to the application directory.

In Vista, ASP.NET on IIS runs, by default, as the Network Authority account.

Make sure that account has at least read permissions to the app dir.

If you need to write to the directory, or update an Access database,
add write permissions to the appropiate directories, too.

If you're using VWD's Development Server,
it will run as the MachineName\Adm inistrator account.

Make sure *that* account has access permissions.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"HvLa" <no*****@noserv er.comwrote in message news:ud******** *****@TK2MSFTNG P02.phx.gbl...
I've just installed Visual Web developer 2008 and tried to run my first
ASP.net web site. When I run it on my Vista Business PC I got an error
"Page can not be displayed". What should I check to get an ASP.Net
application running. I'm familiar with classic ASP programming not with
ASP.Net. Classic ASP applications are running fine on the same PC.

--
Kind regards,
Hans

Jun 27 '08 #2
I don't seem to have a ASPNET account! Any ideas how this is possible
and how to correct this.

--
Kind regards,
Hans van de Laar

www.datascore.nl
Jun 27 '08 #3
re:
!>I don't seem to have a ASPNET account!

Of course you don't. You are running Vista.
ASPNET was the default account in IIS 5.1, in Windows XP.

In Vista, which runs IIS 7.0, the default IIS account is Network Service.
If you are using IIS, that's the account which needs permissions.

Since apparently you're not running IIS, but VWD's Development Server,
ASP.NET will run as the MachineName\Adm inistrator account.

Make sure *that* account has access permissions.

re:
!>Any ideas how this is possible and how to correct this.

There's nothing to correct.
Just give the right account the permissions outlined in my previous post.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"HvLa" <no*****@noserv er.comwrote in message news:up******** ******@TK2MSFTN GP06.phx.gbl...
>I don't seem to have a ASPNET account! Any ideas how this is possible
and how to correct this.

--
Kind regards,
Hans van de Laar

www.datascore.nl


Jun 27 '08 #4
How do you give the Network Service the right permissions?

I also noticed that the asp.net websites aren't listed in the IIS
management console, whereas the classic asp web apps do. Shouldn't
these asp.net apps show up also?

--
Kind regards,
Hans van de Laar

www.datascore.nl
Juan T. Llibre wrote:
re:
!>I don't seem to have a ASPNET account!

Of course you don't. You are running Vista.
ASPNET was the default account in IIS 5.1, in Windows XP.

In Vista, which runs IIS 7.0, the default IIS account is Network
Service. If you are using IIS, that's the account which needs
permissions.

Since apparently you're not running IIS, but VWD's Development Server,
ASP.NET will run as the MachineName\Adm inistrator account.

Make sure that account has access permissions.

re:
!>Any ideas how this is possible and how to correct this.

There's nothing to correct.
Just give the right account the permissions outlined in my previous
post.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaqol : http://asp.net.do/foros/
=============== =============== ========
"HvLa" <no*****@noserv er.comwrote in message
news:up******** ******@TK2MSFTN GP06.phx.gbl...
I don't seem to have a ASPNET account! Any ideas how this is
possible and how to correct this.

-- Kind regards,
Hans van de Laar

www.datascore.nl
Jun 27 '08 #5
re:
!How do you give the Network Service the right permissions?

You need to open the "Advanced Security Settings" dialog for the directory.
Search Vista's help for "Advanced Security Settings".

There's a good rundown, background info and images here :
http://technet.microsoft.com/en-us/m.../cc138011.aspx

re:
!I also noticed that the asp.net websites aren't listed in the IIS
!management console, whereas the classic asp web apps do

Did you install ASP.NET ?

http://msdn.microsoft.com/en-us/libr...20(VS.80).aspx

Did you *enable* ASP.NET ?

http://intersoftpt.wordpress.com/200...-in-vista-rtm/

Scott Guthrie has a very good rundown here :

http://weblogs.asp.net/scottgu/archi...h-VS-2005.aspx

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"HvLa" <no*****@noserv er.comwrote in message news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
How do you give the Network Service the right permissions?

I also noticed that the asp.net websites aren't listed in the IIS
management console, whereas the classic asp web apps do. Shouldn't
these asp.net apps show up also?

--
Kind regards,
Hans van de Laar

www.datascore.nl
Juan T. Llibre wrote:
>re:
!>I don't seem to have a ASPNET account!

Of course you don't. You are running Vista.
ASPNET was the default account in IIS 5.1, in Windows XP.

In Vista, which runs IIS 7.0, the default IIS account is Network
Service. If you are using IIS, that's the account which needs
permissions.

Since apparently you're not running IIS, but VWD's Development Server,
ASP.NET will run as the MachineName\Adm inistrator account.

Make sure that account has access permissions.

re:
!>Any ideas how this is possible and how to correct this.

There's nothing to correct.
Just give the right account the permissions outlined in my previous
post.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaqol : http://asp.net.do/foros/
============== =============== =========
"HvLa" <no*****@noserv er.comwrote in message
news:up******* *******@TK2MSFT NGP06.phx.gbl.. .
I don't seem to have a ASPNET account! Any ideas how this is
possible and how to correct this.

-- Kind regards,
Hans van de Laar

www.datascore.nl


Jun 27 '08 #6

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

Similar topics

11
3774
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
7
3065
by: Paul | last post by:
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue. If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard error page displayed by IE (you know, the 'cannot find server or dns error' page). Turning off 'show friendly http error messages' alleviates this. (Unfortunately this is the Windows default setting!) Whats going on?!?!
9
1605
by: Scott Townsend | last post by:
I have the following code in a file called test.asp and when I run it I get 'Test'... Is there something about running .ASP Pages on a Web that is running Windows Sharepoint Services? Thanks, Scott<- ------------ <html>
2
2326
by: Michael McGuire | last post by:
I have a very strange problem occurring on a couple of servers I have an ASP.NET application written in C# running on IIS 5.0 with Windows 2000 Server. This is the first ASP.NET application running on these servers. There are actually 4 servers that this application has been installed on. The application is a simple ASPX page with a code-behind DLL. The one ASPX page I have is named default.aspx. It uses Windows authentication (anonymous...
8
2766
by: TS | last post by:
Hi, i have inherited a page from another user. The page is the target frame in a frameset. for some reason the whole page runs twice (page_load, init, etc. all run twice) I can't figure out how this is happening. there are no transfers or redirects that are occurring in the pages. the page runs thru all of its events then starts all over again. Trying to inspect the stack track doesn't help because when i get to the init the 2nd time,...
2
1477
by: Elmo Watson | last post by:
I'm running a page, with a link which includes a querystring, pointing to a second page. when I click on the link, I need to make sure all the necessary items are correct when the second page loads. I put several breakpoints in the Page_Load event (which contains an if/then Postback section), including at the "if" line, - but as soon as I run the application, all the breakpoints in the Page_load are completely bypassed, never breaking
0
2758
by: =?Utf-8?B?bmVlcmFqYkBub2lkYS5ub3NwYW1oY2x0ZWNoLmNv | last post by:
Hi, We have created new .NET web service and running it through the default test page and it's working fine in our development environment. When we moved the web service to the acceptance environment then also it is successfully displaying the default testpage given by the .NET , but when we are providing the values to the parameters of webmethod on test page and click on the invoke button it gives us the error of "page cannot be...
6
4937
by: =?Utf-8?B?VkIgSm9ubmll?= | last post by:
ASP.NET 2.0 / Visual Studio 2005 / VB.Net 2.0 I have a web interface that needs to launch a java application. What a long strange trip it has been... I am using Process.Start process start info parameters, first to launch the java app by itself with the call: "C:\Program Files\Java\jdk1.5.0_12\bin\java.exe" javaAppName Arg1 Arg2
18
11322
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing classes, for each of the checked rows in the GridView. This works fine in the Visual Studio 2005 development environment on localhost. But, when I move the page to the web server, I get the error "Settings to access printer...
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10359
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10104
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9182
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7645
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4317
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 we have to send another system
2
3843
muto222
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.