Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista Tutorial - endpoint error when wrapping WCF service with asp.net web service(ASMX) only in IIS.

 
 
Old 07-08-2008   #1 (permalink)
jeff.gwaltney
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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46