Problems submitting data from the Web |
 |
EXPERT RESPONSE FROM: Michael Hotek

|
 |
|


|
| > |
QUESTION POSED ON: 22 April 2004
I run a small business, and I am using a SQL Server database (Developer
edition) on my PC (I am running Exchange on my Web/mail server, and
Exchange and SQL Server don't like each other). I am trying to connect
through a DSN on my server that tests successfully. But I keep getting
the same error message when I try to submit data to the database from the Web.
"...not a trusted SQL Server instance" or something like that. I have
the Trusted_Connection=Yes in the connection string as well as my
Windows password and userid (the database is set to Windows authentication).
Any idea what the problem is?
|
|
|
To continue reading for free, register below or login
To read more you must become a member of SearchSQLServer.com
');
// -->

Your Web application is running in the context of the account running
IIS. It doesn't matter what credentials you specify, the Windows
credentials that are used are the ones associated with IIS. There is an
article on http://www.sqlmag.com that goes through setting up a Web
application to connect to SQL Server via trusted connections. For More Information
|
|
|

|
|
 |

 |
 |
Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and
answer pairs from more than 250 TechTarget industry experts.
|
 |
 |
 |
|
 |
 |
 |
|
 |
|
 |