Solved

WCF - Disable security

Posted on 2008-06-17
6
837 Views
Last Modified: 2013-11-07
How do you disable security in WCF.  I have tried to disable it but am still getting "caller not authented by the service"

My binding looks like this
  <basicHttpBinding>
        <binding name="basicHttpBinding" closeTimeout="00:30:00" openTimeout="00:30:00"
          receiveTimeout="00:30:00" sendTimeout="00:30:00" maxBufferSize="655360"
          maxReceivedMessageSize="655360">
          <readerQuotas maxArrayLength="10000" />
          <security mode="None">
            <transport clientCredentialType="None" />
            </security>
        </binding>
      </basicHttpBinding>
0
Comment
Question by:Kevin Robinson
  • 3
  • 3
6 Comments
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21801885
have u changed @ both ends client and server ?
0
 
LVL 3

Author Comment

by:Kevin Robinson
ID: 21801890
Yep.  Well I updated my service reference.
0
 
LVL 29

Accepted Solution

by:
Gautham Janardhan earned 500 total points
ID: 21801908
the same shud be done @ the server side also... if server is expecting some sort of security then u will get this error...
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 3

Author Comment

by:Kevin Robinson
ID: 21801995
I have manually checked through the Client and server side and security is turned off.
0
 
LVL 3

Author Comment

by:Kevin Robinson
ID: 21802390
Can I manually create the service references?  Sometimes they dont always map correctly to the service.
0
 
LVL 29

Expert Comment

by:Gautham Janardhan
ID: 21809994
u can create  a clinet class tusing the svcutil tool and then use this to acesst the service..
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
.NET 2008 VB and C# 6 39
MVC DDL Json Not Binding to Model 2 27
JSON Deserialize issue 6 26
how to remove duplicate code from my project 5 35
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question