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

help host WCF in IIS

MR
I am trying to write my first WCF Service. I am using VS2008 beta 2 on a
Vista Business machine

I have written and installed my service on the local IIS. I have defined a
service.svc file
when i try to access the service thru my browser i get the following error
response:

HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the
Multipurpose Internet Mail Extensions (MIME) map policy that is configured
on the Web server. The page you requested has a file name extension that is
not recognized, and is not allowed.

Error Code: 0x80070032

Notification: ExecuteRequestHandler

Module: StaticFileModule

Requested URL:
http://localhost:80/MSOMEAnalysisSer...sisService.svc

Physical Path: D:\MSOMEAnalysisService\MSOMEAnalysisService.svc

Logon User: Anonymous

Logon Method: Anonymous

Handler: StaticFile
I figured because svc is not defined as a valid MIME extension. I added the
..svc extension as "application/octet-stream". now when i access the site i
the contents of the file are returned.

What do I need to do to get the service activated?

(I am using John Sharp's book WCF Step by Step as a tutorial. I think i
followed the example very closely but it doesn't mention the need to
configure the MIME)

thanks for your help
m

Nov 7 '07 #1
3 2886
I have exactly the same problem
Please help me :)
"MR" wrote:
I am trying to write my first WCF Service. I am using VS2008 beta 2 on a
Vista Business machine

I have written and installed my service on the local IIS. I have defined a
service.svc file
when i try to access the service thru my browser i get the following error
response:

HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the
Multipurpose Internet Mail Extensions (MIME) map policy that is configured
on the Web server. The page you requested has a file name extension that is
not recognized, and is not allowed.

Error Code: 0x80070032

Notification: ExecuteRequestHandler

Module: StaticFileModule

Requested URL:
http://localhost:80/MSOMEAnalysisSer...sisService.svc

Physical Path: D:\MSOMEAnalysisService\MSOMEAnalysisService.svc

Logon User: Anonymous

Logon Method: Anonymous

Handler: StaticFile
I figured because svc is not defined as a valid MIME extension. I added the
.svc extension as "application/octet-stream". now when i access the site i
the contents of the file are returned.

What do I need to do to get the service activated?

(I am using John Sharp's book WCF Step by Step as a tutorial. I think i
followed the example very closely but it doesn't mention the need to
configure the MIME)

thanks for your help
m
Nov 13 '07 #2
Ah darnit, wrong IIS version - you might want to disregard, sorry...
Nov 13 '07 #3
I've found the solution here
http://blogs.msdn.com/davidwaddleton...-3-errors.aspx

"Marc Gravell" wrote:
Ah darnit, wrong IIS version - you might want to disregard, sorry...
Nov 13 '07 #4

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

Similar topics

1
by: Erich Trowbridge | last post by:
Has anybody seen this tool? It is awesome. check out http://vw.vermeer.org/ . It's a php front end for large-scale syslog deployments. It makes managing syslog in large networks a snap. The idea...
0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
14
by: Stuart D. Gathman | last post by:
I have a function that recognizes PTR records for dynamic IPs. There is no hard and fast rule for this - every ISP does it differently, and may change their policy at any time, and use different...
1
by: Gregory.Spencer | last post by:
Hi there, Using PHPMyAdmin and it is very usefully reporting problems with my MySQL DB. "PRIMARY and INDEX keys should not both be set for column `column_name`" and
7
by: Timothy Shih | last post by:
Hi, I am trying to figure out how to use unmanaged code using P/Invoke. I wrote a simple function which takes in 2 buffers (one a byte buffer, one a char buffer) and copies the contents of the byte...
23
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application...
4
by: cpptutor2000 | last post by:
Could some C guru help me please? I am using the following program to open a SSH connection to a remote host and eventually run a program on that remote host. #include <stdio.h> #include...
0
by: Hari Sekhon | last post by:
I've written an xml parser using xml.sax which works most of the time but often traces back when trying to read a file. The output of the traceback is below: Traceback (most recent call last):...
0
by: summer1450 | last post by:
Hi, I want to revise the nmap.xsl so that it would display IP addresses if a host has at least one port is opened AND group each IP into a group based on a SSH server. Here is the output that I...
3
by: Pvt Ryan | last post by:
Background: Due to the large number of bots attempting to ssh to my server, I implemented portknocking (as the logs were just filled with crap). So to access port 2222 for ssh I would first...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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...

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.