close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Iis

Thread began 6/08/2011 4:58 am by russell298997 | Last modified 6/08/2011 2:01 pm by russell298997 | 1414 views | 7 replies

russell298997

thanks jason.

regards my other point about the DSN-less connection that you replied to yesterday, would you be kind enough to quickly just comment on the following and then i promise to leave you alone as i appreciate this is wide of webassist's remit - i'm just a bit confused.

i m,anged to get a new ASP page to connect using:

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "E:\Domains\e\everythingforthechef.com-19969252\user\database\chef.mdb"
%>

it works fine for a new test page that has had no recordsets already created, but if i apply this to a page that already exists with recordsets, it doesnt work. If i open the Add Recordset DIalog box in DW, it says "Unable to retrieve tables from this connection, click on the Define button and test connection"

When I look at the code for a recordset they all refer to the previous conn_chef DSN connection, i.e ;

<%
Dim rsMfrMenu
Dim rsMfrMenu_cmd
Dim rsMfrMenu_numRows

Set rsMfrMenu_cmd = Server.CreateObject ("ADODB.Command")
rsMfrMenu_cmd.ActiveConnection = MM_eftc_STRING
rsMfrMenu_cmd.CommandText = "SELECT * FROM tbl_mfr ORDER BY item_mfr ASC"
rsMfrMenu_cmd.Prepared = true

Set rsMfrMenu = rsMfrMenu_cmd.Execute
rsMfrMenu_numRows = 0
%>


Is there a way around this or will my new DSN-less connection mean my pages won't work?

If you could point me in the right direction I'd be grateful as ever.

thanks

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...