473,396 Members | 1,608 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.

Changing User

Hi all,

I have an asp.net website that references some dlls. The web site has
been configured to use anonymous access(with windows credential user
name and password) and also Windows Authentication. When I am running
the web site, On trying to bind to the dll, I am getting an access
denied error. I can see that it is running as "NT AUTHORITY\SYSTEM".
How can I change it to run as my user acccount ? I tried
impersonate=true with authentication mode as windows..Does not Help :(
....Any ideas how to change it ?

here is the stack trace
------------------------------------------------------------------------------------------------------------
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'AdHocQueryAppWS' could not be loaded.
Assembly manager loaded from:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\mscorw ks.dll
Running under executable
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet _wp.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\SYSTEM
LOG: DisplayName = AdHocQueryAppWS
(Partial)
LOG: Appbase =
file:///C:/Dev/BOFA.PrimeBrokerage/Apps/Web/PrimeBrokerWeb/
LOG: Initial PrivatePath =
C:\Dev\BOFA.PrimeBrokerage\Apps\Web\PrimeBrokerWeb \bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file:
C:\Dev\BOFA.PrimeBrokerage\Apps\Web\PrimeBrokerWeb \web.config
LOG: Using host configuration file:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\aspnet .config
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\config \machine.config.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/prd/8035db9b/136711ae/AdHocQueryAppWS.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET
Files/prd/8035db9b/136711ae/AdHocQueryAppWS/AdHocQueryAppWS.DLL.
LOG: Attempting download of new URL
file:///C:/Dev/BOFA.PrimeBrokerage/Apps/Web/PrimeBrokerWeb/bin/AdHocQueryAppWS.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing
terminated.
------------------------------------------------------------------------------------------------------------------
Thanks
Hari

Nov 30 '06 #1
0 1076

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

Similar topics

3
by: mvargasp | last post by:
Hi all, I have a web form which contains a frame, (a form containing a menu on the left and a web form containing a datagrid on the right). Also there is a button (right side) which transforms...
2
by: ehm | last post by:
I am working on creating an editable grid (for use in adding, deleting, and editing rows back to an Oracle database). I have a JSP that posts back to a servlet, which in turns posts to a WebLogic...
1
by: Mindy Geac | last post by:
Hello, I'm seaching for the possibility to change Domain/User passwords. And a check for users if the password has to change with the first logon or when the password is expired. thanx, ...
0
by: kehmka | last post by:
Hello, I need to understand the full scope of changing the Profile.UserName property when a user goes from anonymous to authenticated. It's read-only and essential to acquiring profile...
2
by: S P Arif Sahari Wibowo | last post by:
Hi! Do you know how to put a form's Access-Visual-Basic-code that will force the form to be inserted, while the user has not type anything in the form, without changing focus, selection, etc.? ...
0
by: al | last post by:
Greeings All, Your kine help is really appreciated. I have this simple UserControl(ChangeDirection.aspx) with a button on it to trigger change of Browser direction,right to left(rtl)(there is...
2
by: Jim Frazer | last post by:
Hi, I'm working on an application in C# that will allow the user to create simple CAD drawings on a CEPC system. I would like to be able to change the cursor shape depending on the drawing mode...
1
by: Bala Nagarajan | last post by:
Hello, I am building a web service application in which i will have to implement logging based on user id. My question is where do i store the user ids? Since the nature of this problem is so...
0
by: michael ngong | last post by:
pramod@rtimes.com (Pramod Ramachandran) wrote in message news:<6616e304.0306240122.4dd3ecd5@posting.google.com>... Permit me start with the second question. It would be easier to be more...
2
by: JOHNSHELL08 | last post by:
Dear Team, There is a problem related to change ip address there in my network a domain admin user is exist and user knows its password and by this they are able to login with this...
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: 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
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...
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
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
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
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.