473,386 Members | 1,812 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,386 software developers and data experts.

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 3514
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
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
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
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
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
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
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
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
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
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
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
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.