PC Review


Reply
Thread Tools Rate Thread

concurrency issues (on aspx page in vb)

 
 
Brian Henry
Guest
Posts: n/a
 
      8th Oct 2003
I have a asp page which uses ado.net to access a access database, and when
two people try to retrieve information from a page that is generated from
the access database, i get the you cant do this the database's state=open
error page... how do i get around this? there will be a lot of users on this
site... thanks!


 
Reply With Quote
 
 
 
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      8th Oct 2003
If there will be a lot of users on your site then Access will not be
sufficient. It is not scalable enough and won't be able to handle more than
a few simultaneous users no matter how you adjust your connection string.
You should upgrade to SQL Server.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net



"Brian Henry" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a asp page which uses ado.net to access a access database, and when
> two people try to retrieve information from a page that is generated from
> the access database, i get the you cant do this the database's state=open
> error page... how do i get around this? there will be a lot of users on

this
> site... thanks!
>
>



 
Reply With Quote
 
Brian Henry
Guest
Posts: n/a
 
      8th Oct 2003
well, 100 users total, but i wouldn't expect more then 5 useing it at once.


"Steve C. Orr [MVP, MCSD]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If there will be a lot of users on your site then Access will not be
> sufficient. It is not scalable enough and won't be able to handle more

than
> a few simultaneous users no matter how you adjust your connection string.
> You should upgrade to SQL Server.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://Steve.Orr.net
>
>
>
> "Brian Henry" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I have a asp page which uses ado.net to access a access database, and

when
> > two people try to retrieve information from a page that is generated

from
> > the access database, i get the you cant do this the database's

state=open
> > error page... how do i get around this? there will be a lot of users on

> this
> > site... thanks!
> >
> >

>
>



 
Reply With Quote
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      8th Oct 2003
That's definitely pushing the limits.
Here are some connection strings you might want to experiment with:
http://www.able-consulting.com/ADO_Conn.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net



"Brian Henry" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> well, 100 users total, but i wouldn't expect more then 5 useing it at

once.
>
>
> "Steve C. Orr [MVP, MCSD]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > If there will be a lot of users on your site then Access will not be
> > sufficient. It is not scalable enough and won't be able to handle more

> than
> > a few simultaneous users no matter how you adjust your connection

string.
> > You should upgrade to SQL Server.
> >
> > --
> > I hope this helps,
> > Steve C. Orr, MCSD, MVP
> > http://Steve.Orr.net
> >
> >
> >
> > "Brian Henry" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > I have a asp page which uses ado.net to access a access database, and

> when
> > > two people try to retrieve information from a page that is generated

> from
> > > the access database, i get the you cant do this the database's

> state=open
> > > error page... how do i get around this? there will be a lot of users

on
> > this
> > > site... thanks!
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      9th Oct 2003
Hi Brian,
I never had this problem or seen this problem, but I would definitly do 2
things:
If the solution only needed reading, I would look why my locking is not read
only.
If it needs writing, putting it in a while loop with inside a try catch end
try catch block.

I don't think that your 2 user problem has something to do with whatever
database you use.
I think that 2 user access should even be possible to handle with a
textfile.
Just a thought
Cor



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 1 2nd Oct 2007 01:05 AM
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 0 1st Oct 2007 11:40 PM
How to Pass values between from a popup page aspx & a normal page aspx Marco Antonio Montalvo Durán Microsoft ASP .NET 2 23rd Jan 2004 09:35 PM
concurrency issues (on aspx page in vb) Brian Henry Microsoft ADO .NET 4 9th Oct 2003 08:14 AM
concurrency issues (on aspx page in vb) Brian Henry Microsoft ASP .NET 4 9th Oct 2003 08:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:25 AM.