473,804 Members | 3,396 Online
Bytes | Software Development & Data Engineering Community
+ 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 22247

"Oriane" <or****@guerman tes.frwrote in message
news:58******** *************** ***********@mic rosoft.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...@guerman tes.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\Micros oft.net\Framewo rk\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*******@yaho o.yabbadabbadoo .coma écrit dans
le message de news: 7A************* *************** **...icrosof t.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****@guerman tes.frwrote in message
news:ew******** ******@TK2MSFTN GP06.phx.gbl...
Hi Peter,
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .coma écrit dans
le message de news: 7A************* *************** **...icrosof t.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.goo glegroups.com.. .
On Jun 18, 11:10 am, "Oriane" <ori...@guerman tes.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.c oma écrit dans le message de
news:Ow******** ******@TK2MSFTN GP05.phx.gbl...
>
"Oriane" <or****@guerman tes.frwrote in message
news:ew******** ******@TK2MSFTN GP06.phx.gbl...
>Hi Peter,
"Peter Bromberg [C# MVP]" <pb*******@yaho o.yabbadabbadoo .coma écrit
dans le message de news:
7A************* *************** **...icrosof t.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
2938
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" tabs. I have one asp application on the web server, and when I go to the page, the output also has a red "x". I'm presuming that there is a problem with asp as installed but I don't have a clue where to start with this. Suggestions are MORE...
5
1772
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 filled then the Request Files will be shown to the user as Link in Another page. (Currently before Sending the Link Page to Customer I am updating DB
7
1795
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 page_load for the default document configured in IIS (5.0) (in my case Default.aspx) fires also. This happens on every request. If I remove the default document in IIS or rename the page in the application the default documents page_load event does...
1
6286
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; e.Context.Response.End(); This passes back the proper headers, but fails to produce an error page on the client side. Is it to late for IIS to respond with an error page, or do we have to hook it up ourselves?
5
1060
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 page index.aspx. What I would like to do is the following: 1. point my web browser to http://localhost/foo/ 2. have IIS automatically serve http://localhost/foo/index.aspx
1
1991
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 enabled "Anonymous access" inside Directory Security option of IIS and I also granted full NTFS permissions to all users so that the IIS root directory is readily accessible. However, I am still not able to access any website that resides on the...
1
2028
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 project which is part of the same solution on the same machine. all seems to be running fine and debugging OK until I need to step into the web service which is just bypasses. I don't remember if IIS or VS needs additional setup or configuration to...
7
11168
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 not configured ??? Regards
2
1447
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 Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase. The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions,...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10564
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10320
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9134
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7609
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6846
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5645
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4288
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 we have to send another system
3
2981
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.