473,549 Members | 2,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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={Micros oft 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
SQLSetConnectAt tr 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.

Nov 18 '05 #1
1 5109
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
www.rthand.com

"Marlon" <mr***@exhibitw orks.com> wrote in message
news:uM******** *****@TK2MSFTNG P11.phx.gbl...
I got the error message below when I try to open a connection with code:

Dim connection As New OdbcConnection( "Driver={Micros oft 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
SQLSetConnectAt tr 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.


Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
4739
by: DC Gringo | last post by:
Using latest SP Win2k and .NET versions, I have a .NET application running on server1 with a SQL Server database running on server2. I have the Windows user account passwords sync'd for server1\aspnet (installed by .NET Framework and server2\aspnet (created by me--this machine has no .NET Framework on it). The aspnet user on the database...
1
2706
by: Mark | last post by:
We are using impersonation so that a user on our domain will login into our SQL Server using their own domain login and/or associated domain groups. To do this, we've added: <authentication mode="Windows" /> <identity impersonate="true"/> to our web.config file. In IIS, annonymous access is unchecked, digest authentication is...
1
6098
by: Edward Yang | last post by:
I setup web.config with impersonation="true". On our local server the project works great. I did the same procedures on our staging server, but it failed with an impossible error: Server Error in '/' Application. -------------------------------------------------------------------------------- Access denied to...
3
3614
by: Linda | last post by:
I do not want to use Impersonation, and I do not want to add the ASPNET user name to the SQL Server user accounts. I want a user to use windows authentication to log into the site, and then have their own specific credentials passed on to SQL Server, which will determine what access rights that user has to the database. I have seen this...
2
9067
by: Adnan Al-Ghourabi | last post by:
Hi, We have an application running on IIS 6.0, on a windows 2003 box. The back-end database, a SQL Server 2000, runs on anohter server, windows 2000. We have enabled integrated authentication, and provided the windows account the appropriate permissions in SQL Server. If running the application locally on the server, the user...
1
6589
by: Srinivas Chintakindi | last post by:
Hi All, I am developing one ASP.NET 2.0 application in which user test the remote sql server existance. User enters remote sql server name, data base name, authentication mode, user name, password. I am making the connection string based on the authentication mode. If it is integrated authentication my connection string would be as below. ...
6
12763
by: Not Me | last post by:
Hey, We have an sql server 2000 machine and IIS 6 machine running seperately but on the same domain. I can connect fine to the database without using impersonation, but when it's enabled I get the error: "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection." When I check...
0
1509
by: Daniel Knöpfel | last post by:
Hello On our asp.net 2.0 website we impersonate every request to the identity of the user logged in. This works this way: 1. user logs in, providing username, password 2. user is authenticated against an active directory and the windows identity is retrieved (and stored in the session!!) 3. user is impersonated using the windows identity...
4
3778
by: Brett | last post by:
I have an ASP.NET 2.0 application that uses Forms Authentication. The startup page contains just a login control, and the site works well on an IIS 6 web server. I am now setting the site up on the production web server, which runs Windows 2008 Server and IIS 7. The login page comes up, but when I try to log in, I get the error, "Login...
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7450
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.