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

Impersonation Issues. ASP.NET Webform works only on Local Machine

I have a problem.

I have a webform, which uses impersonation. My iis is set to windows
integrated authentication and anonymous is disabled.

My webform connects to active directory and retrieves user information. This
webform works great on the local machine. But if i run it from a remote
machine, it has trouble connecting to AD. I've down some searching and it has
to do with the impersonation. I use impersonation to authenticate myself to
AD.

Even if use "Run As..." and use the administrator account in AD, to connect
remotely to the computer that is running the webform, i have the same problem.

How can i get around this? I don't want to use forms authentication. Please
help.
Dec 21 '05 #1
1 1630
Rocky wrote:

My webform connects to active directory and retrieves user
information. This webform works great on the local machine. But if i
run it from a remote machine, it has trouble connecting to AD. I've
down some searching and it has to do with the impersonation. I use
impersonation to authenticate myself to AD.


Hi Rocky,

The reason why this happens is likely because you are using NTLM
authentication. NTLM authentication will not work in a delegation scenario.
You'll need to use Kerberos authentication.

810572 How to configure an ASP.NET application for a delegation scenario
http://support.microsoft.com/default...b;EN-US;810572

--
Jim Cheshire
================================
Blog: http://blogs.msdn.com/jamesche

Dec 21 '05 #2

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

Similar topics

7
by: Ram P. Dash | last post by:
Now this is a classic. The impersonation fails for CASE I but doesn't fail for CASE II or III. Case I: Client Side Code ----------------- System.Net.NetworkCredential credential = new...
12
by: Anil Krishnamurthy | last post by:
We have an ASP.NET application that uses COM objects through Interop. The web application requires access to network and database resources and hence, needs to impersonate a domain account. The...
2
by: Seth Darr | last post by:
OK I am at my wits end and I hope that someone can help me. I've got an ASP.NET web app that generates dynamic excel spreadsheets via COM. It does this work in a seperate subdirectory called...
2
by: Tom Wells | last post by:
My server admin and I are trying to figure out how to get impersonation working to be able to upload a file from the client browser thru the web server to a network file server. My network ID for...
1
by: Top Poster | last post by:
Hi all, I am trying to work out how I can use impersonation to connect to an Oracle 9i database such that I can avoid sending a clear text username and password to the Oracle server. We are...
12
by: Craig S | last post by:
I've implemented the impersonation method shown here: http://support.microsoft.com/?id=306158 under the section "Impersonate a Specific User in Code". Essentially just interop the LogonUserA...
3
by: Ryan | last post by:
I have 2 machines on the same lan. Neither one is on a domain. Lets call them computer1 and computer2. Computer1 has a user/password called Computer1User /Computer1Password Using the...
0
by: ChopStickr | last post by:
I have a custom control that is embedded (using the object tag) in an html document. The control takes a path to a local client ini file. Reads the file. Executes the program specified in...
2
by: Chris Marsh | last post by:
Hi all I have one machine (A) which is not on a domain. There is an local user account on A (userA) that has access to a certain folder. I have another machine (B). An application on B...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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: 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,...

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.