Results 1 to 4 of 4

Thread: How to solve WCF Security Issues

  1. #1
    Join Date
    Apr 2009
    Posts
    107

    How to solve WCF Security Issues

    I have an app that accesses a WCF service on a server which is hosted in a console app. A web application sends requests to it. Both of these have been running successfully in production for the last 6 months. But recently I have started getting an error message: "a call to SSPI failed" ... "the target principal name is incorrect" ... stack trace ... How is that and how should I eliminate that.

  2. #2
    Join Date
    Jan 2006
    Posts
    181

    Re: How to solve WCF Security Issues

    The problem seems directly linked to the change that you made. Try removing the change and running the app again. My problem will be solved ,for ms-access database ,if we are using ms-access datasource for updating single fild also we have to set all fields updated ,whatever you given in the select statement. The problem seems directly linked to the change that you made. Try removing the change and running the app again.

  3. #3
    Join Date
    Feb 2006
    Posts
    90

    Re: How to solve WCF Security Issues

    The solution was to start another service which provides via "WebGet" method the clientaccesspolicy.xml. When I start the WCF program it shuts down, and the web application that contacts the WCF app gets a Communication object error. I do have my service INSIDE my WebSite project. Everything works fine when running in VS2008 but as soon as I run the deployed web site I have the 404 not found. If the web application connected successfully, the code that changed would be executed.

  4. #4
    Join Date
    Mar 2008
    Posts
    258

    Re: How to solve WCF Security Issues

    If you're using message security with certificates at each end securing it, I'm not quite sure why you would need a windows identity? What's the reasoning behind that? you can simply configure the WCF service to use "None" as security mode. Note that you must set the security mode of the service since it is the service application who declare the security requirement.

Similar Threads

  1. How to solve voltage and cooling issues in AMD 970 BE?
    By Holly Dayin in forum Overclocking & Computer Modification
    Replies: 3
    Last Post: 04-03-2012, 03:14 PM
  2. Replies: 4
    Last Post: 27-10-2010, 01:36 PM
  3. How to solve Nokia E72 SmartConnect issues?
    By Kantimoy in forum Portable Devices
    Replies: 6
    Last Post: 05-06-2010, 05:25 PM
  4. Want to solve issues related to the Monitor and Video Card on Vista
    By MarceloQuad in forum Monitor & Video Cards
    Replies: 6
    Last Post: 21-03-2010, 03:46 AM
  5. How to solve Black Hole Router Issues
    By Jakub in forum Guides & Tutorials
    Replies: 4
    Last Post: 21-02-2009, 10:21 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,418,434.45398 seconds with 17 queries