473,387 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1323
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\Administrator 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*****@noserver.comwrote in message news:ud*************@TK2MSFTNGP02.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\Administrator 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*****@noserver.comwrote in message news:up**************@TK2MSFTNGP06.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\Administrator 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*****@noserver.comwrote in message
news:up**************@TK2MSFTNGP06.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*****@noserver.comwrote in message news:%2****************@TK2MSFTNGP06.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\Administrator 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*****@noserver.comwrote in message
news:up**************@TK2MSFTNGP06.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
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...
7
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...
9
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,...
2
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...
8
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...
2
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...
0
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...
6
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...
18
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
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
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,...

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.