473,386 Members | 1,795 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.

How to influence who the User is

I have an ASP.NET application that was ported from a server where IIS, the
database (SQL Server 2000) and web application were on the same server.

The new server is a Windows 2003 (Webserver edition) and the database server
is a Windows 2003 (SMB edition) (also SQL Server 2000).

The application uses sql data adapters and sql command object to access the
database. The connection string is correct. When I run the application, I
get the error message that . . . "Login for WebDell$ failed." WebDell is the
name of the webserver.

Event though WebDell$ does not show up as a Windows users, I explicitly
added it to the SQL Server Login and granted access to the database as dbo.
When I run the application, the login succeeds but the error states that
"access to the catalogue = "DMS" is denied.

How do we influence what user an ASP.NET application runs as? Where does
the WebDell$ user come from?

WR

PS: Given the innumerable possible configurations that exists, I may have
not included enough information, but I am hoping some recognizes this problem.

Feb 13 '06 #1
1 1018
Hi WhiskyRomeo,

I would guess that your WebDell$ may be the account being used by IIS for
anonymous access. You can check this on the security properties page of the
web site in the IIS MMC console.

I would perhaps suggest that you create a separate SQL account and a DB
Role, then add the SQL account as a member of the Role. The SQL user would
need to be a member of public (by default), and access to the DBO. The Role
would have execute rights to your sprocs.

You would need to update your connection string to use the new SQL account
values.

Hope this helps.

Al
"WhiskyRomeo" <Wh*********@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
I have an ASP.NET application that was ported from a server where IIS, the
database (SQL Server 2000) and web application were on the same server.

The new server is a Windows 2003 (Webserver edition) and the database
server
is a Windows 2003 (SMB edition) (also SQL Server 2000).

The application uses sql data adapters and sql command object to access
the
database. The connection string is correct. When I run the application,
I
get the error message that . . . "Login for WebDell$ failed." WebDell is
the
name of the webserver.

Event though WebDell$ does not show up as a Windows users, I explicitly
added it to the SQL Server Login and granted access to the database as
dbo.
When I run the application, the login succeeds but the error states that
"access to the catalogue = "DMS" is denied.

How do we influence what user an ASP.NET application runs as? Where does
the WebDell$ user come from?

WR

PS: Given the innumerable possible configurations that exists, I may have
not included enough information, but I am hoping some recognizes this
problem.

Feb 13 '06 #2

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

Similar topics

60
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
1
by: Peter Hartmann | last post by:
How do I influence the platform type during install? Could you look at this and tell me what I'm doing wrong? It's still using information from get_platform instead of using my preference. #...
3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
1
by: Shourie | last post by:
I've noticed that none of the child controls events are firing for the first time from the dynamic user control. Here is the event cycle. 1) MainPage_load 2) User control1_Load user clicks a...
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
13
by: Pieter | last post by:
Hi, Maybe a little bit off-topic, but it still seemd the best place to ask for it :-) I'm planning to buy a new development laptop, and I would like to buy an AMD, Dual Core,-bit But none of...
0
by: Albert Greinöcker | last post by:
Hi there, I have a very general question about .NET remoting using SOAP: is there any way to influence WSDL generation (like setting a different target-namespace, or which classes (e.g. custom...
0
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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
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
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...

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.