Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How do I open a database connection on an access file that currently open ?

Reply
Thread Tools

How do I open a database connection on an access file that currently open ?

 
 
THY
Guest
Posts: n/a
 
      08-22-2003
Hi,

I have create a connection to an access database, but before I close the
connection,
another user cannot run the web application correctly, I got the error
Operation is not allowed when the object is open.

is it the problem of my connection string ?

thanks


 
Reply With Quote
 
 
 
 
Gönen EREN
Guest
Posts: n/a
 
      08-22-2003
access files accept only one connection (this is a file : when it's open
it's locked ) you have to use a server like MSSql,MySql,Oracle,...


 
Reply With Quote
 
 
 
 
THY
Guest
Posts: n/a
 
      08-22-2003
If it is locked, why we still can open the data file using ms access ?

btw, can we make the page to hold until the database is close then open it ?
so the user wont get any error if the database currently is opened ...
is this possible ?


"Gönen EREN" <> wrote in message
news:...
> access files accept only one connection (this is a file : when it's open
> it's locked ) you have to use a server like MSSql,MySql,Oracle,...
>
>



 
Reply With Quote
 
THY
Guest
Posts: n/a
 
      08-22-2003
I don't know much about mysql ...
how do I connect mysql with ASP.NET ?

and can mysql import access ?

thanks


"Gönen EREN" <> wrote in message
news:...
> yes you can try to make something like this
> using
>
> try{}
> catch{}
>
> but why access?
> access isn't a database server
> you can use for example MySql, it's free
> www.mysql.com
> i don't think you will get a good performance from your site with

access...
>
>



 
Reply With Quote
 
Gönen EREN
Guest
Posts: n/a
 
      08-22-2003
no you have to use oledb

download mysql server and mycc or an alternatif to this mysql front ( last
two are gui 's)

then connect using a connection string




"THY" <> wrote in message
news:%...
> mysql got own connection provider ???
>
>
>
> "estafford" <estafford your pants @newmancom.com> wrote in message
> news:eM%...
> > using OLE DB you can connect using
> > "Provider=MySQLProv;Data Source=mydb;User Id=UserName;Password=asdasd;"
> >
> > Yes, there are utilities that will move your Access DB to MySQL, but you

> may
> > want to look here first.
> > http://www.kitebird.com/articles/acc...ate.html#TOC_5
> >
> > Ed
> >
> > "THY" <> wrote in message
> > news:...
> > > I don't know much about mysql ...
> > > how do I connect mysql with ASP.NET ?
> > >
> > > and can mysql import access ?
> > >
> > > thanks
> > >
> > >
> > > "Gönen EREN" <> wrote in message
> > > news:...
> > > > yes you can try to make something like this
> > > > using
> > > >
> > > > try{}
> > > > catch{}
> > > >
> > > > but why access?
> > > > access isn't a database server
> > > > you can use for example MySql, it's free
> > > > www.mysql.com
> > > > i don't think you will get a good performance from your site with
> > > access...
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
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
Database Database Database Database scott93727@gmail.com Computer Information 0 09-27-2012 02:43 AM
DataBase DataBase DataBase DataBase scott93727@gmail.com Computer Information 0 09-26-2012 09:40 AM
No connection to the Internet is currently available r_mervart Computer Support 1 07-11-2005 12:38 AM
Hi I have one web application and i want to get the number of users who are currently accessing the application. Also I want to get the user details of each user, which is stored in a database. How can I do this? Pls help. Getting No: and anu Java 11 05-12-2005 03:25 PM
IE gives error message when laptop comes out of standby "no connection to the internet is currently available....." Joe Blo Computer Support 3 02-03-2004 11:44 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