473,548 Members | 2,704 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error when trying to use OdbcConnection in an asp.net application . HELP . PLEASE

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. Can anyone help?
Personal I think it is because of the limited permissions that asp.net
account has.
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
0 1208

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

Similar topics

0
985
by: Galileo | last post by:
My develop computer is windows XP. My program is just five lines. I am using visual basic .net 2003. I set the start procedure to sub main. It works fine with my computer. But when I run the program in windows 2000 and windows 98 system. It goes up an error Application has generated an exception that could not be handle Process...
0
3807
by: Michelle Keys | last post by:
Subject: DataBinder.Eval Error! Server Error in '/MSPOS' Application. ------------------------------------------------------------------------ -------- DataBinder.Eval: 'System.Data.Common.DbDataRecord' does not contain a property with the name REPORTTO. Description: An unhandled exception occurred during the execution of the
2
2751
by: Robert Brown | last post by:
Hi All.. This is a strange one that I hope someone has come across. I have an asp.net application that needs to access a flat file databse via ODBC. I have setup the OBDC DSN and tested it via EXCEL. It works perfect. I have setup a Windows 2000 server with the application and DSn and it works perfect.
3
8891
by: Giuseppe D'Elia | last post by:
Hi there, I got a problem using an MS Access database through ASP.NET. After updating my system from .NET Framework 1.0 to 1.1, my existing application gives me the following error when opening a connection with the code below:
2
2259
by: Chuck Ritzke | last post by:
Hi all, I am getting an intermittant error after uploading a project from my development machine. I click on a link which opens an aspx page that, upon page load, reads a very small amount of data from an MS Access database, using ODBC and a stored query. There is no problem on my development machine. On the production server though, I get...
1
8322
by: Reza Nabi | last post by:
Dear All: I have been developing ASP.NET application on MS Access database using ODBC. When I was trying to save more than 255 chars in a Memo field I got the following error. ERROR Invalid precision value Below is the code snippet of two function where it is breaking. Any advice on this would be greatly appreciated.
1
8814
by: Mikey G | last post by:
Hi, I created a simple VB.NET 2003 application through Visual Studio that connects to a MySQL database and loads a table into a Dataset, and then displays that table information in a DataGrid on a form for editing. The table fill works fine, the delete function works fine, but when I try to update a row, the application fails with the...
0
12014
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in '/CinemaBookingSystem' Application. -------------------------------------------------------------------------------- ERROR General error Unable to open registry...
1
5166
by: zb | last post by:
I am writing a C# program that uses MySQL as database and MySQL ODBC 3.51 driver. It works fine all the way except this scenario that needs to be addressed. 1. Get a set of records to process (this brings back a datatable in C# and works fine. It uses a limit of 30 records each time). 2. Process the information from Step 1. 3. Check in...
0
7518
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
7711
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
7954
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
7467
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...
1
5367
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
5085
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3497
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3478
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1054
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.