using Integrated Security SSPI with User ID



Aloha,
I'm writing a desktop/Windows application using VB.net (MSDE 2003).
I'm trying to use integrated security with a User Id and password to
connect to a SQL Server. The SQL Server administrators insist that I
use intergrated security rather than create an account within the SQL
Server. They've made one windows account and they want my application
to log into the SQL server using that windows account. However, when I
use the intergrated security option in the connection string, the
application fails to connect. The error generated makes it clear that
the application is trying to connect as the Windows user that is using
the application and NOT the user that I have specified in the connect
string.

This is my current connect string:

Integrated Security=SSPI;Persist Security Info=False;Data
Source=MY_SQLSERVER_NAME;Initial Catalog=MY_DB_NAME;User
ID=MY_DB_USER_ID;Password=MY_DB_PASSWORD

First of all, is it possible to specify a User ID and Password when
using "Integrated Security"? If not, does anyone have a way to
accomodate the scenario I describe?

Kevin English
Honolulu, HI

.



Relevant Pages

  • Re: Problems with DAO and SQL Server
    ... String, Long or Date/Time. ... Will look at what is possible in the SQL string ... SQL or using TRIMin your query (if available, not familiar with SQL Server) ... Dim cnn As DAO.Connection ...
    (microsoft.public.excel.programming)
  • Re: Login failed for user (null). Reason: Not associated with a trusted SQL Server connection from A
    ... Originally the app was set up to use sql security and not windows ... the IUSR account be able to access the SQL server if that user was created ... > sql server using integrated security. ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Datumsformat im SQL String
    ... daß der String im richtigen Format kommt. ... Die von mir immer gepredigte Variante. ... > - das am SQL Server eingestellte Datumsformat ist egal ...
    (microsoft.public.de.sqlserver)
  • Re: How to look at parameter string
    ... I am tracing, but the problem I can't trace (at least, I haven't figured out ... string it is putting together to send to Sql. ... >> The problem is not coming from Sql Server but from my page. ...
    (microsoft.public.dotnet.framework.adonet)
  • RE: Invalid cursor state when using PRINT in MSSQL
    ... I'm an Oracle not a Sybase or SQL Server person, ... The server and all the SP's I am running this on is MSSQL and not Sybase. ... The PRINT statement takes either one character or a Unicode string ...
    (perl.dbi.users)