473,322 Members | 1,494 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,322 software developers and data experts.

Problem with CredentialCache.DefaultNetworkCredentials

Hi All

I am trying to use CredentialCache.DefaultNetworkCredentials to pass to a
web service. From reading the help this should return the current user
(desktop application) domain, username and password.

DefaultNetworkCredentials is actually returning blank values e.g
DefaultNetworkCredentials.Domain = "". Is there some sort of
initialisation required?

Other than that, can anyone give me a little help with object.

Thank you
Jul 18 '07 #1
0 3365

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

Similar topics

0
by: Steve Ng | last post by:
Hello, I have a windows form application that needs to pass through a proxy to get access to the internet. As a test, I have successfully hardcoded my login/password/domain combination and been...
4
by: Grind Boy | last post by:
Hi, I'm writing this off the top of my head as I don't have the exact information to hand. We are attempting to set up a secure internet site using ASP.NET on IIS5. We are having some...
0
by: aspnet | last post by:
Hi, We are facing a problem with CredentialCache. We have an ASP.NET website running under integrated windows authentication. We have another website which has an ASP (not ASP.net) page, and...
6
by: Nikolay Petrov | last post by:
I have the following web method: <WebMethod()> _ Public Function Test_CurrentCredentials() As String() Dim tmpArr(2) As String tmpArr(0) = "User: " &...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
0
by: Xavier - www.andeol.com | last post by:
Hi, My first post on this newsgroup as I have a very strange problem with a WSE client trying to access a .NET WS through a secured HTTP Proxy : it is woking with HTTPS but not with HTTP ?! I am...
5
by: Mark A. Sam | last post by:
Hello, I am sending two emails from the same procedure, one to myself (while testing) and another (a comfirmation) to the user on the website. I was having difficulty finding a relay server to...
2
by: Papa.Coen | last post by:
Hi, I'm experiencing problems when calling a .net webservice using SSL from a Windows Service. I get an 403.7 error: The request failed with HTTP status 403: Forbidden It's driving me nuts....
19
by: mahmodm3 | last post by:
(using System.Net.Mail) hi i have this code : MailMessage myMail = new MailMessage("mail@mail.com", "mail@mail.com", "My Report.", "See the file."); SmtpClient myccc = new...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.