473,408 Members | 1,875 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,408 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 22180

"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

0
by: Jim | last post by:
When I open up the IIS documentation page at http://localhost/iisHelp/iis/misc/default.asp, the left half of the page (black background) has a red "X" in the area under the "contents/index/search"...
5
by: Prabhat Nath | last post by:
Hi All, Is that possible that I can send request to IIS Server after a .ASP page is displayed? My Requirement is: Clinet will Fill the Details in one Request Form after the details are...
7
by: aDc | last post by:
Hello, I am getting some strange behavior with my ASP.NET application. Anytime I make a request to a page in the application the page_load for that page is fired as expected BUT then the...
1
by: Greg Hurlman | last post by:
Is it possible to redirect to an IIS 401 or 403 error page by setting the Response.StatusCode in an HttpModule? Right now, my code look like: e.Context.Response.StatusCode = 401;...
5
by: Neil Zanella | last post by:
Hello, I am using ASP.NET with IIS. I have set up a virtual directory called foo so that when I point my web browser to http://localhost/foo/index.aspx I can view the output of my ASP.NET web...
1
by: Jessica Weiner | last post by:
I just installed IIS on my windows xp pro machine and when I try to access a website on the local IIS server, I get the following error message: "You are not authorized to view this page" I have...
1
by: moondaddy | last post by:
I have just setup a new machine and installed VS2003 and 2005. I'm now wanting to debug a vb.net 1.1 project in VS2003. Its a windows app that uses web services and is calling a web service...
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...
2
sujithkrishnan
by: sujithkrishnan | last post by:
hi all... please help me in resolving this error.. i created a web service and i am not able to consume it in my app. When i browse that page am gettin an ERRO as follows.. Exception...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.