Server Error in '/Rack' Application.
The type 'WCFService1.Service1', provided as the Service attribute value in the ServiceHost directive could not be found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.InvalidOperationException: The type 'WcfServiceForInsert.Service1', provided as the Service attribute value in the ServiceHost directive could not be found.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Solution:-
Check The Service1.svc file, The Service="WcfService1.Service1" Is Same As The Type Or Not. In The Above Error The type 'WCFService1.Service1' not equal to Service="WcfService1.Service1". There Is A spell Mistake
<%@ ServiceHostLanguage="C#"Debug="true"Service="WcfService1.Service1"CodeBehind="Service1.svc.cs"%>
No comments:
Post a Comment
Note: only a member of this blog may post a comment.