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
Aviad Zamir
NA
1
1.2k
WCF authentication problem
Mar 20 2015 1:10 PM
Hi
I'm new to WCF. After publishing a simple WCF service into the server I get the following error
Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service
I guess that I need to change the web.config file but I don't know how, my web.config file looks like this:
<?xml version="1.0"?> <configuration> <system.web> <compilation targetFramework="4.0" /> <customErrors mode="Off"/> </system.web> <system.serviceModel> <behaviors> <serviceBehaviors> <behavior> <!-- To avoid disclosing metadata information, set the value below to false before deployment --> <serviceMetadata httpGetEnabled="true"/> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="false"/> </behavior> </serviceBehaviors> </behaviors> <serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> </system.serviceModel> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> <!-- To browse web app root directory during debugging, set the value below to true. Set to false before deployment to avoid disclosing web app folder information. --> <directoryBrowse enabled="true"/> </system.webServer> </configuration>
Reply
Answers (
1
)
How to design a wcf service for specific requirement
Bind wcf service to View using knockout in mvc