Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script Error

Status
Not open for further replies.

Blutch

IS-IT--Management
Sep 19, 2002
203
0
0
BE
Hi,
I have mdb database which is loaded by ASP.

Whenever when I want to access my asp page thru my browser I get the following error.

Halcyon JScript runtime error
Internal Error
Line 5 of ASP page

line 5 is:

Recordset1.ActiveConnection = MM_tp_STRING;

Thx for any help
 
and MM_tp_String is ?????????????????






Chris.

Indifference will be the downfall of mankind, but who cares?
 
Sorry, forgot ...

It is my DSN connection

DSN="Teaterpunt"
 
The ActiveConnection property of an ADO Recordset requires a Connection object, not a string. You have to create a connection object, and use your DNS string as the ConnectionString for that object. You can then use that with your recordset.

If you need further explanation I need to see more of your script to be able to help.

Cheers,

Joacim
 
I think AtiveConnection of ADO in asp did'nt necessarily need to be set by Connection object, string is also a valid value.
 
Hi,
If I am not wrong ,Recordset1 in
Recordset1.ActiveConnection = MM_tp_STRING;

is a recordset object and ActiveConnection is a property of command object and not recordset object
Regards
Tushar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top