WCF Service, the type provided as the service attribute values…could not be found
When I right click on Eval.svc
within Visual Studio 2012 and view in browser, I get the following -
The type 'EvalServiceLibary.Eval', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
When I run the WCF service from the test client, all works fine.
Eval service:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
public class EvalService : IEvalService
Dictionary<string, JobPhaseTimer> jobTimers = new Dictionary<string, JobPhaseTimer>();
public void SubmitEntry(ENBO.Jobs.Job job, ENBO.Jobs.JobDetail jobDetail, ENBO.TimeLogs.TimeLog timeLog, ENBO.Users.User user, ENBO.Utilities.EntryType entryType, JobPhase jobPhase)
if (entryType == EntryType.Active)
JobPhaseTimer timer = new JobPhaseTimer();
timer.UID = job.ID + "_" + jobPhase.ID;
timer.JobID = job.ID;
timer.JobDetailID = jobDetail.ID;
timer.PhaseID = jobPhase.ID;
timer.StartTime = DateTime.Now;
timer.Stopwatch.Start();
jobTimers.Add(timer.UID, timer);
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Active;
if (log.AddNewTimeLog())
//Do something
else if (entryType == EntryType.Paused)
JobPhaseTimer timer = jobTimers[job.ID + "_" + jobPhase.ID];
timer.Stopwatch.Stop();
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Paused;
if (log.AddNewTimeLog())
//Do something
IEvalService.cs
(Service Contract)
[ServiceContract]
public interface IEvalService
[OperationContract]
void SubmitEntry(Job job, JobDetail jobDetail, TimeLog timeLog, User user, EntryType entryType, JobPhase jobPhase);
Eval.svc
markup :
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
Web.config
:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5"/>
</system.web>
<system.serviceModel>
<services>
<service name="EvalServiceLibary.EvalService">
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding"
contract="EvalServiceLibary.IEvalService" />
<endpoint address="" binding="basicHttpBinding" bindingConfiguration=""
contract="EvalServiceLibary.IEvalService" />
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="EvalServiceSite.EvalAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<directoryBrowse enabled="true"/>
</system.webServer>
</configuration>
Any ideas why I am getting this error? I have searched Google and come across a few pages but nothing seems to work.
Thanks!
c# wcf wcf-binding
add a comment |
When I right click on Eval.svc
within Visual Studio 2012 and view in browser, I get the following -
The type 'EvalServiceLibary.Eval', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
When I run the WCF service from the test client, all works fine.
Eval service:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
public class EvalService : IEvalService
Dictionary<string, JobPhaseTimer> jobTimers = new Dictionary<string, JobPhaseTimer>();
public void SubmitEntry(ENBO.Jobs.Job job, ENBO.Jobs.JobDetail jobDetail, ENBO.TimeLogs.TimeLog timeLog, ENBO.Users.User user, ENBO.Utilities.EntryType entryType, JobPhase jobPhase)
if (entryType == EntryType.Active)
JobPhaseTimer timer = new JobPhaseTimer();
timer.UID = job.ID + "_" + jobPhase.ID;
timer.JobID = job.ID;
timer.JobDetailID = jobDetail.ID;
timer.PhaseID = jobPhase.ID;
timer.StartTime = DateTime.Now;
timer.Stopwatch.Start();
jobTimers.Add(timer.UID, timer);
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Active;
if (log.AddNewTimeLog())
//Do something
else if (entryType == EntryType.Paused)
JobPhaseTimer timer = jobTimers[job.ID + "_" + jobPhase.ID];
timer.Stopwatch.Stop();
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Paused;
if (log.AddNewTimeLog())
//Do something
IEvalService.cs
(Service Contract)
[ServiceContract]
public interface IEvalService
[OperationContract]
void SubmitEntry(Job job, JobDetail jobDetail, TimeLog timeLog, User user, EntryType entryType, JobPhase jobPhase);
Eval.svc
markup :
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
Web.config
:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5"/>
</system.web>
<system.serviceModel>
<services>
<service name="EvalServiceLibary.EvalService">
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding"
contract="EvalServiceLibary.IEvalService" />
<endpoint address="" binding="basicHttpBinding" bindingConfiguration=""
contract="EvalServiceLibary.IEvalService" />
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="EvalServiceSite.EvalAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<directoryBrowse enabled="true"/>
</system.webServer>
</configuration>
Any ideas why I am getting this error? I have searched Google and come across a few pages but nothing seems to work.
Thanks!
c# wcf wcf-binding
is it a web project? What is the web.config like?
– Aliostad
Jul 11 '13 at 11:23
Yes, a web project. I have added the web.config to the question. Cheers
– dynamicuser
Jul 11 '13 at 11:30
add a comment |
When I right click on Eval.svc
within Visual Studio 2012 and view in browser, I get the following -
The type 'EvalServiceLibary.Eval', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
When I run the WCF service from the test client, all works fine.
Eval service:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
public class EvalService : IEvalService
Dictionary<string, JobPhaseTimer> jobTimers = new Dictionary<string, JobPhaseTimer>();
public void SubmitEntry(ENBO.Jobs.Job job, ENBO.Jobs.JobDetail jobDetail, ENBO.TimeLogs.TimeLog timeLog, ENBO.Users.User user, ENBO.Utilities.EntryType entryType, JobPhase jobPhase)
if (entryType == EntryType.Active)
JobPhaseTimer timer = new JobPhaseTimer();
timer.UID = job.ID + "_" + jobPhase.ID;
timer.JobID = job.ID;
timer.JobDetailID = jobDetail.ID;
timer.PhaseID = jobPhase.ID;
timer.StartTime = DateTime.Now;
timer.Stopwatch.Start();
jobTimers.Add(timer.UID, timer);
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Active;
if (log.AddNewTimeLog())
//Do something
else if (entryType == EntryType.Paused)
JobPhaseTimer timer = jobTimers[job.ID + "_" + jobPhase.ID];
timer.Stopwatch.Stop();
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Paused;
if (log.AddNewTimeLog())
//Do something
IEvalService.cs
(Service Contract)
[ServiceContract]
public interface IEvalService
[OperationContract]
void SubmitEntry(Job job, JobDetail jobDetail, TimeLog timeLog, User user, EntryType entryType, JobPhase jobPhase);
Eval.svc
markup :
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
Web.config
:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5"/>
</system.web>
<system.serviceModel>
<services>
<service name="EvalServiceLibary.EvalService">
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding"
contract="EvalServiceLibary.IEvalService" />
<endpoint address="" binding="basicHttpBinding" bindingConfiguration=""
contract="EvalServiceLibary.IEvalService" />
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="EvalServiceSite.EvalAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<directoryBrowse enabled="true"/>
</system.webServer>
</configuration>
Any ideas why I am getting this error? I have searched Google and come across a few pages but nothing seems to work.
Thanks!
c# wcf wcf-binding
When I right click on Eval.svc
within Visual Studio 2012 and view in browser, I get the following -
The type 'EvalServiceLibary.Eval', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.
When I run the WCF service from the test client, all works fine.
Eval service:
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
public class EvalService : IEvalService
Dictionary<string, JobPhaseTimer> jobTimers = new Dictionary<string, JobPhaseTimer>();
public void SubmitEntry(ENBO.Jobs.Job job, ENBO.Jobs.JobDetail jobDetail, ENBO.TimeLogs.TimeLog timeLog, ENBO.Users.User user, ENBO.Utilities.EntryType entryType, JobPhase jobPhase)
if (entryType == EntryType.Active)
JobPhaseTimer timer = new JobPhaseTimer();
timer.UID = job.ID + "_" + jobPhase.ID;
timer.JobID = job.ID;
timer.JobDetailID = jobDetail.ID;
timer.PhaseID = jobPhase.ID;
timer.StartTime = DateTime.Now;
timer.Stopwatch.Start();
jobTimers.Add(timer.UID, timer);
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Active;
if (log.AddNewTimeLog())
//Do something
else if (entryType == EntryType.Paused)
JobPhaseTimer timer = jobTimers[job.ID + "_" + jobPhase.ID];
timer.Stopwatch.Stop();
TimeLog log = new TimeLog();
log.JobID = job.ID;
log.PhaseID = jobPhase.ID;
log.UserID = user.ID;
log.DateEntry = DateTime.Now;
log.EntryType = EntryType.Paused;
if (log.AddNewTimeLog())
//Do something
IEvalService.cs
(Service Contract)
[ServiceContract]
public interface IEvalService
[OperationContract]
void SubmitEntry(Job job, JobDetail jobDetail, TimeLog timeLog, User user, EntryType entryType, JobPhase jobPhase);
Eval.svc
markup :
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
Web.config
:
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
</appSettings>
<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5"/>
</system.web>
<system.serviceModel>
<services>
<service name="EvalServiceLibary.EvalService">
<endpoint address="" behaviorConfiguration="" binding="webHttpBinding"
contract="EvalServiceLibary.IEvalService" />
<endpoint address="" binding="basicHttpBinding" bindingConfiguration=""
contract="EvalServiceLibary.IEvalService" />
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="EvalServiceSite.EvalAspNetAjaxBehavior">
<enableWebScript />
</behavior>
</endpointBehaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true"
multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
<directoryBrowse enabled="true"/>
</system.webServer>
</configuration>
Any ideas why I am getting this error? I have searched Google and come across a few pages but nothing seems to work.
Thanks!
c# wcf wcf-binding
c# wcf wcf-binding
edited Jul 11 '13 at 12:09
marc_s
576k12911111258
576k12911111258
asked Jul 11 '13 at 11:18
dynamicuserdynamicuser
65231643
65231643
is it a web project? What is the web.config like?
– Aliostad
Jul 11 '13 at 11:23
Yes, a web project. I have added the web.config to the question. Cheers
– dynamicuser
Jul 11 '13 at 11:30
add a comment |
is it a web project? What is the web.config like?
– Aliostad
Jul 11 '13 at 11:23
Yes, a web project. I have added the web.config to the question. Cheers
– dynamicuser
Jul 11 '13 at 11:30
is it a web project? What is the web.config like?
– Aliostad
Jul 11 '13 at 11:23
is it a web project? What is the web.config like?
– Aliostad
Jul 11 '13 at 11:23
Yes, a web project. I have added the web.config to the question. Cheers
– dynamicuser
Jul 11 '13 at 11:30
Yes, a web project. I have added the web.config to the question. Cheers
– dynamicuser
Jul 11 '13 at 11:30
add a comment |
14 Answers
14
active
oldest
votes
Change the following line in your Eval.svc
file from:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
to:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.EvalService" %>
1
This should be on my 'Strange WCF Service Errors List' or something.
– Gerben Limburg
Jan 13 '15 at 21:09
7
Worked! Just to add, if you can't find the specified markup - right click on the .svc file in Solution Explorer and click "View Markup". Otherwise, if you open it, it opens the code file.
– Arman Bimatov
May 17 '15 at 7:35
1
OMG! I looked everywhere for this after I changed the name of the service in a tutorial from service1 to something else. A freakin' right-click on the .svc file saved me hours of hair pulling!!!
– MC9000
Jun 13 '15 at 7:01
1
I'm happy that it worked for you guys. Cheers - Ali Rahimy
– user3578181
Feb 29 '16 at 22:59
1
This happened to me when I changed thenamespace
under my project after the .svc was already created. It updated everywhere except in the markup.
– Bensonius
Aug 23 '17 at 23:15
|
show 1 more comment
Ensure that binary files are under "bin" subdirectory of your ".svc" file
1
Moving .dll(s) into bin folder did the trick for me.
– Ojas Maru
Aug 26 '15 at 18:00
Worked for me too, thanks!
– karfus
Sep 11 '15 at 1:52
1
great. that was it! i forgot that i cleaned my solution. just had to build. such a vague error
– symbiont
Aug 28 '16 at 11:08
1
My output path was set to "binDebug". I changed it to "bin" and got past the error.
– kevinpo
Aug 7 '17 at 19:25
add a comment |
Faced this exact issue. The problem resolved when i changed the Service="Namespace.ServiceName" tag in the Markup (right click xxxx.svc and select View Markup in visual studio) to match the namespace i used for my xxxx.svc.cs file
This was my exact issue. Namespace qualifiers are case sensitive.
– miniscem
May 31 '16 at 23:59
add a comment |
Turns out that the Eval.svc.cs needed its namespace changed to EvalServiceLibary, rather than EvalServiceSite.
add a comment |
I just hit this issue myself, and neither this nor any of the other answers on the net solved my issue. For me it was a strange one whereby the virtual directory had been created on a different branch in another source control server (basically, we upgraded from TFS 2010 to 2013) and the solution somehow remembered it's mapping.
Anyway, I clicked the "Create Virtual Directory" button again, in the Properties of the Service project. It gave me a message about being mapped to a different folder and would I like to update it. I clicked yes, and that fixed the issue.
This worked in my situation.
– SixOThree
Nov 20 '15 at 16:32
add a comment |
When you create an IIS application only the
/bin
or/App_Code
folder is in the root directory of the IIS app. So just remember put all the code in the root/bin
or/App_code
directory (see http://blogs.msdn.com/b/chrsmith/archive/2006/08/10/wcf-service-nesting-in-iis.aspx).Make sure that the service name and the contract contain full name(e.g
namespace.ClassName
), and the service name and interface is the same as the name attribute of the service tag and contract of endpoint in web.config.
second point helped me, service name includes namespace name but not class name so completed service name by Namespace.ClassName
– Prakash Joshi
Feb 15 '16 at 11:41
add a comment |
I changed the output path of the service. it should be inside bin
folder of the service project. Once I put the output path back to bin
, it worked.
add a comment |
Right click on the .svc file in Solution Explorer and click View Markup
<%@ ServiceHost Language="C#" Debug="true"
Service="MyService.**GetHistoryInfo**"
CodeBehind="GetHistoryInfo.svc.cs" %>
Update the service reference where you are referring to.
add a comment |
I had the same problem. Make sure you include assembly name in Factory
property in your .svc
file. Maybe you need to clean IIS cache if you had renamed project assembly name.
add a comment |
Double check projects .net versions. Projects that referenced each other with different .net versions causes problems.
add a comment |
In my case I did a "Convert to application" to the wrong folder on iis.
My application was set in a subfolder of where it should have been.
add a comment |
I had this error when I had the current build configuration in Visual Studio set to something other than Debug.
add a comment |
I also had same problem. Purposely my build output path was "..bin" and it works for me when I set the build output path as "bin".
add a comment |
This is an old bug, but I encountered it today on a web service which had barely been altered since being created via "New Project.."
For me, this issue was caused by the "IService.cs
" file containing the following:
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1.svc" CodeBehind="Service1.svc.cs" %>
Notice the value in the Service
attribute contains ".svc
" at the end.
This shouldn't be there.
Removing those 4 characters resolved this issue.
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1" CodeBehind="Service1.svc.cs" %>
Note that you need to open this file from outside of Visual Studio.
Visual Studio shows one file, Service1.cs
in the Solution Explorer, but that only lets you alter Service1.svc.cs
, not the Service1.svc
file.
1
VS allows you to edit this file by right clicking and "View Markup".
– Michael O'Neill
Dec 24 '16 at 16:04
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f17591972%2fwcf-service-the-type-provided-as-the-service-attribute-values-could-not-be-foun%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
14 Answers
14
active
oldest
votes
14 Answers
14
active
oldest
votes
active
oldest
votes
active
oldest
votes
Change the following line in your Eval.svc
file from:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
to:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.EvalService" %>
1
This should be on my 'Strange WCF Service Errors List' or something.
– Gerben Limburg
Jan 13 '15 at 21:09
7
Worked! Just to add, if you can't find the specified markup - right click on the .svc file in Solution Explorer and click "View Markup". Otherwise, if you open it, it opens the code file.
– Arman Bimatov
May 17 '15 at 7:35
1
OMG! I looked everywhere for this after I changed the name of the service in a tutorial from service1 to something else. A freakin' right-click on the .svc file saved me hours of hair pulling!!!
– MC9000
Jun 13 '15 at 7:01
1
I'm happy that it worked for you guys. Cheers - Ali Rahimy
– user3578181
Feb 29 '16 at 22:59
1
This happened to me when I changed thenamespace
under my project after the .svc was already created. It updated everywhere except in the markup.
– Bensonius
Aug 23 '17 at 23:15
|
show 1 more comment
Change the following line in your Eval.svc
file from:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
to:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.EvalService" %>
1
This should be on my 'Strange WCF Service Errors List' or something.
– Gerben Limburg
Jan 13 '15 at 21:09
7
Worked! Just to add, if you can't find the specified markup - right click on the .svc file in Solution Explorer and click "View Markup". Otherwise, if you open it, it opens the code file.
– Arman Bimatov
May 17 '15 at 7:35
1
OMG! I looked everywhere for this after I changed the name of the service in a tutorial from service1 to something else. A freakin' right-click on the .svc file saved me hours of hair pulling!!!
– MC9000
Jun 13 '15 at 7:01
1
I'm happy that it worked for you guys. Cheers - Ali Rahimy
– user3578181
Feb 29 '16 at 22:59
1
This happened to me when I changed thenamespace
under my project after the .svc was already created. It updated everywhere except in the markup.
– Bensonius
Aug 23 '17 at 23:15
|
show 1 more comment
Change the following line in your Eval.svc
file from:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
to:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.EvalService" %>
Change the following line in your Eval.svc
file from:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.Eval" %>
to:
<%@ ServiceHost Language="C#" Debug="true" Service="EvalServiceLibary.EvalService" %>
edited May 12 '14 at 10:11
songyuanyao
91.2k11173237
91.2k11173237
answered May 12 '14 at 9:42
user3578181user3578181
1,3551010
1,3551010
1
This should be on my 'Strange WCF Service Errors List' or something.
– Gerben Limburg
Jan 13 '15 at 21:09
7
Worked! Just to add, if you can't find the specified markup - right click on the .svc file in Solution Explorer and click "View Markup". Otherwise, if you open it, it opens the code file.
– Arman Bimatov
May 17 '15 at 7:35
1
OMG! I looked everywhere for this after I changed the name of the service in a tutorial from service1 to something else. A freakin' right-click on the .svc file saved me hours of hair pulling!!!
– MC9000
Jun 13 '15 at 7:01
1
I'm happy that it worked for you guys. Cheers - Ali Rahimy
– user3578181
Feb 29 '16 at 22:59
1
This happened to me when I changed thenamespace
under my project after the .svc was already created. It updated everywhere except in the markup.
– Bensonius
Aug 23 '17 at 23:15
|
show 1 more comment
1
This should be on my 'Strange WCF Service Errors List' or something.
– Gerben Limburg
Jan 13 '15 at 21:09
7
Worked! Just to add, if you can't find the specified markup - right click on the .svc file in Solution Explorer and click "View Markup". Otherwise, if you open it, it opens the code file.
– Arman Bimatov
May 17 '15 at 7:35
1
OMG! I looked everywhere for this after I changed the name of the service in a tutorial from service1 to something else. A freakin' right-click on the .svc file saved me hours of hair pulling!!!
– MC9000
Jun 13 '15 at 7:01
1
I'm happy that it worked for you guys. Cheers - Ali Rahimy
– user3578181
Feb 29 '16 at 22:59
1
This happened to me when I changed thenamespace
under my project after the .svc was already created. It updated everywhere except in the markup.
– Bensonius
Aug 23 '17 at 23:15
1
1
This should be on my 'Strange WCF Service Errors List' or something.
– Gerben Limburg
Jan 13 '15 at 21:09
This should be on my 'Strange WCF Service Errors List' or something.
– Gerben Limburg
Jan 13 '15 at 21:09
7
7
Worked! Just to add, if you can't find the specified markup - right click on the .svc file in Solution Explorer and click "View Markup". Otherwise, if you open it, it opens the code file.
– Arman Bimatov
May 17 '15 at 7:35
Worked! Just to add, if you can't find the specified markup - right click on the .svc file in Solution Explorer and click "View Markup". Otherwise, if you open it, it opens the code file.
– Arman Bimatov
May 17 '15 at 7:35
1
1
OMG! I looked everywhere for this after I changed the name of the service in a tutorial from service1 to something else. A freakin' right-click on the .svc file saved me hours of hair pulling!!!
– MC9000
Jun 13 '15 at 7:01
OMG! I looked everywhere for this after I changed the name of the service in a tutorial from service1 to something else. A freakin' right-click on the .svc file saved me hours of hair pulling!!!
– MC9000
Jun 13 '15 at 7:01
1
1
I'm happy that it worked for you guys. Cheers - Ali Rahimy
– user3578181
Feb 29 '16 at 22:59
I'm happy that it worked for you guys. Cheers - Ali Rahimy
– user3578181
Feb 29 '16 at 22:59
1
1
This happened to me when I changed the
namespace
under my project after the .svc was already created. It updated everywhere except in the markup.– Bensonius
Aug 23 '17 at 23:15
This happened to me when I changed the
namespace
under my project after the .svc was already created. It updated everywhere except in the markup.– Bensonius
Aug 23 '17 at 23:15
|
show 1 more comment
Ensure that binary files are under "bin" subdirectory of your ".svc" file
1
Moving .dll(s) into bin folder did the trick for me.
– Ojas Maru
Aug 26 '15 at 18:00
Worked for me too, thanks!
– karfus
Sep 11 '15 at 1:52
1
great. that was it! i forgot that i cleaned my solution. just had to build. such a vague error
– symbiont
Aug 28 '16 at 11:08
1
My output path was set to "binDebug". I changed it to "bin" and got past the error.
– kevinpo
Aug 7 '17 at 19:25
add a comment |
Ensure that binary files are under "bin" subdirectory of your ".svc" file
1
Moving .dll(s) into bin folder did the trick for me.
– Ojas Maru
Aug 26 '15 at 18:00
Worked for me too, thanks!
– karfus
Sep 11 '15 at 1:52
1
great. that was it! i forgot that i cleaned my solution. just had to build. such a vague error
– symbiont
Aug 28 '16 at 11:08
1
My output path was set to "binDebug". I changed it to "bin" and got past the error.
– kevinpo
Aug 7 '17 at 19:25
add a comment |
Ensure that binary files are under "bin" subdirectory of your ".svc" file
Ensure that binary files are under "bin" subdirectory of your ".svc" file
answered Apr 28 '15 at 15:31
vasekvasek
1,77012122
1,77012122
1
Moving .dll(s) into bin folder did the trick for me.
– Ojas Maru
Aug 26 '15 at 18:00
Worked for me too, thanks!
– karfus
Sep 11 '15 at 1:52
1
great. that was it! i forgot that i cleaned my solution. just had to build. such a vague error
– symbiont
Aug 28 '16 at 11:08
1
My output path was set to "binDebug". I changed it to "bin" and got past the error.
– kevinpo
Aug 7 '17 at 19:25
add a comment |
1
Moving .dll(s) into bin folder did the trick for me.
– Ojas Maru
Aug 26 '15 at 18:00
Worked for me too, thanks!
– karfus
Sep 11 '15 at 1:52
1
great. that was it! i forgot that i cleaned my solution. just had to build. such a vague error
– symbiont
Aug 28 '16 at 11:08
1
My output path was set to "binDebug". I changed it to "bin" and got past the error.
– kevinpo
Aug 7 '17 at 19:25
1
1
Moving .dll(s) into bin folder did the trick for me.
– Ojas Maru
Aug 26 '15 at 18:00
Moving .dll(s) into bin folder did the trick for me.
– Ojas Maru
Aug 26 '15 at 18:00
Worked for me too, thanks!
– karfus
Sep 11 '15 at 1:52
Worked for me too, thanks!
– karfus
Sep 11 '15 at 1:52
1
1
great. that was it! i forgot that i cleaned my solution. just had to build. such a vague error
– symbiont
Aug 28 '16 at 11:08
great. that was it! i forgot that i cleaned my solution. just had to build. such a vague error
– symbiont
Aug 28 '16 at 11:08
1
1
My output path was set to "binDebug". I changed it to "bin" and got past the error.
– kevinpo
Aug 7 '17 at 19:25
My output path was set to "binDebug". I changed it to "bin" and got past the error.
– kevinpo
Aug 7 '17 at 19:25
add a comment |
Faced this exact issue. The problem resolved when i changed the Service="Namespace.ServiceName" tag in the Markup (right click xxxx.svc and select View Markup in visual studio) to match the namespace i used for my xxxx.svc.cs file
This was my exact issue. Namespace qualifiers are case sensitive.
– miniscem
May 31 '16 at 23:59
add a comment |
Faced this exact issue. The problem resolved when i changed the Service="Namespace.ServiceName" tag in the Markup (right click xxxx.svc and select View Markup in visual studio) to match the namespace i used for my xxxx.svc.cs file
This was my exact issue. Namespace qualifiers are case sensitive.
– miniscem
May 31 '16 at 23:59
add a comment |
Faced this exact issue. The problem resolved when i changed the Service="Namespace.ServiceName" tag in the Markup (right click xxxx.svc and select View Markup in visual studio) to match the namespace i used for my xxxx.svc.cs file
Faced this exact issue. The problem resolved when i changed the Service="Namespace.ServiceName" tag in the Markup (right click xxxx.svc and select View Markup in visual studio) to match the namespace i used for my xxxx.svc.cs file
answered Sep 10 '15 at 14:41
TheCopyPasterTheCopyPaster
17113
17113
This was my exact issue. Namespace qualifiers are case sensitive.
– miniscem
May 31 '16 at 23:59
add a comment |
This was my exact issue. Namespace qualifiers are case sensitive.
– miniscem
May 31 '16 at 23:59
This was my exact issue. Namespace qualifiers are case sensitive.
– miniscem
May 31 '16 at 23:59
This was my exact issue. Namespace qualifiers are case sensitive.
– miniscem
May 31 '16 at 23:59
add a comment |
Turns out that the Eval.svc.cs needed its namespace changed to EvalServiceLibary, rather than EvalServiceSite.
add a comment |
Turns out that the Eval.svc.cs needed its namespace changed to EvalServiceLibary, rather than EvalServiceSite.
add a comment |
Turns out that the Eval.svc.cs needed its namespace changed to EvalServiceLibary, rather than EvalServiceSite.
Turns out that the Eval.svc.cs needed its namespace changed to EvalServiceLibary, rather than EvalServiceSite.
edited Jan 13 '17 at 17:49
Zukunft
1315
1315
answered Jul 11 '13 at 12:00
dynamicuserdynamicuser
65231643
65231643
add a comment |
add a comment |
I just hit this issue myself, and neither this nor any of the other answers on the net solved my issue. For me it was a strange one whereby the virtual directory had been created on a different branch in another source control server (basically, we upgraded from TFS 2010 to 2013) and the solution somehow remembered it's mapping.
Anyway, I clicked the "Create Virtual Directory" button again, in the Properties of the Service project. It gave me a message about being mapped to a different folder and would I like to update it. I clicked yes, and that fixed the issue.
This worked in my situation.
– SixOThree
Nov 20 '15 at 16:32
add a comment |
I just hit this issue myself, and neither this nor any of the other answers on the net solved my issue. For me it was a strange one whereby the virtual directory had been created on a different branch in another source control server (basically, we upgraded from TFS 2010 to 2013) and the solution somehow remembered it's mapping.
Anyway, I clicked the "Create Virtual Directory" button again, in the Properties of the Service project. It gave me a message about being mapped to a different folder and would I like to update it. I clicked yes, and that fixed the issue.
This worked in my situation.
– SixOThree
Nov 20 '15 at 16:32
add a comment |
I just hit this issue myself, and neither this nor any of the other answers on the net solved my issue. For me it was a strange one whereby the virtual directory had been created on a different branch in another source control server (basically, we upgraded from TFS 2010 to 2013) and the solution somehow remembered it's mapping.
Anyway, I clicked the "Create Virtual Directory" button again, in the Properties of the Service project. It gave me a message about being mapped to a different folder and would I like to update it. I clicked yes, and that fixed the issue.
I just hit this issue myself, and neither this nor any of the other answers on the net solved my issue. For me it was a strange one whereby the virtual directory had been created on a different branch in another source control server (basically, we upgraded from TFS 2010 to 2013) and the solution somehow remembered it's mapping.
Anyway, I clicked the "Create Virtual Directory" button again, in the Properties of the Service project. It gave me a message about being mapped to a different folder and would I like to update it. I clicked yes, and that fixed the issue.
answered Mar 6 '15 at 12:43
DetailDetail
436417
436417
This worked in my situation.
– SixOThree
Nov 20 '15 at 16:32
add a comment |
This worked in my situation.
– SixOThree
Nov 20 '15 at 16:32
This worked in my situation.
– SixOThree
Nov 20 '15 at 16:32
This worked in my situation.
– SixOThree
Nov 20 '15 at 16:32
add a comment |
When you create an IIS application only the
/bin
or/App_Code
folder is in the root directory of the IIS app. So just remember put all the code in the root/bin
or/App_code
directory (see http://blogs.msdn.com/b/chrsmith/archive/2006/08/10/wcf-service-nesting-in-iis.aspx).Make sure that the service name and the contract contain full name(e.g
namespace.ClassName
), and the service name and interface is the same as the name attribute of the service tag and contract of endpoint in web.config.
second point helped me, service name includes namespace name but not class name so completed service name by Namespace.ClassName
– Prakash Joshi
Feb 15 '16 at 11:41
add a comment |
When you create an IIS application only the
/bin
or/App_Code
folder is in the root directory of the IIS app. So just remember put all the code in the root/bin
or/App_code
directory (see http://blogs.msdn.com/b/chrsmith/archive/2006/08/10/wcf-service-nesting-in-iis.aspx).Make sure that the service name and the contract contain full name(e.g
namespace.ClassName
), and the service name and interface is the same as the name attribute of the service tag and contract of endpoint in web.config.
second point helped me, service name includes namespace name but not class name so completed service name by Namespace.ClassName
– Prakash Joshi
Feb 15 '16 at 11:41
add a comment |
When you create an IIS application only the
/bin
or/App_Code
folder is in the root directory of the IIS app. So just remember put all the code in the root/bin
or/App_code
directory (see http://blogs.msdn.com/b/chrsmith/archive/2006/08/10/wcf-service-nesting-in-iis.aspx).Make sure that the service name and the contract contain full name(e.g
namespace.ClassName
), and the service name and interface is the same as the name attribute of the service tag and contract of endpoint in web.config.
When you create an IIS application only the
/bin
or/App_Code
folder is in the root directory of the IIS app. So just remember put all the code in the root/bin
or/App_code
directory (see http://blogs.msdn.com/b/chrsmith/archive/2006/08/10/wcf-service-nesting-in-iis.aspx).Make sure that the service name and the contract contain full name(e.g
namespace.ClassName
), and the service name and interface is the same as the name attribute of the service tag and contract of endpoint in web.config.
edited Apr 11 '18 at 20:50
Scott Baker
5,602123464
5,602123464
answered Jan 5 '16 at 20:02
Venkata Deekshit GantiVenkata Deekshit Ganti
584
584
second point helped me, service name includes namespace name but not class name so completed service name by Namespace.ClassName
– Prakash Joshi
Feb 15 '16 at 11:41
add a comment |
second point helped me, service name includes namespace name but not class name so completed service name by Namespace.ClassName
– Prakash Joshi
Feb 15 '16 at 11:41
second point helped me, service name includes namespace name but not class name so completed service name by Namespace.ClassName
– Prakash Joshi
Feb 15 '16 at 11:41
second point helped me, service name includes namespace name but not class name so completed service name by Namespace.ClassName
– Prakash Joshi
Feb 15 '16 at 11:41
add a comment |
I changed the output path of the service. it should be inside bin
folder of the service project. Once I put the output path back to bin
, it worked.
add a comment |
I changed the output path of the service. it should be inside bin
folder of the service project. Once I put the output path back to bin
, it worked.
add a comment |
I changed the output path of the service. it should be inside bin
folder of the service project. Once I put the output path back to bin
, it worked.
I changed the output path of the service. it should be inside bin
folder of the service project. Once I put the output path back to bin
, it worked.
edited Jun 26 '15 at 20:47
Chandan
92621226
92621226
answered Jun 26 '15 at 19:16
GokulGokul
211
211
add a comment |
add a comment |
Right click on the .svc file in Solution Explorer and click View Markup
<%@ ServiceHost Language="C#" Debug="true"
Service="MyService.**GetHistoryInfo**"
CodeBehind="GetHistoryInfo.svc.cs" %>
Update the service reference where you are referring to.
add a comment |
Right click on the .svc file in Solution Explorer and click View Markup
<%@ ServiceHost Language="C#" Debug="true"
Service="MyService.**GetHistoryInfo**"
CodeBehind="GetHistoryInfo.svc.cs" %>
Update the service reference where you are referring to.
add a comment |
Right click on the .svc file in Solution Explorer and click View Markup
<%@ ServiceHost Language="C#" Debug="true"
Service="MyService.**GetHistoryInfo**"
CodeBehind="GetHistoryInfo.svc.cs" %>
Update the service reference where you are referring to.
Right click on the .svc file in Solution Explorer and click View Markup
<%@ ServiceHost Language="C#" Debug="true"
Service="MyService.**GetHistoryInfo**"
CodeBehind="GetHistoryInfo.svc.cs" %>
Update the service reference where you are referring to.
edited Jan 11 '18 at 0:30
Kcoder
2,43222542
2,43222542
answered Jan 10 '18 at 22:48
JoeJoe
29119
29119
add a comment |
add a comment |
I had the same problem. Make sure you include assembly name in Factory
property in your .svc
file. Maybe you need to clean IIS cache if you had renamed project assembly name.
add a comment |
I had the same problem. Make sure you include assembly name in Factory
property in your .svc
file. Maybe you need to clean IIS cache if you had renamed project assembly name.
add a comment |
I had the same problem. Make sure you include assembly name in Factory
property in your .svc
file. Maybe you need to clean IIS cache if you had renamed project assembly name.
I had the same problem. Make sure you include assembly name in Factory
property in your .svc
file. Maybe you need to clean IIS cache if you had renamed project assembly name.
answered Nov 13 '18 at 11:54
JalalJalal
4,18385190
4,18385190
add a comment |
add a comment |
Double check projects .net versions. Projects that referenced each other with different .net versions causes problems.
add a comment |
Double check projects .net versions. Projects that referenced each other with different .net versions causes problems.
add a comment |
Double check projects .net versions. Projects that referenced each other with different .net versions causes problems.
Double check projects .net versions. Projects that referenced each other with different .net versions causes problems.
answered May 26 '15 at 12:13
MehmetMehmet
14
14
add a comment |
add a comment |
In my case I did a "Convert to application" to the wrong folder on iis.
My application was set in a subfolder of where it should have been.
add a comment |
In my case I did a "Convert to application" to the wrong folder on iis.
My application was set in a subfolder of where it should have been.
add a comment |
In my case I did a "Convert to application" to the wrong folder on iis.
My application was set in a subfolder of where it should have been.
In my case I did a "Convert to application" to the wrong folder on iis.
My application was set in a subfolder of where it should have been.
answered Jun 5 '15 at 10:09
Navy SealNavy Seal
1311316
1311316
add a comment |
add a comment |
I had this error when I had the current build configuration in Visual Studio set to something other than Debug.
add a comment |
I had this error when I had the current build configuration in Visual Studio set to something other than Debug.
add a comment |
I had this error when I had the current build configuration in Visual Studio set to something other than Debug.
I had this error when I had the current build configuration in Visual Studio set to something other than Debug.
answered Jul 23 '15 at 6:09
BineGBineG
19426
19426
add a comment |
add a comment |
I also had same problem. Purposely my build output path was "..bin" and it works for me when I set the build output path as "bin".
add a comment |
I also had same problem. Purposely my build output path was "..bin" and it works for me when I set the build output path as "bin".
add a comment |
I also had same problem. Purposely my build output path was "..bin" and it works for me when I set the build output path as "bin".
I also had same problem. Purposely my build output path was "..bin" and it works for me when I set the build output path as "bin".
answered Sep 10 '15 at 3:24
K.KirivarnanK.Kirivarnan
663714
663714
add a comment |
add a comment |
This is an old bug, but I encountered it today on a web service which had barely been altered since being created via "New Project.."
For me, this issue was caused by the "IService.cs
" file containing the following:
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1.svc" CodeBehind="Service1.svc.cs" %>
Notice the value in the Service
attribute contains ".svc
" at the end.
This shouldn't be there.
Removing those 4 characters resolved this issue.
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1" CodeBehind="Service1.svc.cs" %>
Note that you need to open this file from outside of Visual Studio.
Visual Studio shows one file, Service1.cs
in the Solution Explorer, but that only lets you alter Service1.svc.cs
, not the Service1.svc
file.
1
VS allows you to edit this file by right clicking and "View Markup".
– Michael O'Neill
Dec 24 '16 at 16:04
add a comment |
This is an old bug, but I encountered it today on a web service which had barely been altered since being created via "New Project.."
For me, this issue was caused by the "IService.cs
" file containing the following:
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1.svc" CodeBehind="Service1.svc.cs" %>
Notice the value in the Service
attribute contains ".svc
" at the end.
This shouldn't be there.
Removing those 4 characters resolved this issue.
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1" CodeBehind="Service1.svc.cs" %>
Note that you need to open this file from outside of Visual Studio.
Visual Studio shows one file, Service1.cs
in the Solution Explorer, but that only lets you alter Service1.svc.cs
, not the Service1.svc
file.
1
VS allows you to edit this file by right clicking and "View Markup".
– Michael O'Neill
Dec 24 '16 at 16:04
add a comment |
This is an old bug, but I encountered it today on a web service which had barely been altered since being created via "New Project.."
For me, this issue was caused by the "IService.cs
" file containing the following:
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1.svc" CodeBehind="Service1.svc.cs" %>
Notice the value in the Service
attribute contains ".svc
" at the end.
This shouldn't be there.
Removing those 4 characters resolved this issue.
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1" CodeBehind="Service1.svc.cs" %>
Note that you need to open this file from outside of Visual Studio.
Visual Studio shows one file, Service1.cs
in the Solution Explorer, but that only lets you alter Service1.svc.cs
, not the Service1.svc
file.
This is an old bug, but I encountered it today on a web service which had barely been altered since being created via "New Project.."
For me, this issue was caused by the "IService.cs
" file containing the following:
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1.svc" CodeBehind="Service1.svc.cs" %>
Notice the value in the Service
attribute contains ".svc
" at the end.
This shouldn't be there.
Removing those 4 characters resolved this issue.
<%@ ServiceHost Language="C#" Debug="true" Service="JSONWebService.Service1" CodeBehind="Service1.svc.cs" %>
Note that you need to open this file from outside of Visual Studio.
Visual Studio shows one file, Service1.cs
in the Solution Explorer, but that only lets you alter Service1.svc.cs
, not the Service1.svc
file.
answered Aug 13 '15 at 11:40
Mike GledhillMike Gledhill
17.1k498119
17.1k498119
1
VS allows you to edit this file by right clicking and "View Markup".
– Michael O'Neill
Dec 24 '16 at 16:04
add a comment |
1
VS allows you to edit this file by right clicking and "View Markup".
– Michael O'Neill
Dec 24 '16 at 16:04
1
1
VS allows you to edit this file by right clicking and "View Markup".
– Michael O'Neill
Dec 24 '16 at 16:04
VS allows you to edit this file by right clicking and "View Markup".
– Michael O'Neill
Dec 24 '16 at 16:04
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f17591972%2fwcf-service-the-type-provided-as-the-service-attribute-values-could-not-be-foun%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
is it a web project? What is the web.config like?
– Aliostad
Jul 11 '13 at 11:23
Yes, a web project. I have added the web.config to the question. Cheers
– dynamicuser
Jul 11 '13 at 11:30