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

Impersonation between different workgroups is failed

Hello,

I have 2 servers disposed in following manner

..- One IIS server (Named IIS-Svr), with a firewall for the Internet output (this server has his own valid IP for Internet), isolated in a Workgroup
(Win2003 Web Server, .NET Framework 1.1, IIS 6.0, ASPX pages, COM+ Applications proxies)

..- One COM+ server (Named COM-Svr), isolated in a Workgroup
(Win2000 Advanced Server, .NET Framework 1.0, COM+ Applications)

ISS server is isolated in a workgroup named WG-ISS, I have a user named UsuarioIIS in this machine, COM+ Server is isolated in another workgroup named WG-COM, I have a user named UsuarioCOM in this machine

Both of them are in the same network segment, they can connecting between themselves, although they are in differents Workgroup

Internet <-> Firewall <-> ISS <-> COM

Ok, like you can appreciate, I am programming in “n” tiers model, I have my bussines rules in COM+ server and my front end code in ASPX pages

Ok, actually, in developing environment I have both servers in the same Domain, the inpersonation is working very well

::Web.config:
<configuration><system.web><identit
impersonate="true
userName="Domain\UserName
password=" Password
/ ></system.web></configuration

But, when I going to production environment explode a fail because both of them not are in the same domain, are in differents Workgroups

Remember

Internet <-> Firewall <-> ISS (Named IIS-Svr in WG-ISS ) <-> COM+ (Named COM-Svr, in WG-COM

In my web application configuration (In IIS Server), I Tried this

::Web.config:
<configuration><system.web><identit
impersonate="true
userName="COM-Svr\UsuarioCOM"  NameMachine\Use
password="Password
/ ></system.web></configuration

But the following error appear

Server Error in '/WebApp' Application
----------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'Logon failure: unknown user name or bad password.

Source Error:

Line 106:
Line 107:
Line 108: <identity impersonate="true"
Line 109: userName="COM-Svr\UsuarioCOM"
Line 110: password="Password"

Source File: c:\inetpub\wwwroot\WebApp\web.config Line: 108

----------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.57

Could someone help me please

I don’t know if I have to change special something in some of severs, or add something to my Config Web application files, or using another method for getting the same result

Perphaps this problem has a easy solution, but I haven´t any idea. Maybe using delegate and not inpersonation is better... I don'nt know..

Thanks in advance

l-touched
Nov 18 '05 #1
0 1149

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

Similar topics

3
by: Chris | last post by:
Hello all, Here is my problem. I have a windows service (C#) that is supposed to move files from/to the local drive to/from a UNC share (\\domainserver\share). The service is running on a Win3k...
1
by: Ripa Horatiu | last post by:
Does anyone knows how can I impersonate to another user (basically Administrator) for a piece of my code? I've tried the samples provided by MS but they didn't worked. -- Horatiu Ripa
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...
0
by: l-touched | last post by:
Please, first review this same subject at May 31st 200 This is more information for you can help me ******In the COM+ Server****** My COM+ Application, in his Security Tag are...
27
by: vipleo | last post by:
I am having some issues, when I try to launch another process using Process.Start(ProcessStartInfo psi) on win xp sp2 box (Other versions of xp have no issue). Here is the detail. Main app...
1
by: zhuang | last post by:
Dear all, I found a very interesting thing about viewing crystal report (located on network drive) with asp.net application. To do the impersonation, modify web.config does not work, you have...
0
by: Daniel Knpfel | 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...
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
anoble1
by: anoble1 | last post by:
I have a button in my database that when you hit tit, it imports just 1 excel sheet and puts it in a table. Works great. I am wanting to grab 4 more excel sheets from different locations and store...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...
0
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...

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.