my web service works locally but, not when it is deployed

Posted by rogdawg on Stack Overflow See other posts from Stack Overflow or by rogdawg
Published on 2010-05-28T14:20:49Z Indexed on 2010/05/28 14:21 UTC
Read the original article Hit count: 165

Filed under:
|
|
|

When I deploy my web service, I get the following error:

There is no build provider registered for the extension '.svc'. You can register one in the section in machine.config or web.config. Make sure is has a BuildProviderAppliesToAttribute attribute which includes the value 'Web' or 'All'.

I found one thread (http://forums.asp.net/t/1228638.aspx) that suggested a solution but, I can not get it to work. If I make the changes to my web config file as suggested in the thread, I then get a configuration error. One odd thing is that, if I check the machine.config file on my machine, located at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config, I don't see any of the config settings described in the thread. As a matter of fact, there is no mention of "compilation" or "buildProviders" at all.

The on-line documents I have found regarding BuildProviderAppliesToAttribute have not been of any help.

Thanks in advance for any advice you can give.

Here is my entire config file listing:

<?xml version="1.0"?>  





























































































© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web