473,513 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web service doesn't run

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

Nov 17 '05 #1
6 3519
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/

"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:eZ**************@TK2MSFTNGP10.phx.gbl...
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

Nov 17 '05 #2
"Sahil Malik" <co*****************@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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

Nov 17 '05 #3
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl...
"Sahil Malik" <co*****************@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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.

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

Nov 17 '05 #4
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:uS*************@tk2msftngp13.phx.gbl...

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

Nov 17 '05 #5
Ok good - sorry I didn't get a chance to visit the newsgroup sooner. But I'm
glad it's fixed.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/

"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:uS*************@tk2msftngp13.phx.gbl...

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

Nov 17 '05 #6
I mean I have completely removed IIS, that was the fix. :-)


Regards,

Ioannis Vranos

"Sahil Malik" <co*****************@nospam.com> wrote in message
news:eo**************@tk2msftngp13.phx.gbl...

Ok good - sorry I didn't get a chance to visit the newsgroup sooner. But I'm glad it's fixed.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/

"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:uS*************@tk2msftngp13.phx.gbl...

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



Nov 17 '05 #7

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

Similar topics

7
4645
by: Robert May | last post by:
I have an application that uses the Ax web browser object. When I call the IHTMLElement.click() method on an input button (<input type="submit"> or <input type="button">), the click fires...
9
7232
by: SP | last post by:
Hi All, I wrote a windows service which is supposed to stop after specified amount of time. I am calling OnStop() after specified time. OnStop() methods executed but I dont see the service...
23
7541
by: Adam Clauss | last post by:
I have a C# Windows Service running as the NetworkService account because it needs to access a network share. As part of the service's initialization, I want the service to terminate, if an...
6
2798
by: Tim Werth | last post by:
I posted this to microsoft.public.dotnet.general then I saw posts about services on this newsgroup. So, sorry for the independent cross-posting. This might not be the best place to post this,...
4
3103
by: SimpTheChimp | last post by:
I am going to write (my first) Windows Service. What I want is this service to run automatically when the computer/server is booted.... But also, to display an icon in the system tray whenever any...
6
8683
by: Joe | last post by:
C# .NET 2.0 I've got a Windows Service that works exactly as I expect it to. However, it does rely on a few Configuration settings. If the customer doesn't configure it correctly, the service...
3
3060
by: JM | last post by:
Hi, I have created a Solution in VS 2005 with 2 simple projects. First project is simple Windows Service which writes an entry into event log when it starts and when it stops. Nothing else. I...
33
11809
by: JamesB | last post by:
I am writing a service that monitors when a particular app is started. Works, but I need to get the user who is currently logged in, and of course Environment.UserName returns the service logon...
7
3195
by: Ashish Khandelwal | last post by:
I have a Windows Service in C# talking to a serial port and using Remoting. It also uses several COM objects. On server the service will occassionally hang somewhere - the service still shows on a...
9
2312
by: dm3281 | last post by:
Hello -- I plan on writing a C# service using VS2005. If I want my service to have a tray icon, is this typically done from within my service or do/should I create a controller application and...
0
7257
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,...
1
7098
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...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.