Ask a Question related to ASP.NET Security, Design and Development.
-
Marlon #1
OdbcConnection failed when using Windows authentication and impersonation.
I got the error message below when I try to open a connection with code:
Dim connection As New OdbcConnection("Driver={Microsoft Text Driver (*.txt;
*.csv)};DBQ=C:\Inetpub\aesd")
connection.Open()
I am developing an asp.net application on Windows XP SP2 using Windows
authentication and impersonation. Can anyone help?
Personal I think it is because of a permissions/security problem
ERROR [HY000] [Microsoft][ODBC Text Driver]General error Unable to open
registry key 'Temporary (volatile) Jet DSN for process 0xc8c Thread 0xb44
DBC 0x86ca004 Text'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's
SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Text Driver]General
error Unable to open registry key 'Temporary (volatile) Jet DSN for process
0xc8c Thread 0xb44 DBC 0x86ca004 Text'. ERROR [HY000] [Microsoft][ODBC Text
Driver] Disk or network error. ERROR [HY000] [Microsoft][ODBC Text
Driver]General error Unable to open registry key 'Temporary (volatile) Jet
DSN for process 0xc8c Thread 0xb44 DBC 0x86ca004 Text'. ERROR [HY000]
[Microsoft][ODBC Text Driver]General error Unable to open registry key
'Temporary (volatile) Jet DSN for process 0xc8c Thread 0xb44 DBC 0x86ca004
Text'. ERROR [HY000] [Microsoft][ODBC Text Driver] Disk or network error.
Marlon Guest
-
Impersonation with Forms Authentication
Can anybody help, I?m pretty new to .NET but followed the instructions for the following. How to authenticate against the Active Directory by... -
Windows authentication with impersonation - network resource access fails
Hi, I have a question regd. Windows authentication and network file access. My asp.net application doesn't use any of the .NET's authentication... -
Integrated Authentication, Impersonation, and Web Services
Environment: OS: Windows 2003 IIS: 6 ..Net Framework: 1.1 Authentication Scheme: Windows Integrated Authentication Impersonation: Enabled ... -
Total Confusion! - ACLs and Windows authentication with no impersonation
Hi all, apologies if this has come up before, but I've been searching the whole day and found nothing... If I have authentication set to... -
Capturing a failed login within "windows authentication"
Is there an event or "something" that happens when I can Log a message (or whatever) when a logon attempt fails when unsing "Windows... -
Miha Markic [MVP C#] #2
Re: OdbcConnection failed when using Windows authentication and impersonation.
Hi,
asp.net application is using asp.net local windows account, so make sure the
account has necessary privileges (it has minimum privileges by default).
Or, make asp.net application run under other account.
Or, don't use integrated security.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
[url]www.rthand.com[/url]
"Marlon" <mreid@exhibitworks.com> wrote in message
news:uM9vaBSsEHA.904@TK2MSFTNGP11.phx.gbl...>I got the error message below when I try to open a connection with code:
>
> Dim connection As New OdbcConnection("Driver={Microsoft Text Driver
> (*.txt;
> *.csv)};DBQ=C:\Inetpub\aesd")
> connection.Open()
>
> I am developing an asp.net application on Windows XP SP2 using Windows
> authentication and impersonation. Can anyone help?
> Personal I think it is because of a permissions/security problem
>
> ERROR [HY000] [Microsoft][ODBC Text Driver]General error Unable to open
> registry key 'Temporary (volatile) Jet DSN for process 0xc8c Thread 0xb44
> DBC 0x86ca004 Text'. ERROR [IM006] [Microsoft][ODBC Driver Manager]
> Driver's
> SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Text
> Driver]General
> error Unable to open registry key 'Temporary (volatile) Jet DSN for
> process
> 0xc8c Thread 0xb44 DBC 0x86ca004 Text'. ERROR [HY000] [Microsoft][ODBC
> Text
> Driver] Disk or network error. ERROR [HY000] [Microsoft][ODBC Text
> Driver]General error Unable to open registry key 'Temporary (volatile) Jet
> DSN for process 0xc8c Thread 0xb44 DBC 0x86ca004 Text'. ERROR [HY000]
> [Microsoft][ODBC Text Driver]General error Unable to open registry key
> 'Temporary (volatile) Jet DSN for process 0xc8c Thread 0xb44 DBC 0x86ca004
> Text'. ERROR [HY000] [Microsoft][ODBC Text Driver] Disk or network error.
>
>
>
>
>
Miha Markic [MVP C#] Guest



Reply With Quote

