473,778 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problems with IIS impersonation

Hi,

I am having problems setting up a website which needs to be available
only inside the domain. I have set up a website on one of our servers. When I
remote in to the server and login to the website, it is working fine. But
when I try to login from my local computer it is giving the error "Login
failed for user 'NT AUTHORITY\ANONY MOUS LOGON'." If I remote in to the server
and login to the website and leave the remote desktop open and try logging in
from my local computer, it works fine. But if I logoff from the remote
desktop and try logging in from my local computer, it gives the same error.
I am using Anonymous login option. Please let me know if you have any idea.

Thanks,
Sridhar.
Aug 28 '06 #1
1 1353
Sridhar wrote:
Hi,

I am having problems setting up a website which needs to be available
only inside the domain. I have set up a website on one of our servers. When I
remote in to the server and login to the website, it is working fine. But
when I try to login from my local computer it is giving the error "Login
failed for user 'NT AUTHORITY\ANONY MOUS LOGON'." If I remote in to the server
and login to the website and leave the remote desktop open and try logging in
from my local computer, it works fine. But if I logoff from the remote
desktop and try logging in from my local computer, it gives the same error.
I am using Anonymous login option. Please let me know if you have any idea.

Thanks,
Sridhar.
Hi Sridhar,

I think you need to say a bit more about how you've set this up before
anyone can diagnose your problem.

With ASP.NET (which I assume you are using here) you have two elements
in the authentication chain.

(1) IIS which is controlled by the site/virtual directory properties
using the Directory Security tab

(2) The authentication mode and identity settings in the web.config
file.

Could you explain how you have these things set up?

Also could you clarify what you mean when you say you "log in" to the
web site. This appears contradictory to your statement that you are
using "anonymous login"

Phil Hall

Aug 28 '06 #2

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

Similar topics

12
2578
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 problem is that even when it is configured to run under a certain identity through Web.config, the impersonation is not carried through to COM library. Consequently, the code in COM object runs under a local account and any code that needs to access...
1
3962
by: techfuzz | last post by:
I'm posting my problem experience and solution I found here for other ASP.NET developers. I have a web application that uses Forms Authentication with Active Directory to control access. In this web application, I have search page that utilizes the Windows Indexing Service (MSIDXS provider). For reasons I'm not aware of at this time, setting <identity impersonation="true" /> in the web.config causes an error whenever you try to search.
7
5831
by: zxkuqyb | last post by:
I've written a simple ASP .NET web application that reads a text file and displays it in the web browser. Works fine when reading a local path; but fails with "can not find a part of the path", or "can not access network file" when attemting to access a UNC network path. I am using IIS 6.0 on Server 2003. SharePoint Portal Server is also installed on this server. I have granted full access to 'everyone' on the network file. An...
2
1508
by: Sharon | last post by:
Hi to all. I have two Impersonation problems: 1. When using my app. from a remote computer, the aspx page is unable to get information from Active Directory. I am using Impersonation, and the Impersonated user is logged to the domain. When I'm doing the same, logged as the same user, but on the server computer, it works.
26
870
by: andrew_webby at hotmail | last post by:
Hi Am having a problem with an app I wrote to test patch delivery. I contact a remote PC, and get it to run a patch which is installed on a server. It works fine if I use psexec for example and I know it's not NTFS/share-level security at fault - it's readable to everyone which is usually enough for scheduler or any other usually-not-network-user to reach it. I've checked my credentials in my remote session and it says it's
1
1241
by: Matthias Wohlmann | last post by:
Hi, I've got an ASP.NET Web-Application written in C#. In IIS 6.0 (Windows Server 2003) I have set the application to allow anonymous access, but instead of the default user I use an own windows-user account. That account does not have too much rights (just access to the application directory and the windows\Microsoft.Net directory). In Web.config I have also set <identity impersonate="true" userName=<myUser> password=<myPWD>/> ...
0
965
by: Matthias Wohlmann | last post by:
Hi, I already posted to this newsgroup, but didn't get an answer. So I try again: I've got an ASP.NET Web-Application written in C#. In IIS 6.0 (Windows Server 2003) I have set the application to allow anonymous access (using the default Account IUSR_<servername>). In Web.config I have set <identity impersonate="true" userName=<myUser> password=<myPWD>/>
5
1205
by: ^MisterJingo^ | last post by:
Hi all, On a 2.0 app i'm working on I'm attemtping to get file uploads to work. I have given the ASPNET process full access to the upload directory, but I still get an access densied error. If I set user account to full accesses then the file uploads fine. The problem is, the server guys do not want the user account to have such permissions. How do i go about resolving this? I would have thought giving the ASPNET process permissions...
0
1518
by: Daniel Knöpfel | last post by:
Hello On our asp.net 2.0 website we impersonate every request to the identity of the user logged in. This works this way: 1. user logs in, providing username, password 2. user is authenticated against an active directory and the windows identity is retrieved (and stored in the session!!) 3. user is impersonated using the windows identity (thread is now running under the identity of the user)
5
2668
by: =?Utf-8?B?S2l0dHlIYXdr?= | last post by:
I am in the process of migrating an II6 environment from a single server to a network load balanced system. Thus, I am using a virtual directory on a UNC share to house the dynamic data that the web farm will access. Since ASP.NET runs as a local account on the IIS servers, I have to use impersonation to perform any operations on the data that resides on the UNC share. I am hard-coding the impersonation credentials in the web.config files...
0
9464
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8954
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7471
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5368
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4031
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3627
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2860
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.