Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP.NET 2.0 in IIS is giving me error.

Reply
Thread Tools

ASP.NET 2.0 in IIS is giving me error.

 
 
washoetech
Guest
Posts: n/a
 
      09-30-2005
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


 
Reply With Quote
 
 
 
 
Pavan
Guest
Posts: n/a
 
      09-30-2005
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" <> wrote in message
news:%...
> 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
>



 
Reply With Quote
 
 
 
 
washoetech
Guest
Posts: n/a
 
      09-30-2005
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" <> wrote in message
news:%...
> 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" <> wrote in message
> news:%...
>> 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
>>

>
>



 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      09-30-2005
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" <>
| References: <#>
<#>
| 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: <>
| 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" <> wrote in message
| news:%...
| > 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" <> wrote in message
| > news:%...
| >> 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
| >>
| >
| >
|
|
|

 
Reply With Quote
 
Chris Botha
Guest
Posts: n/a
 
      09-30-2005
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" <> wrote in message
news:%...
> 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
>



 
Reply With Quote
 
Steven Cheng[MSFT]
Guest
Posts: n/a
 
      10-10-2005
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: <#>
<#>
<>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (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: <>
| 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" <>
| | References: <#>
| <#>
| | 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: <>
| | 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" <> wrote in message
| | news:%...
| | > 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" <> wrote in message
| | > news:%...
| | >> 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
| | >>
| | >
| | >
| |
| |
| |
|
|

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS 6 vs IIS 5 ASP.NET Performance Issues JMaelstrom ASP .Net 2 04-30-2010 04:32 PM
The giving that keeps on giving sixteenmillion C Programming 0 11-19-2007 10:59 PM
IIS 6.0 win2003, IIS users moe_rodrigue MCSE 1 04-01-2004 07:37 AM
ASP.NET application works in IIS PWS, but not in remote IIS. Matthew Louden ASP .Net 3 11-07-2003 09:58 PM
.NET IIS to IIS credentials problem... Grind Boy ASP .Net 4 08-14-2003 12:59 PM



Advertisments