TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
benjamin schwartz
NA
11
0
problem deploying a WCF web app
May 29 2012 9:53 PM
build a test WCF web app and tested locally - every
thing fine.. When we published to Winhost we got an error...wrote to winhost
support and they say they can't help it is an application error...I am stuck any
help would be appreciated.
the error is on line 114 the WCF
url.
Server Error in '/' Application.
________________________________________
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details below
and modify your configuration file appropriately.
Parser Error Message:
The binding at system.serviceModel/bindings/basicHttpBinding does not have a
configured binding named 'basicHttpBinding_IService1'. This is an invalid value
for bindingConfiguration.
Source Error:
Line 112:
</bindings>
Line 113: <client>
Line 114: <endpoint
address="http://autralsy.w05.winhost.com/I95Service/I95.WCFService/Service1.svc"
Line
115: binding="basicHttpBinding"
bindingConfiguration="basicHttpBinding_IService1"
Line 116:
contract="ServiceReference1.IService1"
name="basicHttpBinding_IService1">
Source File:
E:\web\autralsy\web.config Line: 114
________________________________________
Version Information: Microsoft
.NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
here is a copy of my WCF portion of Web.Config. would appreciate any help as i
am stuck...thanks
ben
here is a complete Web.config of the
serviceModel Tag
-<system.serviceModel> -<bindings>
-<wsHttpBinding> -<binding name="WSHttpBinding_IService1"
allowCookies="false" useDefaultWebProxy="true" textEncoding="utf-8"
messageEncoding="Text" maxReceivedMessageSize="65536" maxBufferPoolSize="524288"
hostNameComparisonMode="StrongWildcard" transactionFlow="false"
bypassProxyOnLocal="false" sendTimeout="00:01:00" receiveTimeout="00:10:00"
openTimeout="00:01:00" closeTimeout="00:01:00"> <readerQuotas
maxNameTableCharCount="16384" maxBytesPerRead="4096" maxArrayLength="16384"
maxStringContentLength="8192" maxDepth="32"/> <reliableSession
enabled="false" inactivityTimeout="00:10:00" ordered="true"/> -<security
mode="Message"> <transport realm="" proxyCredentialType="None"
clientCredentialType="Windows"/> <message clientCredentialType="Windows"
algorithmSuite="Default" negotiateServiceCredential="true"/>
</security> </binding> </wsHttpBinding> </bindings>
-<client> -<endpoint name="basicHttpBinding_IService1"
contract="ServiceReference1.IService1"
bindingConfiguration="basicHttpBinding_IService1" binding="basicHttpBinding"
address="http://autralsy.w05.winhost.com/I95Service/I95.WCFService/Service1.svc">
-<identity> <dns value="localhost"/> </identity>
</endpoint> </client> </system.serviceModel>
be happy to supply for info if needed
thanks
ben
Reply
Answers (
1
)
How to create ssl certificate on cassini webserver?
return an integer value from vc++ to c# wcf