Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 25-09-2009
Member
 
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.
Reply With Quote
  #2  
Old 25-09-2009
Member
 
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.
Reply With Quote
  #3  
Old 25-09-2009
Member
 
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.
Reply With Quote
  #4  
Old 25-09-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to solve WCF Security Issues"
Thread Thread Starter Forum Replies Last Post
How to solve voltage and cooling issues in AMD 970 BE? Holly Dayin Overclocking & Computer Modification 3 04-03-2012 03:14 PM
How to solve HTTP Streaming Issues With Windows Phone 7 and Fiddler. Mycenaen Portable Devices 4 27-10-2010 01:36 PM
How to solve Nokia E72 SmartConnect issues? Kantimoy Portable Devices 6 05-06-2010 05:25 PM
Want to solve issues related to the Monitor and Video Card on Vista MarceloQuad Monitor & Video Cards 6 21-03-2010 03:46 AM
How to solve Black Hole Router Issues Jakub Guides & Tutorials 4 21-02-2009 10:21 AM


All times are GMT +5.5. The time now is 06:56 PM.