Re: User dsns are not fetched - SQLDataSources
- From: "Scot T Brennecke" <ScotB@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 3 Sep 2005 21:50:11 -0500
By definition, "user DSNs" are those stored in the profile for the currently logged on user
(HKEY_CURRENT_USER registry). If your ATL component is running as a different user, it will not see
the same DSNs as the logged on user.
"ChitraCK" <ChitraCK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4F84146E-6173-4297-B1F4-299E16759FDC@xxxxxxxxxxxxxxxx
> Hi All,
> I am using SQLDataSources to get all the dsns on the local machine. I am
> able to get system/user dsns when i use this method in an VC++ application.
> But when i use the same code in an ATL component which is getting called from
> the same application it is fetching only system dsns not user dsns. What cud
> be the problem
> Please suggest me on this
>
> --
> ChitraCK
.
- Follow-Ups:
- Re: User dsns are not fetched - SQLDataSources
- From: ChitraCK
- Re: User dsns are not fetched - SQLDataSources
- References:
- User dsns are not fetched - SQLDataSources
- From: ChitraCK
- User dsns are not fetched - SQLDataSources
- Prev by Date: User dsns are not fetched - SQLDataSources
- Next by Date: ODBC version?
- Previous by thread: User dsns are not fetched - SQLDataSources
- Next by thread: Re: User dsns are not fetched - SQLDataSources
- Index(es):
Relevant Pages
|