|
| |
|
|
Giomanach
Posts: 6091 Joined: 11/19/2003 From: England Status: offline
|
Small IIS problem - 4/21/2004 16:28:42
Using IIS to view a site locally, written in ASP, and every now and then, I get unspecified error in line 11 of home.asp I know there's nothing wrong with the ASP, b'cos it works fine, it's after every 5 to 10 refreshes of the page I get the error. Tried - Re-installing IIS, Restarting IIS Any Ideas? Cheers Dan
_____________________________
|
|
|
|
Richard Dudley
Posts: 668 Joined: 8/22/2002 From: Butler, PA Status: offline
|
RE: Small IIS problem - 4/21/2004 20:24:14
What's line 11, and what's the error? What's the page doing? If it's accessing a database, maybe you have too many db connections open with 5-10 refreshes?
_____________________________
I need to change my avatar--the puppy is full grown now!
|
|
|
|
ellipisces
Posts: 849 Joined: 12/14/2003 Status: offline
|
RE: Small IIS problem - 4/24/2004 5:43:11
can we see 11?
_____________________________
|
|
|
|
Giomanach
Posts: 6091 Joined: 11/19/2003 From: England Status: offline
|
RE: Small IIS problem - 4/24/2004 16:00:10
Sure adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("DBs/homepage.mdb") I use tehsame line for opening all DB connections. This is the only one in the ASP doc. I close the connection usind End if and/or adoCon.Close depends on what I'm writing the script for, the error happens with both. Might also want to add, I also have Coldfusion and PHP installed on IIS as well Dan
_____________________________
|
|
|
|
ellipisces
Posts: 849 Joined: 12/14/2003 Status: offline
|
RE: Small IIS problem - 4/25/2004 4:36:06
quote:
DRIVER={Microsoft Access Driver confirm Richards suggestion Access is only available for 10 connections, but here's the kicker, each connection uses two! one up, one down. If the server has not finished releasing a connection then it would throw the error "cannot access the database or something like that...
_____________________________
|
|
|
|
Giomanach
Posts: 6091 Joined: 11/19/2003 From: England Status: offline
|
RE: Small IIS problem - 4/25/2004 10:54:19
Ok, what connection type should I be using then? I've used it before without a hitch
_____________________________
|
|
|
|
ellipisces
Posts: 849 Joined: 12/14/2003 Status: offline
|
RE: Small IIS problem - 4/26/2004 2:36:30
its not the connection type it's a limitation of the back-end database you would want to develop and connect to MSsql. (ASP) right?
_____________________________
|
|
|
|
Giomanach
Posts: 6091 Joined: 11/19/2003 From: England Status: offline
|
RE: Small IIS problem - 4/26/2004 3:02:32
Yeah.....
_____________________________
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|