473,396 Members | 2,090 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,396 software developers and data experts.

Still can't authenticate to remote server in VB.NET

I've been everywhere, but can't seem to find a solution to my problem....

When you browse to a folder on another machine, it challenges you for your
ID & Password (popup box). I'm writing a program that needs to access
folders on other machines. But all I get is "permission denied". The popup
box doesn't appear. I would guess that the remote machine is challenging my
app, but the app isn't responding (???).

What I want to do is be able to enter a UserID & Password into my app, then
have the app use that information to access the folders on the remote
machines.

This has to be possible, and someone out there must know how to do it. Can
anyone help?

Thanks!
Nov 20 '05 #1
2 1611
Have you taken a look under impersonation?

"Terry Olsen" <to******@hotmail.com> wrote in message
news:eB**************@tk2msftngp13.phx.gbl...
I've been everywhere, but can't seem to find a solution to my problem....

When you browse to a folder on another machine, it challenges you for your
ID & Password (popup box). I'm writing a program that needs to access
folders on other machines. But all I get is "permission denied". The popup box doesn't appear. I would guess that the remote machine is challenging my app, but the app isn't responding (???).

What I want to do is be able to enter a UserID & Password into my app, then have the app use that information to access the folders on the remote
machines.

This has to be possible, and someone out there must know how to do it. Can anyone help?

Thanks!

Nov 20 '05 #2
> Have you taken a look under impersonation?

Yeah, but impersonation only works if you have the profile on the local
computer. Let's say that the admin logon on the remote computer is "fast /
cars". That account doesn't exist on the local computer. I'm using the
local admin logon of "slow / trucks". I cannot impersonate "fast /cars" on
the local computer because that profile doesn't exist locally.

I hope i've explained it clearly and I hope I understand impersonation
correctly. As I understand impersonation, it loads the profile of the
account you are impersonating. If that account doesn't exist on the local
pc, you can't impersonate it.

Isn't impersonation what the SU & RunAs commands do?
Nov 20 '05 #3

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

Similar topics

6
by: Joe Bloch | last post by:
I'm trying to install SQL Server 2000 on a newly-installed Win 2003 Server box. My disk is SQL Server SP 2. I got the error message stating that I couldn't run SQL Server less than SP 3, but I...
2
by: allenj | last post by:
DB2 UDB 7.2 WSE Fixpak 9 Linux Red Hat 7.3 A very strange thing just happened w/ my DB2 server. I am on Linux and using NIS - the instance owner is in the servers /etc/passwd file. Suddenly,...
2
by: Stan | last post by:
Is it possible to debug a web site with password authentication in PreProduction mode Here is what I have done - Installed Passport SD - Set Password authentication in web.confi - Created...
3
by: Dan Nash | last post by:
Hi Any ideas on this... having moved the web app to another server, and setup all the WebApp data (disable anonymous access etc), locally my site still asks me for a Username/Password, even...
4
by: Joe | last post by:
I'm hosting my web service on a Windows 2003 box which is remotely located. When trying to add a web reference to a C# project I get an error message 'There was an error downloading...
1
by: Michiel | last post by:
Hello, I use Visual Studio .Net 2003 Professional (Trial version) on Windows XP Professional (Dutch version). I have a Windows Server 2003 with IIS 6 (UK version). There is no domain, just a...
29
by: jens Jensen | last post by:
Hello, I got this "breath taking" task to write a an http server to which "xml data" will be posted to and will answer with xml data. The logic behind the xml processing is not a matter here. ...
1
by: robert | last post by:
In a DAV scheme with PROPFIND or GET (PROPFIND /test/ HTTP/1.1) and Basic AUTH to a MS SharePoint over https server (AUTH required), he responds 'WWW-Authenticate: NTLM' only: reply: 'HTTP/1.1...
0
by: alex21 | last post by:
I'm trying to detect the http status number such as (401 Unauthorized) from a 'WebException' when a WebClient in my code fails. Public Function DataSources_ValidURL() As Boolean Dim...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.