ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

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
  #1  
Old August 21st, 2003, 10:00 AM
allora allora is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: NJ
Posts: 3 allora User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Find more about [object error] encountered in ASP

I have a CFMX page calling an ASP page accessing a SQL Server2000. After updating & saving data in the ASP page, I get a message that the data is saved successfully, which is true after checking the tables. However, a window pops up with an [objec error] message. I'd like to find more about this message and what is causing this error to trigger.

Attached is the error shown.
Attached Images
File Type: gif asp_error1.gif (2.1 KB, 143 views)

Reply With Quote
  #2  
Old August 21st, 2003, 10:18 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
You need to DEBUG

You say an CFMX page is calling an ASP page.
The ASP page then UPDATE the database right?

Then you get a MsgBox() from Internet Explorer right?

What are you doing inside that ASP page after the UPDATE is done?

Can you show us the code for the ASP page?

Thanks
Vlince

Reply With Quote
  #3  
Old August 21st, 2003, 10:34 AM
allora allora is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: NJ
Posts: 3 allora User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Need to DEBUG - I need to know how to put debugging statements in ASP ( i'm new to ASP). I've added response.write() where the update and save is being done, but it did not help. The ASP does the work; after the "save", the page clears and back to the previous CMFX . I'd like to know how to trap this [object error].

The ASP page is more than 1000 lines of code. Most of it is copyrighted.

Reply With Quote
  #4  
Old August 21st, 2003, 10:42 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I understand but you also have to understand NO code NO help!

No matter how long I've been programming, I unfortunately, don't know *ALL* the error messages...do you see what I mean!


The best way to DEBUG ASP pages is to use Response.Write's in critical area in your code. For example, BEFORE you execute an SQL query simply put this:


'FOR DEBUG ONLY
'Response.Write strSql & "<hr>"
'Response.End


Notice that I've assumed your variable holding your SQL Query is called strSql I've also commented the two lines under the 'FOR DEBUG ONLY section.
Un-comment the two lines when you want to see what's happening!

Also, what is the LAST instruction inside your ASP page?
Do you make a Response.Redirect to the CMFX page?

In fact, what the h*ll is a CMFX page?
Is it like Cold Fusion? cfm? no?

Anyway, start putting Response.Write's and Response.End's in places inside your code UNTIL you find what causes the error!

Hope this helps!
Sincerely

Vlince

Reply With Quote
  #5  
Old August 21st, 2003, 10:46 AM
allora allora is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: NJ
Posts: 3 allora User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thank you so much for the tip in debugging. yes, CFMX is coldfusion.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Find more about [object error] encountered in ASP


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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