473,385 Members | 1,766 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,385 software developers and data experts.

ASP.NET 2.0 in IIS is giving me error.

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
Nov 19 '05 #1
5 2114
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
"washoetech" <wa********@newsgroups.nospam> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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

Nov 19 '05 #2
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.

"Pavan" <pa********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
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
"washoetech" <wa********@newsgroups.nospam> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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


Nov 19 '05 #3
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" <wa********@newsgroups.nospam>
| References: <#F**************@tk2msftngp13.phx.gbl>
<#a**************@TK2MSFTNGP11.phx.gbl>
| 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: <On**************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: 206.159.118.137
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.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.
|
| "Pavan" <pa********@hotmail.com> wrote in message
| news:%2****************@TK2MSFTNGP11.phx.gbl...
| > 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
| >
| >
| > "washoetech" <wa********@newsgroups.nospam> wrote in message
| > news:%2****************@tk2msftngp13.phx.gbl...
| >> 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
| >>
| >
| >
|
|
|

Nov 19 '05 #4
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.
"washoetech" <wa********@newsgroups.nospam> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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

Nov 19 '05 #5
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: <#F**************@tk2msftngp13.phx.gbl>
<#a**************@TK2MSFTNGP11.phx.gbl>
<On**************@TK2MSFTNGP11.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online.microsoft.com (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: <oq**************@TK2MSFTNGXA01.phx.gbl>
| 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" <wa********@newsgroups.nospam>
| | References: <#F**************@tk2msftngp13.phx.gbl>
| <#a**************@TK2MSFTNGP11.phx.gbl>
| | 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: <On**************@TK2MSFTNGP11.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: 206.159.118.137
| | Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.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.
| |
| | "Pavan" <pa********@hotmail.com> wrote in message
| | news:%2****************@TK2MSFTNGP11.phx.gbl...
| | > 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
| | >
| | >
| | > "washoetech" <wa********@newsgroups.nospam> wrote in message
| | > news:%2****************@tk2msftngp13.phx.gbl...
| | >> 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
| | >>
| | >
| | >
| |
| |
| |
|
|

Nov 19 '05 #6

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

Similar topics

10
by: Lakshmi Narayanan.R | last post by:
Hi Experts, Using keyword "To" in select case giving error.The following code is got from www.microsrosoft.com itself. What is the wrong with this?. <% Dim Number1 Number1 = 7 ' Initialize...
1
by: laurenq uantrell | last post by:
I'm trying to figure out why I can't loop through a function (myFunctionXYZ) after an error. The problem is that I can loop from the error once back into the code section of myFunctionXYZ, but on...
12
by: prasi | last post by:
hi all, I have executed the following program, I was expecting some errors in the program but it didn't give any ERRORS!!!!!!!!!!!!!!!!!!!!!!!!!!! please can anybody explain me ?...
0
by: sandeep pandit via .NET 247 | last post by:
hello sir, i read your article on URL rewriting in asp.net on msdn.i have also used the same in my project.URL rewriting is working fine in our LAN and on our configured IP but problem is that...
3
by: Simon | last post by:
This problem has been driving me mad for months.... Seen a few posts on forums about it but no answers... No mention on MSDN etc. XP Pro SP1, VS.NET (c#) .Net framework 1.1, IIS 5.1. In a...
2
by: edsuslen | last post by:
I am migrating working code (HTTPRequest with Authentication) from vb to vb.net vb: Set objXMLHTTPServer = New MSXML2.XMLHTTP30 objXMLHTTPServer.Open strMethod, strGetRequest, False, "UserId",...
1
by: connoisseur.infotech | last post by:
i have schedule a .exe of VB6.0 on a remote computer and when that exe run out i got this message in scheduler. operating system is window server 2003 where i have scheduled it. This program...
7
by: John Øllgård Jensen | last post by:
Hi Using MS Asccess 2000: In a query I'm trying to create a new field with following expression: FilmDate: Left(,4) The field "FilmNo" is another text field in the query. This is...
1
by: Rahul Bhate | last post by:
Hello Sir My problem is in dos giving error that javac is not recognised.Tell me the steps for debugging.I have already set the CLASSPTH through command line & also set the PATH.But still giving...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
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
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,...

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.