Re: Need help with connect string for using Application Roles in SQL Server.
From: Jeff Dillon (jeff_at_removeemergencyreporting.com)
Date: 11/10/04
- Next message: Kingsley Idehen: "Re: ADO.NET and ODBC { CALL ..... } Syntax"
- Previous message: Jeff Dillon: "Re: LEFT JOIN"
- In reply to: Ken Varn: "Need help with connect string for using Application Roles in SQL Server."
- Next in thread: Ken Varn: "Re: Need help with connect string for using Application Roles in SQL Server."
- Reply: Ken Varn: "Re: Need help with connect string for using Application Roles in SQL Server."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Nov 2004 10:35:05 -0800
No, without the proper login, you won't be able to connect to the database
at all.
Have you succeeded in making a connection without using Application Roles?
Also, show your connection string
Jeff
"Ken Varn" <nospam> wrote in message
news:Oj3Ip60xEHA.2012@TK2MSFTNGP15.phx.gbl...
> I am trying to figure out how to do a connection string for a ADO.NET
> SqlConnection object on a database that implements Application Roles. I
> cannot seem to get the connection to work. I am of the impression that an
> initial connection must be made to the database and then the sp_setapprole
> stored procedure must be run to get the proper Application Role permission
> to the database. I cannot get past the Open() method of the connection
> object to get to a position where I can run the sp_setapprole stored
> procedure. Is there some specific connection string that I need to use?
> Please help!
>
>
> --
> -----------------------------------
> Ken Varn
> Senior Software Engineer
> Diebold Inc.
>
> EmailID = varnk
> Domain = Diebold.com
> -----------------------------------
>
>
- Next message: Kingsley Idehen: "Re: ADO.NET and ODBC { CALL ..... } Syntax"
- Previous message: Jeff Dillon: "Re: LEFT JOIN"
- In reply to: Ken Varn: "Need help with connect string for using Application Roles in SQL Server."
- Next in thread: Ken Varn: "Re: Need help with connect string for using Application Roles in SQL Server."
- Reply: Ken Varn: "Re: Need help with connect string for using Application Roles in SQL Server."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|