473,320 Members | 2,048 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,320 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 4084

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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.