Windows Server 2008 or IIS7?


A

Andrew Raastad

Trying to test out a web service I wrote on a fresh Windows Server 2008, and
I am unable to get the web service to function. On the server itself, when
I browse to the web service test page
(http://127.0.0.1/_mnpsvc/enumeration.asmx) I get only the following coming
back:

<%@ WebService Language="vb" CodeBehind="Enumeration.asmx.vb"
Class="NMSWebServices.Enumeration" %>

It's like the .asmx page is being treated as a simple text file. I am not
really familiar at all with Server2008, so is there some setting or such I
need to mess with to "turn on" web services under IIS7? The box does have
..Net (1.0, 1.1, 2.0, and 3.0) installed, so I know that's not the issue. I
have double checked that the "_mnpsvc" folder in IIS7 is indeed set as an
Application.

Help?

-- Andrew
 
Ad

Advertisements

M

Mr. Arnold

Andrew Raastad said:
Trying to test out a web service I wrote on a fresh Windows Server 2008,
and I am unable to get the web service to function. On the server itself,
when I browse to the web service test page
(http://127.0.0.1/_mnpsvc/enumeration.asmx) I get only the following
coming back:

<%@ WebService Language="vb" CodeBehind="Enumeration.asmx.vb"
Class="NMSWebServices.Enumeration" %>

It's like the .asmx page is being treated as a simple text file. I am not
really familiar at all with Server2008, so is there some setting or such I
need to mess with to "turn on" web services under IIS7? The box does have
.Net (1.0, 1.1, 2.0, and 3.0) installed, so I know that's not the issue. I
have double checked that the "_mnpsvc" folder in IIS7 is indeed set as an
Application.

Help?

In IIS7 for a given Web site like Default does IIS7 even know about an
*.asmx file and what it is in the Handler Mappings?


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4524 (20091019) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
A

Andrew Raastad

I'm not really familiar with IIS7 (or Server2008) so I hope I did this
right...

I opened up the IIS7 Manager, clicked on the "Default Web Site" node, then
double clicked the "Handler Mappings" icon. In the list shown, there is
nothing on .asmx. In fact, there is nothing on .aspx, .asax, or ASP.Net,
that I can see.

The box has .Net 1.x through .Net 3 installed, but it seems like ASP.Net
isn't turned on. How do you do this?

-- Andrew
 
A

Andrew Raastad

Running this script will place into IIS all the ASP.Net stuff (*.aspx,
*.asmx, *.ashx, etc.) needed to run ASP.Net pages, web services, and such?
Do I need to run it for .Net 1, 2, and 3? or running it once will get
everything?

-- Andrew
 
M

Mr. Arnold

Andrew Raastad said:
Running this script will place into IIS all the ASP.Net stuff (*.aspx,
*.asmx, *.ashx, etc.) needed to run ASP.Net pages, web services, and such?

I suspect that's what you have to do, if you have not done so.
Do I need to run it for .Net 1, 2, and 3? or running it once will get
everything?


I would run it for the latest one, and you may want to get the 3.5
framework.



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4527 (20091020) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
Ad

Advertisements

A

Andrew Raastad

The box has everything up through .Net 3.5 SP1. I ran the
"aspnet_regiis -i" command yet this did not effect anything as far as
ASP.Net functionality. Still doesn't work, all the ASP.Net mappings (*.aspx,
*.asmx, etc.) are not in the IIS Manager.... I have no clue what the deal is
with this thing.

I sent an email to our Administrator asking him to look into it.... maybe
something during the setup of the server wasn't checked or done correctly, I
don't know.... I have no experience with Server2008.

-- Andrew
 
Ad

Advertisements


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

Top