Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old November 30th, 2004, 07:22 PM
Needy Needy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 13 Needy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old November 30th, 2004, 07:36 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,760 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 5 h 22 m 16 sec
Reputation Power: 443
Post the code and the error message.
Is there are reason you are using VB 6 to create a web page?

Reply With Quote
  #3  
Old November 30th, 2004, 08:01 PM
Needy Needy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 13 Needy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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>

Reply With Quote
  #4  
Old November 30th, 2004, 11:15 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 21 h 28 m 48 sec
Reputation Power: 180
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.

Reply With Quote
  #5  
Old June 10th, 2006, 02:03 AM
robinski robinski is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 1 robinski User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 48 sec
Reputation Power: 0
Stepping through ASP code

I would appreciate a pointert to the editor that allows me to step through ASP code

Reply With Quote
  #6  
Old June 10th, 2006, 10:20 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,760 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 5 h 22 m 16 sec
Reputation Power: 443
Quote:
Originally Posted by robinski
I would appreciate a pointert to the editor that allows me to step through ASP code

Don't resurrect dead threads, if you have a question post it in a new thread.

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Help With Visual Studio


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway