473,383 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

WCF service authenticating problem

Hello all,

I have problem with WCF service authenticating. Please, take a look at the
following code:

ProductsServiceClient proxy = new
ProductsServiceClient("NetTcpBinding_IProductsServ ice");
proxy.ClientCredentials.Windows.ClientCredential.D omain = "DAGREGI";
proxy.ClientCredentials.Windows.ClientCredential.U serName = "Bert";
proxy.ClientCredentials.Windows.ClientCredential.P assword = "Pa$$w0rd";

ProductsServiceClient is a ServiceContract. If I comment out three lines
with credential info, everything is fine. In other case I received following
exception:

SOAP security negotiation with 'net.tcp://localhost:8083/TcpProductsService'
for target 'net.tcp://localhost:8083/TcpProductsService' failed.
See inner exception for more details.

Inner exception:
System.ServiceModel
The message or signature supplied for verification has been altered

Example is taken directly from WCF Step By Step book, and it should be
working.
I have no idea what is wrong. If you need some more information, please let
me know.

Thanks!

--
Gregi
Jun 27 '08 #1
0 1320

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bryan | last post by:
Problem A serviced component calling a web service and authenticating, does not authenticate to the web service as the account the COM component is running under. Scenario I have a .NET...
3
by: Brad | last post by:
I'm setting up my new pc with all my VS.net projects and I'm missing something.....something I've done many times before without problem. I have several asp.net apps accessing secure .net web...
1
by: ananth | last post by:
Hi All, I have a web service created in Notes Database and i am calling the web service in Visual studio.Net application by adding a web reference. I need to have authentication...
3
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I have a problem running my program as a service. When it runs as a desktop program, it has access to oracle database. When it runs as a service it returns an error: Oracle client and...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.