473,386 Members | 1,734 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.

[IIS 7.0]Handler for asmx page ?

Hi there,

When I try to access a Web service running on my default Web site, on Vista
and IIS 7.0, I get an error message : "the MIME type is not recognized". So
I guess that the asmx handler is not configured ???

Regards
Jun 18 '07 #1
7 11150

"Oriane" <or****@guermantes.frwrote in message
news:58**********************************@microsof t.com...
Hi there,

When I try to access a Web service running on my default Web site, on
Vista and IIS 7.0, I get an error message : "the MIME type is not
recognized". So I guess that the asmx handler is not configured ???
Well, go check the MIME types on the Web server and see if .asmx is in
there.

Jun 18 '07 #2
The .asmx extension is automatically recognized by the ASP.NET runtime. So I
think what you really need to check is whether ASP.NET is "enabled". In IIS
7.0, nothing is enabled by default - you have to "turn it on".
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Oriane" wrote:
Hi there,

When I try to access a Web service running on my default Web site, on Vista
and IIS 7.0, I get an error message : "the MIME type is not recognized". So
I guess that the asmx handler is not configured ???

Regards

Jun 18 '07 #3
On Jun 18, 11:10 am, "Oriane" <ori...@guermantes.frwrote:
Hi there,

When I try to access a Web service running on my default Web site, on Vista
and IIS 7.0, I get an error message : "the MIME type is not recognized". So
I guess that the asmx handler is not configured ???

Regards
There is a chance that ASP.NET is not registered properly with IIS.
This has happened to me and I had to run asp_regiis.exe to re-register
it.

1. Open a command prompt and go to the Microsoft.Net Framework version
directory,
e.g. cd C:\Winnt\Microsoft.net\Framework\v2.0.50727\

2 Run the asp_regiis.exe program with -i
e.g. asp_regiis -i

Not sure if you have to restart IIS or not

Another test is to create a simple aspx web page and see if you can
access it. Possibly it will give you a better error message than a
web service method does.

Ron

Jun 18 '07 #4
Hi Peter,
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.coma écrit dans
le message de news: 7A**********************************@microsoft.com...
The .asmx extension is automatically recognized by the ASP.NET runtime. So
I
think what you really need to check is whether ASP.NET is "enabled". In
IIS
7.0, nothing is enabled by default - you have to "turn it on".
So how do I do that ?

Regards
Jun 18 '07 #5

"Oriane" <or****@guermantes.frwrote in message
news:ew**************@TK2MSFTNGP06.phx.gbl...
Hi Peter,
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.coma écrit dans
le message de news: 7A**********************************@microsoft.com...
>The .asmx extension is automatically recognized by the ASP.NET runtime.
So I
think what you really need to check is whether ASP.NET is "enabled". In
IIS
7.0, nothing is enabled by default - you have to "turn it on".
So how do I do that ?
Your friend is Google.
http://intersoftpt.wordpress.com/200...-in-vista-rtm/

Jun 19 '07 #6
Hi Ron,
<ro*************@yahoo.coma écrit dans le message de
news:11**********************@q69g2000hsb.googlegr oups.com...
On Jun 18, 11:10 am, "Oriane" <ori...@guermantes.frwrote:
>Hi there,

When I try to access a Web service running on my default Web site, on
Vista
and IIS 7.0, I get an error message : "the MIME type is not recognized".
So
I guess that the asmx handler is not configured ???

Regards

There is a chance that ASP.NET is not registered properly with IIS.
This has happened to me and I had to run asp_regiis.exe to re-register
it.
It would be a shame as Asp.Net is preinstalled on Vista !!!

Oriane

Jun 19 '07 #7
Hi Mr Arnold,

"Mr. Arnold" <MR. Ar****@Arnold.coma écrit dans le message de
news:Ow**************@TK2MSFTNGP05.phx.gbl...
>
"Oriane" <or****@guermantes.frwrote in message
news:ew**************@TK2MSFTNGP06.phx.gbl...
>Hi Peter,
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.coma écrit
dans le message de news:
7A**********************************@microsoft.com...
>>The .asmx extension is automatically recognized by the ASP.NET runtime.
So I
think what you really need to check is whether ASP.NET is "enabled". In
IIS
7.0, nothing is enabled by default - you have to "turn it on".
So how do I do that ?

Your friend is Google.
http://intersoftpt.wordpress.com/200...-in-vista-rtm/
I don't understand why "IIS 7.0 help" is not my friend.
Thanks for the link, it works now :-))

Oriane

Jun 19 '07 #8

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

Similar topics

15
by: JJ | last post by:
A current requirement I am facing is the all business objects be stateless remote components hosted in IIS. I am partial to web services myself. However, it is insisted that IIS hosted remoting be...
1
by: Erik Lindeblom | last post by:
I am having trouble getting ANY asp.net application (either .aspx or .asmx) working when IIS is configured to use a "share located on another computer" via a UNC reference. Any .aspx or .asmx...
0
by: jeff | last post by:
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)...
1
by: Nalaka | last post by:
Hi, I have a asp 2.0 web app with some "webservices" (.asmx). I can access these if I log into the same machine as IIS. But from a different machine, I get a 404 "The page cannot be found". I...
18
by: =?Utf-8?B?Tm9ybUQ=?= | last post by:
I have created a three tier application consisting of Client (Exe and Exe.Config), Middle (WebServices) and Database tiers. The Client tier contains an Exe, an Exe.Config and a dynamic Web...
7
by: Oriane | last post by:
Hi there, When I try to access a Web service running on my default Web site, on Vista and IIS 7.0, I get an error message : "the MIME type is not recognized". So I guess that the asmx handler is...
3
by: Brent White | last post by:
I am trying to publish a web service project that works on my local machine just fine. I can access it by going to: http://localhost/service1.asmx and get the properties page. I then...
11
by: cj | last post by:
Perhaps someone knows how to do this. When I open a new ASP.NET web service application in VS 2008, it opens with a simple Hello World web service already written. I want to see this work. ...
4
by: Miha V | last post by:
Hi! We are using ASMX web service with WSE (we're using WS-Addressing) and IIS returns HTTP status code 200 even if XML is malformed (it can contain illegal characters in it). The request...
2
by: =?Utf-8?B?YW5vbg==?= | last post by:
I am not sure if this is the right forum. Environment : Windows server 2008, IIS 7.0 I get the 'Could not load the file or assembly 'blowery.web.httpCompress' or one of its dependencies. The...
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.