T
Trillian
This is a followup to my previous post that was answered by Jim Buyens...
His solution worked for one of my webs but I have a second web with the
exact same page. I copied the code in once I got it working and on that .asp
page I get:
Database Results Error
The operation failed. If this continues, please contact your server
administrator.
That implies I don't have default values for db fields...I think...but it's
the same db that works fine with the other web.
This second web also access another Access db, so the global.asa has two db
connections. Could this be the problem?
I checked an .asp page that accessess this other db and it works. All other
..asp pages in this web access this second db. Only the one problem page
accesses the db common to my other web.
What does the line below do? (at the bottom of the global.asa) I renamed the
db connections db1 and db2 for simplicity:
<mso:connectionstatus msdt:dt="string">db1=1 db2=1</mso:connectionstatus>
In the other web that works, the line is this:
<mso:connectionstatus msdt:dt="string">db1=1</mso:connectionstatus>
In an older version of the global.asa's there was a line below each
multi-line db connection definition like this:
FrontPage_UrlVars(0) = "db1_ConnectionString"
The global.asa for the web that works (with only one db connection) doesn't
have this line and it works fine. I added it back in to the other web and it
made no difference, still got the error.
His solution worked for one of my webs but I have a second web with the
exact same page. I copied the code in once I got it working and on that .asp
page I get:
Database Results Error
The operation failed. If this continues, please contact your server
administrator.
That implies I don't have default values for db fields...I think...but it's
the same db that works fine with the other web.
This second web also access another Access db, so the global.asa has two db
connections. Could this be the problem?
I checked an .asp page that accessess this other db and it works. All other
..asp pages in this web access this second db. Only the one problem page
accesses the db common to my other web.
What does the line below do? (at the bottom of the global.asa) I renamed the
db connections db1 and db2 for simplicity:
<mso:connectionstatus msdt:dt="string">db1=1 db2=1</mso:connectionstatus>
In the other web that works, the line is this:
<mso:connectionstatus msdt:dt="string">db1=1</mso:connectionstatus>
In an older version of the global.asa's there was a line below each
multi-line db connection definition like this:
FrontPage_UrlVars(0) = "db1_ConnectionString"
The global.asa for the web that works (with only one db connection) doesn't
have this line and it works fine. I added it back in to the other web and it
made no difference, still got the error.