Web service doesn't run

  • Thread starter Thread starter Ioannis Vranos
  • Start date Start date
I

Ioannis Vranos

When i open the .asmx file with IE the IIS server doesn't run the web
service but instead i am prompted by the web browser to open the .asmx file
(that is it is getting downloaded). The same happens with the default Hello
World web service. I am using VS 2003 and Windows XP SP1 (with its IIS
server).


Any ideas?






Regards,

Ioannis Vranos
 
Maybe the MIME type for asmx on your server is messed up.

To fix it, right click on IIS Admin MMC->Properties->HTTP headers -> File
Types.

It's definitely a computer configuration issue though.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/
 
Sahil Malik said:
Maybe the MIME type for asmx on your server is messed up.

To fix it, right click on IIS Admin MMC->Properties->HTTP headers -> File
Types.

It's definitely a computer configuration issue though.


Where is that? The closest thing i spotted in Administrative tools is
"Internet Information Services" but i did not find any Properties there when
i made right-clicks.






Regards,

Ioannis Vranos
 
Ioannis Vranos said:
Where is that? The closest thing i spotted in Administrative tools is
"Internet Information Services" but i did not find any Properties there when
i made right-clicks.


Ok i found it and the "File Types" in the "MIME Map" section is empty. What
is the appropriate configuration for .asmx?






Regards,

Ioannis Vranos
 
Ioannis Vranos said:
Ok i found it and the "File Types" in the "MIME Map" section is empty. What
is the appropriate configuration for .asmx?


After that I uninstalled and reinstalled IIS and .net framework 1.1 and this
time I was getting an HTTP 500 error even for the default page. Then I
uninstalled IIS. Now everything is fixed. :-)






Regards,

Ioannis Vranos
 
I mean I have completely removed IIS, that was the fix. :-)






Regards,

Ioannis Vranos
 
You actually need to type in aspnet_regiis -i. Make sure you're there in
your framework installation folder(or it should be there in your path). This
is typically C:\Windows\Microsoft.NET\Framework\v1.xxxx\

--
Sriram Krishnan
Microsoft Student Ambassador
http://www.,dotnetjunkies.com/weblog/sriram
Brian Korzeniowski said:
Hi,
Sounds to me like an issue of your IIS mappings are messed up. IIS
appears not to recognize the file extension .asmx. To fix this:
1. Click the Start button
2. Click Run
3. Type the following command: cmd
4. Press Enter
5. Use the following command: aspnet_regiis.exe. If you are unfamiliar
with this, search on it using google. You will find a page directing you to
Microsoft Product Support Services.
 

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

Back
Top