Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
Ron #1
Re: Multiple connections problems
> I have multiple recordsets on a page that use the same connection file to
How many recordsets?
I would advise to use the one connection for multiple recordsets, but do
understand that it takes away from your DW productivity. I can't test this
out, but heres what I'd try:
- Modify the connMydb.asp file like so:
Dim MM_connMydb_STRING
' for local development
MM_connMydb_STRING = "Provider=Microsoft.Jet....."
' for remote server, comment out the above line, uncomment the below lines
' Set MM_connMydb_STRING = Server.CreateObject( "ADODB.Connection" )
' MM_connMydb_STRING.ConnectionString = "Provider=Microsoft.Jet...."
' MM_connMydb_STRING.Open
So, when your testing locally, you'd use the string version of
MM_connMydb_STRING, and being sure that the ADO Connection version of the
same variable is commented out. When deploying...just comment out the string
version, uncomment the Connection version.
--
Ron
Ron Guest
-
Multiple connections for Contribute?
Well, we have a development server and a production server. When they are done testing and developing we prefer that they still update the... -
Multiple Connections on Contribute?
Well, we have a development server and a production server. When they are done testing and developing we prefer that they still update the... -
Multiple connections to same server
I've a contribute-site on a server X which has DNS name A, then I created another site (Apache VirtualHost) on the same server X with dns-name B.... -
Multiple Connections to same site
I have two folders within the same site that I need to create different connections to because the location of the images/documents needs to be... -
Managing multiple network connections?
I've recently started using my laptop for networking. I have a network connection for my office LAN. I also do a lot of work outside of the... -
Shane Anderson #2
Re: Multiple connections problems
Maybe its the permissions again....
sometime the page is fine then next hit it isn't - especially with one rs.
Hmmm
BTW just for my own learning how does setting and opening the connection on
the connection file help/change things?
Thanks again
Shane
"Shane Anderson" <shane.anderson@btinternet.com> wrote in message
news:beoqfu$2j8$1@forums.macromedia.com...> Thanks Ron
>
> There are 5 recordsets in all.
>
> This solution seems to work fine on pages where there are multilple
> recordsets but if there is only one then there are problems
> Microsoft JET Database Engine error '80004005'
>
> Unspecified error
>
> on the .open line of connMydb.asp
>
> Do I need to create a different connection file for multiples and singles?
>
> Thanks
> Shane
>
>
Shane Anderson Guest



Reply With Quote

