Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Can't get access to a Microsoft Access data base from a bind control in Web Form

Reply
Thread Tools

Can't get access to a Microsoft Access data base from a bind control in Web Form

 
 
Hans Östlund
Guest
Posts: n/a
 
      02-05-2004
I use the vb.net. When I try to bind a control (any) in a Web Form, I always
get the following error message:

[OleDbException (0x80004005): Det går inte att öppna filen
'C:\Inetpub\wwwroot\retbas.mdb'.Den är antingen låst av annan användare
eller måste du ha behörighet att läsa den.]Translated into english it would
be something like: "Impossible to open the file
'C:\Inetpub\wwwroot\retbas.mdb'.It is locked by another user or you must
have the authority to read it.I'm following the Microsoft example
at:http://msdn.microsoft.com/library/de...en-us/vbcon/ht
ml/vbtskdatabindingmulti-recordcontrols.asp- I am the administrator- There
is no password for the database- Everything work well in Windows
FormsPlease, I would be greatful if you can help me!


 
Reply With Quote
 
 
 
 
Alessandro Zifiglio
Guest
Posts: n/a
 
      02-05-2004
Right click on your .mdb file and in your security tab give it full
read/write privileges.

Another possible reason is because you have this file open in access, close
it and try again.

"Hans Östlund" <> wrote in message
newsxoUb.47951$...
> I use the vb.net. When I try to bind a control (any) in a Web Form, I

always
> get the following error message:
>
> [OleDbException (0x80004005): Det går inte att öppna filen
> 'C:\Inetpub\wwwroot\retbas.mdb'.Den är antingen låst av annan användare
> eller måste du ha behörighet att läsa den.]Translated into english it

would
> be something like: "Impossible to open the file
> 'C:\Inetpub\wwwroot\retbas.mdb'.It is locked by another user or you must
> have the authority to read it.I'm following the Microsoft example
>

at:http://msdn.microsoft.com/library/de...en-us/vbcon/ht
> ml/vbtskdatabindingmulti-recordcontrols.asp- I am the administrator- There
> is no password for the database- Everything work well in Windows
> FormsPlease, I would be greatful if you can help me!
>
>



 
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
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola MCSE 4 11-15-2006 02:40 AM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd loyola Microsoft Certification 3 11-14-2006 05:18 PM
microsoft.public.certification, microsoft.public.cert.exam.mcsa, microsoft.public.cert.exam.mcad, microsoft.public.cert.exam.mcse, microsoft.public.cert.exam.mcsd realexxams@yahoo.com Microsoft Certification 0 05-10-2006 02:35 PM
Using a data-bind dropdownlist to populate another data-bind dropdownlist mr2_93 ASP .Net 1 10-02-2005 05:07 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 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