473,468 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

[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 22186

"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...
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
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
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
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
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.