Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Security / October 2004

Tip: Looking for answers? Try searching our database.

OdbcConnection failed when using Windows authentication and impersonation.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marlon - 13 Oct 2004 13:29 GMT
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#] - 13 Oct 2004 13:58 GMT
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.
Signature

Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

>I got the error message below when I try to open a connection with code:
>
[quoted text clipped - 23 lines]
> 'Temporary (volatile) Jet DSN for process 0xc8c Thread 0xb44 DBC 0x86ca004
> Text'. ERROR [HY000] [Microsoft][ODBC Text Driver] Disk or network error.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.