Ask a Question related to ASP.NET Security, Design and Development.
-
Hammad Rajjoub #1
Remote SQL Connectivity Problem with ASP.Net Web Application
Hello,
I am connecting to a remote sql server using asp.net web application, the error that i get is "Sql Server does not exist or access denied". now when i use the same query string in a windows based application then connection is made successfully.
am i missing some thing in web.config file (i ve set authentication mode to none)
please respond asap, i badly need to fix this problem
thanks in advance
Hammad.Rajjoub.
Hammad Rajjoub Guest
-
connectivity problem
I am using SCO OPENSERVER 5.0.0 with 35 users.I am now facing a problem, the number of telnet connections are 25 maximum. If the 26 connection is... -
Remote Desktop Connectivity
I have Windows 2003 Enterprise Edition running Active Directory and Exchange 2003 Enterprise on the same server. My problem is, when users try... -
SQL Connectivity problem
We have a web page that connects to SQL server running under Windows Server 2003 and have a connectivity problem Connection is made using NT... -
Problem with Remote SQL Server Connectivity
Hello I am developing a web based application that needs to access data from varied data Sources (Sql Servers) placed at different locations within... -
problem with asp connectivity
I am trying to connect to my oracle data base with my asp page, but it keeps giving an error message "Microsoft OLE DB Provider for ODBC Drivers... -
Ken Schaefer #2
Re: Remote SQL Connectivity Problem with ASP.Net Web Application
If you are running ASP.NET under it's default process identity, then it may
not have access to remote resources. For example, in Windows 2000, ASP.NET
runs under Machine\ASPNET or Machine\IWAM_<machinename> for v1 and v1.1
respectively. These are local accounts and do not have access to remote
resources. You will need to change the process identity to something else.
On Windows 2003, ASP.NET uses the Web App Pool process identity. You will
need to configure that so that it has access to remote resources.
Cheers
Ken
"Hammad Rajjoub" <hammad.rajjoub@lycos.co.uk> wrote in message
news:37EF1E41-6420-4A0B-B184-5C7F6970DD76@microsoft.com...
: Hello,
:
: I am connecting to a remote sql server using asp.net web application, the
error that i get is "Sql Server does not exist or access denied". now when i
use the same query string in a windows based application then connection is
made successfully.
:
: am i missing some thing in web.config file (i ve set authentication mode
to none) ?
:
: please respond asap, i badly need to fix this problem .
:
: thanks in advance.
:
: Hammad.Rajjoub.
Ken Schaefer Guest
-
Hammad Rajjoub #3
Re: Remote SQL Connectivity Problem with ASP.Net Web Application
Hello Ken,
I have actually changed asp.net process identity to Administrator, and
the remote server(having sql server) installed on it has the same
Administrator UserId / Password as on web server.
What else do i need to check ?
Thanks for the response.
regards,
Hammad.Rajjoub.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Hammad Rajjoub Guest
-
Ken Schaefer #4
Re: Remote SQL Connectivity Problem with ASP.Net Web Application
Hi,
Are you using Integrated Windows security in your SQL Server connection
string (Integrated Security=SSPI)? If so, then having two local
administrator accounts with the same password is not enough (as far as I
know - someone else who knows more about how the SSPI interface works might
be able to help you more). You will need to use a domain account instead, or
you somehow need to impersonate the remote administrator account (I don't
know how that's possible though).
Cheers
Ken
"Hammad Rajjoub" <hammad.rajjoub@lycos.co.uk> wrote in message
news:ufktdQMOEHA.892@TK2MSFTNGP09.phx.gbl...
: Hello Ken,
:
: I have actually changed asp.net process identity to Administrator, and
: the remote server(having sql server) installed on it has the same
: Administrator UserId / Password as on web server.
:
: What else do i need to check ?
:
: Thanks for the response.
:
: regards,
: Hammad.Rajjoub.
:
: *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
: Don't just participate in USENET...get rewarded for it!
Ken Schaefer Guest



Reply With Quote

