![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| Guest | endpoint error when wrapping WCF service with asp.net web service(ASMX) only in IIS. hello, I have a asp.net web service (ASMX) I am hosting thru IIS. Its web methods make requests to a WCF service I have running remotely via net.tcp When running this configuration locally thru VS IIS "casini", everything works great... when invoking the web methods thru the real IIS, I get the follow error: System.InvalidOperationException: Could not find default endpoint element that references contract 'IEntitiesService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element. at System.ServiceModel.Description.ConfigLoader.LoadChannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName) at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName) at System.ServiceModel.ChannelFactory.InitializeEndpoint(String configurationName, EndpointAddress address) at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress) at System.ServiceModel.EndpointTrait`1.CreateSimplexFactory() at System.ServiceModel.ClientBase`1.CreateChannelFactoryRef(EndpointTrait`1 endpointTrait) at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef() at System.ServiceModel.ClientBase`1..ctor() at AGC3.UI.ClientProxies.EntitiesServiceClient..ctor() at AGC3.Service.Web.Agc3WebServiceWrapper.Login(String email, String password) in C:\NAWS\Development\Source\Cerberus \AGC3.Service.Web\AGC3.Service.Web\AGC3WebServiceWrapper.asmx.cs:line 60 The webservice can't connect to the WCF service's contract endpoint ONLY in IIS. I'm truly stumped on this one. Any ideas? |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Error ! User Profile Service service failed the logon. | Vista account administration | |||
| The Windows Firewall service terminated with service-specific error 13 (0xD). (cannot start firewall) | Vista security | |||
| Windows Audio Endpoint Builder Service fails to start | Vista installation & setup | |||
| "Specified service does not exists as an installed service" error | Vista networking & sharing | |||