Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > error on connection to access file

Reply
Thread Tools

error on connection to access file

 
 
=?Utf-8?B?ZW56bw==?=
Guest
Posts: n/a
 
      12-06-2004
Hi to all,
I read the file myDB.mdb with :

strConnString ="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\myfile.mdb";
OleDbConnection conn = new OleDbConnection(strConnString);
conn.Open();
..........
all ok.

Then I have changed the Web.config file so :

<authentication mode="Windows"/>
<identity impersonate="true"/>

<allow users="machineName\myUser"/>
<deny users="*" />

and I grant only "myUser" on the database folder with all permissions.

Now on the conn.Open() I have the following OledbException :

messagge = error not specify
source = "Microsoft JET Database Engine"

Where is the error ?

Thanks to all
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
Internal connection fatal error and other random db connection err =?Utf-8?B?cGF0cmlja2RyZA==?= ASP .Net 0 06-14-2007 09:44 AM
ERROR CLOSING CONNECTION: mysql connection close johnny Python 1 12-08-2006 09:42 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57