473,903 Members | 4,530 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 1355
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
3784
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
3068
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
1611
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
2329
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
2769
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
1482
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
2763
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
4939
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
11331
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
9999
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
11282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10500
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...
1
8048
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
5894
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4726
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
4308
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3324
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.