ASP.NET 2.0 in IIS is giving me error.

W

washoetech

Hello,

I have tried to run my ASP.NET 2.0 application from IIS and I get a page not
found error. When I debug from within Visual Studio.NET 2005 my application
works fine. Any ideas?

Thanks,

washoetech
 
P

Pavan

Hi,

Try to find the file named app_offline.html in your virtual directory.

If it exists, delete the file, this may cause the error message you got

Cheers,

Pavan
 
W

washoetech

There is no file like the one that you are talking about. I am running this
on my own Windows 2003 Server. I created the virtual web site in IIS 6.
 
S

Steven Cheng[MSFT]

Hi washoetech,

For the problem you mentioned, do you mean that you can correctly open the
IIS asp.net site in VS.NET IDE and debug or lanch the page, but can not
view them outside the VS.NET ide directly through IE browser?

If so, this is a bit strange. I think you can try putting a simple
helloword.aspx page which use some asp.net 2.0 classes under the default
site's root (make sure the default site has been configured to use ASP.NET
2.0). Then, try visiting the hello page through IE browser to see whether
you can get it running correclty.

If still get problem, there must have been some problems with the asp.net
2.0 's registering in the IIS server. Also you can try checking the IIS 's
log files and Application event logs to see whether you can get any clues
from there.

If there're any other findings, please feel free to post here also.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| From: "washoetech" <[email protected]>
| References: <#[email protected]>
<#[email protected]>
| Subject: Re: ASP.NET 2.0 in IIS is giving me error.
| Date: Thu, 29 Sep 2005 22:39:46 -0700
| Lines: 32
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-RFC2646: Format=Flowed; Response
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 206.159.118.137
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:128170
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| There is no file like the one that you are talking about. I am running
this
| on my own Windows 2003 Server. I created the virtual web site in IIS 6.
|
| | > Hi,
| >
| > Try to find the file named app_offline.html in your virtual directory.
| >
| > If it exists, delete the file, this may cause the error message you got
| >
| > Cheers,
| >
| > Pavan
| >
| >
| > | >> Hello,
| >>
| >> I have tried to run my ASP.NET 2.0 application from IIS and I get a
page
| >> not found error. When I debug from within Visual Studio.NET 2005 my
| >> application works fine. Any ideas?
| >>
| >> Thanks,
| >>
| >> washoetech
| >>
| >
| >
|
|
|
 
C

Chris Botha

When you create a new Web Site, in the Location drop down select HTTP. If
you selected File System it will work when debugging and a you will notice a
yellow icon in the system tray that enables it to work when debugging.
 
S

Steven Cheng[MSFT]

Hi Washoetech,

How are you doing on this issue and does the suggestions in my last reply
helps a little? If there're anything else we can help, please feel free to
post here. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security

--------------------
| X-Tomcat-ID: 117806711
| References: <#[email protected]>
<#[email protected]>
<[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Fri, 30 Sep 2005 07:40:06 GMT
| Subject: Re: ASP.NET 2.0 in IIS is giving me error.
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 71
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:128182
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Hi washoetech,
|
| For the problem you mentioned, do you mean that you can correctly open
the
| IIS asp.net site in VS.NET IDE and debug or lanch the page, but can not
| view them outside the VS.NET ide directly through IE browser?
|
| If so, this is a bit strange. I think you can try putting a simple
| helloword.aspx page which use some asp.net 2.0 classes under the default
| site's root (make sure the default site has been configured to use
ASP.NET
| 2.0). Then, try visiting the hello page through IE browser to see whether
| you can get it running correclty.
|
| If still get problem, there must have been some problems with the asp.net
| 2.0 's registering in the IIS server. Also you can try checking the IIS
's
| log files and Application event logs to see whether you can get any clues
| from there.
|
| If there're any other findings, please feel free to post here also.
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
| --------------------
| | From: "washoetech" <[email protected]>
| | References: <#[email protected]>
| <#[email protected]>
| | Subject: Re: ASP.NET 2.0 in IIS is giving me error.
| | Date: Thu, 29 Sep 2005 22:39:46 -0700
| | Lines: 32
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | X-RFC2646: Format=Flowed; Response
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | Message-ID: <[email protected]>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: 206.159.118.137
| | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| | Xref: TK2MSFTNGXA01.phx.gbl
| microsoft.public.dotnet.framework.aspnet:128170
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | There is no file like the one that you are talking about. I am running
| this
| | on my own Windows 2003 Server. I created the virtual web site in IIS 6.
| |
| | | | > Hi,
| | >
| | > Try to find the file named app_offline.html in your virtual directory.
| | >
| | > If it exists, delete the file, this may cause the error message you
got
| | >
| | > Cheers,
| | >
| | > Pavan
| | >
| | >
| | > | | >> Hello,
| | >>
| | >> I have tried to run my ASP.NET 2.0 application from IIS and I get a
| page
| | >> not found error. When I debug from within Visual Studio.NET 2005 my
| | >> application works fine. Any ideas?
| | >>
| | >> Thanks,
| | >>
| | >> washoetech
| | >>
| | >
| | >
| |
| |
| |
|
|
 

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,754
Messages
2,569,527
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top