tag:blogger.com,1999:blog-6082652835152798567.post8180171024516687731..comments2024-03-28T00:58:12.736-07:00Comments on Sql server, .net and c# video tutorial: Part 29 - Hosting wcf service in IISUnknownnoreply@blogger.comBlogger7125tag:blogger.com,1999:blog-6082652835152798567.post-44228868549254281192018-07-11T09:44:26.372-07:002018-07-11T09:44:26.372-07:00In the svc file we have Service1 implementing Iser...In the svc file we have Service1 implementing Iservice1 interface. As per the steps we have removed those files and added reference to our wcf service. But now while compiling the code written in svc file creates problem as reference to service1.cs has been removed. How to resolve this ?draunzerhttps://www.blogger.com/profile/03441024259010185647noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-48736974170184132722018-02-25T09:36:32.573-08:002018-02-25T09:36:32.573-08:00
why wcf is running from vs 2015 and sql 2014 but ...<br />why wcf is running from vs 2015 and sql 2014 but when i put on local iis can not runAnonymoushttps://www.blogger.com/profile/16930245496821350554noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-76345536757925852912017-02-26T01:23:56.206-08:002017-02-26T01:23:56.206-08:00I want to consume this iis hosted service with rem...I want to consume this iis hosted service with remote client... It cannot add service reference like this. how i should add service reference with remote client??? plz help. Thank u.latestmovieshttps://www.blogger.com/profile/17567880793997293844noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-16066363814227432502015-08-17T23:37:19.631-07:002015-08-17T23:37:19.631-07:00please go to windows activation turn on and go to ...please go to windows activation turn on and go to .Net framework 4.5 advaned services expand it select WCF Services expand it and check the HTTP Activation, that should workAnonymoushttps://www.blogger.com/profile/03201330632122035394noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-11080595490549343492015-08-13T01:37:50.490-07:002015-08-13T01:37:50.490-07:00HTTP Error 500.19 - Internal Server Error The requ...HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-89341639825718685122015-06-08T19:02:36.963-07:002015-06-08T19:02:36.963-07:00When I try to browse the .svc file in iis I am get...When I try to browse the .svc file in iis I am getting the following error. So kindly help me.<br /><br />Error Summary<br />HTTP Error 500.19 - Internal Server Error<br />The requested page cannot be accessed because the related configuration data for the page is invalid.<br />Detailed Error Information<br />Module IIS Web Core<br />Notification BeginRequest<br />Handler Not yet determined<br />Error Code 0x80070005<br />Config Error Cannot read configuration file due to insufficient permissions<br />Config File \\?\C:\Users\User\Desktop\wcf\IISHost\web.config<br />Requested URL http://localhost:80/Fish/FishService.svc<br />Physical Path C:\Users\User\Desktop\wcf\IISHost\FishService.svc<br />Logon Method Not yet determined<br />Logon User Not yet determined<br />Config Source<br /> -1: <br /> 0: <br />Links and More Information<br />This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.<br />View more information »Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-77875119515293845112015-03-07T07:05:29.253-08:002015-03-07T07:05:29.253-08:00Navigating to "http://localhost/HelloService/...Navigating to "http://localhost/HelloService/HelloService.svc" gives me error that reads <br /><br />"The type 'HelloService.HelloService,HelloService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found."<br /><br />I could not figure it out even after trying & googling for hrs..Please help( I am using IIS 8.5 in Win 8.1)<br /><br />Here are the details:<br />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. <br /><br />Exception Details: System.InvalidOperationException: The type 'HelloService.HelloService,HelloService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.<br /><br />Source Error: <br /><br />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.<br /><br />Stack Trace: <br /><br /><br />[InvalidOperationException: The type 'HelloService.HelloService,HelloService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found.]<br /> System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +62739<br /> System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1429<br /> System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +52<br /> System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +598<br /><br />[ServiceActivationException: The service '/HelloService/HelloService.svc' cannot be activated due to an exception during compilation. The exception message is: The type 'HelloService.HelloService,HelloService', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element system.serviceModel/serviceHostingEnvironment/serviceActivations could not be found..]<br /> System.Runtime.AsyncResult.End(IAsyncResult result) +485948<br /> System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +174<br /> System.ServiceModel.Activation.ServiceHttpModule.EndProcessRequest(IAsyncResult ar) +345998<br /> System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +9683501<br /><br />Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212Anonymousnoreply@blogger.com