|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Help With Visual Studio
I am using Visual Studio 6.0 to create a asp web page, but when I try to view the page I get a exception error pointing to a line #. The error seems to be related to the recordset from the SQL database. I have went through the MSDN help files and not been able to locate any reference. Is this a common error? This is the first page I have tried to do.
thanks |
|
#2
|
||||
|
||||
|
Post the code and the error message.
Is there are reason you are using VB 6 to create a web page? |
|
#3
|
|||
|
|||
|
Sorry, I am using visual interdev 6.0. Here is the error and the code.
Error Type: (0x80020009) Exception occurred. /TrussDesignWorks/cust.asp, line 140 Browser Type: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Page: GET /TrussDesignWorks/cust.asp </OBJECT> --> <!-- End Layout Header --> <!--METADATA TYPE="DesignerControl" endspan--> <p> <!--METADATA TYPE="DesignerControl" startspan <OBJECT id=statelist style="TOP: 0px" classid=clsid:9CF5D7C2-EC10-11D0-9862-0000F8027CA0><PARAM NAME="ExtentX" VALUE="12197"><PARAM NAME="ExtentY" VALUE="2090"><PARAM NAME="State" VALUE="(TCConn=\qConnection2\q,TCDBObject=\qDE\sCommands\ q,TCDBObjectName=\qCommand3\q,TCControlID_Unmatche d=\qstatelist\q,TCPPConn=\qConnection2\q,RCDBObjec t=\qRCDBObject\q,TCPPDBObject=\qDE\sCommands\q,TCP PDBObjectName=\qCommand3\q,TCCursorType=\q3\s-\sStatic\q,TCCursorLocation=\q3\s-\sUse\sclient-side\scursors\q,TCLockType=\q3\s-\sOptimistic\q,TCCacheSize_Unmatched=\q100\q,TCCom mTimeout_Unmatched=\q30\q,CCPrepared=0,CCAllRecord s=1,TCNRecords_Unmatched=\q10\q,TCODBCSyntax_Unmat ched=\q\q,TCHTargetPlatform=\q\q,TCHTargetBrowser_ Unmatched=\qServer\s(ASP)\q,TCTargetPlatform=\qSer ver\s(ASP)\q,RCCache=\qRCBookPage\q,CCOpen=1,GCPar ameters=(Rows=0))"> </OBJECT> --> <!--#INCLUDE FILE="_ScriptLibrary/Recordset.ASP"--> <SCRIPT LANGUAGE="JavaScript" RUNAT="server"> function _initstatelist() { thisPage.createDE(); var rsTmp = DE.Recordsets('Command3'); <<<line 140>>> statelist.setRecordSource(rsTmp); statelist.open(); if (thisPage.getState('pb_statelist') != null) statelist.setBookmark(thisPage.getState('pb_statel ist')); } function _statelist_ctor() { CreateRecordset('statelist', _initstatelist, null); } function _statelist_dtor() { statelist._preserveState(); thisPage.setState('pb_statelist', statelist.getBookmark()); } </SCRIPT> |
|
#4
|
|||
|
|||
|
Probably some problem with your connection. I'd say don't use the VID design controls unless you only have 100% MS clients on an Intraned LAN you can control.
I spent way too much time trying to fix non-obvious problems with the dt controls, and got much happier when I coded my own db code. Now I'm happy with VID as a decent editor and especially because of the debug ability to step through asp code. |
|
#5
|
|||
|
|||
|
Stepping through ASP code
I would appreciate a pointert to the editor that allows me to step through ASP code
|
|
#6
|
||||
|
||||
|
Quote:
Don't resurrect dead threads, if you have a question post it in a new thread. |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Help With Visual Studio |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|