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

SQL Server problem

I get errors while I try to connect from ASP .NET Web Service to a SQL
server.
After an hour of debuging I found that the problem is the authentication
between ASP .NET worker process and the SQL server.
After I changed the user in web.config file for the ASP .NET service
everything went well.

My question is how to make the SQL connection to work with the ASP .NET
worker account?

TIA
Nov 21 '05 #1
3 827

"Nikolay Petrov" <jo******@mail.bg> wrote in message
news:u0**************@TK2MSFTNGP15.phx.gbl...
I get errors while I try to connect from ASP .NET Web Service to a SQL
server.
After an hour of debuging I found that the problem is the authentication
between ASP .NET worker process and the SQL server.
After I changed the user in web.config file for the ASP .NET service
everything went well.

My question is how to make the SQL connection to work with the ASP .NET
worker account?


I could be wrong, but I believe that account is a local account, not a
domain account. This means that you won't be able to use Windows
Authentication to connect to your SQL Server, and sending a user ID and
password will be your only alternative.
Nov 21 '05 #2
Tnanks
"Jeff Johnson [MVP: VB]" <i.***@enough.spam> wrote in message
news:Ov*************@tk2msftngp13.phx.gbl...

"Nikolay Petrov" <jo******@mail.bg> wrote in message
news:u0**************@TK2MSFTNGP15.phx.gbl...
I get errors while I try to connect from ASP .NET Web Service to a SQL
server.
After an hour of debuging I found that the problem is the authentication
between ASP .NET worker process and the SQL server.
After I changed the user in web.config file for the ASP .NET service
everything went well.

My question is how to make the SQL connection to work with the ASP .NET
worker account?


I could be wrong, but I believe that account is a local account, not a
domain account. This means that you won't be able to use Windows
Authentication to connect to your SQL Server, and sending a user ID and
password will be your only alternative.

Nov 21 '05 #3
Are these computers (the web server and IIS) on the same domain?

If they are, you can set up a local ASPNET user on the SQL box and use
passthrough authentication.

"Reset the ASPNET account's password to a known value and then create a
duplicate account (with the same name and password) on the remote computer."

Under: "Process Identity for ASP.NET"
http://msdn.microsoft.com/library/de...SecNetch08.asp

Another good link:
http://msdn.microsoft.com/library/de...l/secmod15.asp

HTH,
Greg

"Jeff Johnson [MVP: VB]" <i.***@enough.spam> wrote in message
news:Ov*************@tk2msftngp13.phx.gbl...

"Nikolay Petrov" <jo******@mail.bg> wrote in message
news:u0**************@TK2MSFTNGP15.phx.gbl...
I get errors while I try to connect from ASP .NET Web Service to a SQL
server.
After an hour of debuging I found that the problem is the authentication
between ASP .NET worker process and the SQL server.
After I changed the user in web.config file for the ASP .NET service
everything went well.

My question is how to make the SQL connection to work with the ASP .NET
worker account?


I could be wrong, but I believe that account is a local account, not a
domain account. This means that you won't be able to use Windows
Authentication to connect to your SQL Server, and sending a user ID and
password will be your only alternative.

Nov 21 '05 #4

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

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
2
by: epaetz | last post by:
I'm getting Not associated with a trusted SQL Server connection errors on a .Net windows service I wrote, when it's running on my application server. It's not a problem with mixed mode...
0
by: AlessanBar | last post by:
Hello Friends !! I have a strange problem, and I need to know what would be the source of this. I have a laptop computer with the following configuration: Pentium III Brand : Toshiba Speed :...
3
by: Michael | last post by:
Dear All I have problem with my database server which running SQL server 2000. The server running very slow. The worst case, to save a record required more than 20-30 seconds. Since this...
2
by: Helge Kalnes | last post by:
We are running an ASP.NET application on a cluster of 3 web-servers, using the Network Load Balancing feature of Application Center. We have synchronized the machineKey in machine.config on the 3...
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
1
by: sherifbk | last post by:
Problem description ============== - I have 4 clients and 1 server (SQL server) - 3 clients are Monitoring console 1 client is operation console - Monitoring console collects some data from...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.