473,396 Members | 2,018 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,396 software developers and data experts.

IIS won't serve my ASP.NET pages

Im having a problems with IIS on my XPpro(notebook)
and win2k(desktop) machines.
I installed Visual Studio .NET 2003 both,
and am trying to create a C# asp.net application.

The webserver (iis) on the XP Machine does not work at all.
IISmanager says that it is running, but it won't serve
even a simple html page, let alone an asp or asp.net page.
I can't create a new asp.net app or webservice on the XP
machine at all--> it just hangs trying to get a response
from iis. Eventually it comes up with an error message
saying it recieved a invalid response.

On my win2k machine I can open a VS asp.net project successfully with
no error or warning messages and build it, but when
I try to run it (either from within VS or directly
from IE) I get this error message
on a "This page cannot be displayed" web page:
Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'WebService Language="c#"
Codebehind="Service1.asmx.cs"
Class="WebService1.Service1" '
option is unknown or invalid.
/WebService1/Service1.asmx, line 1
I originally had a problem creating a new asp.net project.
I got an error message saying that asp.net 1.1 was not installed
on my webserver. I found a KB article (306005 -
How To Repair IIS Mapping After You Remove and Reinstall IIS) and
followed the instructions. (using aspnet_regiis.exe -i then registering
the aspnet_isapi.dll)

Now both my XP-Pro and Win2k machines show the correct ISAPI
Application entries for ASP and ASP.NET files in IISmanager - that's
progress. But...
I've also tried some solutions in other KB articles:

* KB 555132 (it is about putting an explicit IP
address in the IP Address field in the default web site properties:Web
Site:IP Address - field in IISmanager, and in the
Namespace="xxx.xxx.xx.xxx" code in the VS project file. But in the
article it also says to do something in IISmanager with the "working
status" -- I can't find such a field...

* KB82579 - providing a file called Get_aspx_ver.aspx in the wwwroot
directory.

All to no avail.

I'm about ready to start from scratch on my XP system and reformat the
hard drive and re-install EVERYTHING again, but it seems that I am SO
CLOSE TO SOLVING this on the Win2k machine that I don't want to give up
there (I can't give up anyway--I'm on a job where I have to create some
web services!!!)

Any ideas on what my next step needs to be? aparently IIS, even with
the help of aspnet_isapi.dll does not understand the
[Webservice Language="C#" class="Webservice1"...] line in the page.
I'm getting desperate, but hopeful at the same time!!! - Please help.
-Thanks again,
jeff

Nov 23 '05 #1
0 4087

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

Similar topics

7
by: Billy | last post by:
I'm having a issue with one box where it will not serve any ASP pages, even when i browse them from the IIS manager directly. Is there something I should look at to 'enable' serving asp pages?...
8
by: Rene | last post by:
Hi, I'm spend many hour to fix this problem, read many articles about it but no article gave a solution. To isolate the problem I've created in IIS6 (WServer2003) a virtual directory test to...
11
by: Mark J. McGinty | last post by:
Greets, One site I've written allows the user to install an IE extension menu (not malware at all) by downloading/merging a short .REG file. Worked like a peach on Win2K Server, now that I...
4
by: Evan Nelson | last post by:
I'm not sure exactly what happened but my local development server will no longer serve ASP pages. I can request HTML and they are served up fine. When I ask for an ASP I get the generic 500...
12
by: spinkysam | last post by:
Hi all, I just got a new laptop, Windows XP Pro SP2. I installed IIS 5.1 using add/remove Windows Components. I installed Visual Studio 6 SP6 and Visual Studio .Net (I need both of them)....
3
by: tranzpupy | last post by:
Hi, Everybody, My ASP site will only display with a port number in the url. How do I make IIS display it without the port number?? I've created a web site in VS 2005 called webapp1 with one...
3
by: =?Utf-8?B?U2hlcm1hbiBLQg==?= | last post by:
I have an application developed using IIS 5, and the 2.14 version of the .net framework and SQL 2005. When deployed to two different servers, the pages all display properly when using the address...
8
by: sgottenyc | last post by:
Hello, If you could assist me with the following situation, I would be very grateful. In my current position, we have to use a non-traditional server setup to serve PHP-generated web pages....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.