Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 3.5 and Visual Studio. 2008 > Visual Studio 2008
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 8th, 2008, 11:56 AM
Registered User
 
Join Date: Jul 2008
Location: st. louis, mo, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default WCF endpoint error when wrapping WCF service with

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.LoadC hannelBehaviors(ServiceEndpoint serviceEndpoint, String configurationName)
   at System.ServiceModel.ChannelFactory.ApplyConfigurat ion(String configurationName)
   at System.ServiceModel.ChannelFactory.InitializeEndpo int(String configurationName, EndpointAddress address)
   at System.ServiceModel.ChannelFactory`1..ctor(String endpointConfigurationName, EndpointAddress remoteAddress)
   at System.ServiceModel.EndpointTrait`1.CreateSimplexF actory()
   at System.ServiceModel.ClientBase`1.CreateChannelFact oryRef(EndpointTrait`1 endpointTrait)
   at System.ServiceModel.ClientBase`1.InitializeChannel FactoryRef()
   at System.ServiceModel.ClientBase`1..ctor()
   at AGC3.UI.ClientProxies.EntitiesServiceClient..ctor( )
   at AGC3.Service.Web.Agc3WebServiceWrapper.Login(Strin g email, String password) in C:\NAWS\Development\Source\Cerberus\AGC3.Service.W eb\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?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do effective testing on WCF SendilKumar Windows Communication Foundation 1 July 31st, 2009 04:02 AM
WCF service issue geoscaria BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 August 12th, 2008 05:44 AM
WCF yangqingyue1985 C# 0 July 28th, 2008 02:17 AM
WCF code Example fcatarino BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 0 July 21st, 2008 04:38 PM
WPF,WCF,WWF angelboy .NET Framework 3.5 1 January 31st, 2008 09:05 AM



All times are GMT -4. The time now is 12:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.