Solved

WCF - Disable security

Posted on 2008-06-17
6
834 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now