|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
thank you so much for the tip in debugging. yes, CFMX is coldfusion.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Find more about [object error] encountered in ASP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|