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
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old April 30th, 2008, 06:23 AM
janusz-jasinski janusz-jasinski is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2004
Location: Birmingham, UK
Posts: 514 janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 16 h 3 m 51 sec
Reputation Power: 25
Send a message via MSN to janusz-jasinski
Type mismatch

Hi,

when I execute a SP via Query Analyser, I get the following data back where the first line is a column named cPDD

1900-01-01 00:00:00.000
Janusz Jasinski
Service 2
666
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000

I then do
PHP Code:
<%=rs("cPDD")%> 
in my ASP page and I always get
PHP Code:
 Microsoft VBScript runtime (0x800A000D)
Type mismatch 
Any ideas?

Reply With Quote
  #2  
Old May 1st, 2008, 01:15 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,703 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 25 m 29 sec
Reputation Power: 688
If that one asp snip is actually what is causing the error message, then it would mean the recordset object rs is closed or doesn't exist at the time the asp snip is called.
__________________
======
Doug G
======
"Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton

Reply With Quote
  #3  
Old May 2nd, 2008, 03:28 AM
janusz-jasinski janusz-jasinski is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2004
Location: Birmingham, UK
Posts: 514 janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 16 h 3 m 51 sec
Reputation Power: 25
Send a message via MSN to janusz-jasinski
Went to lunch, came back, and it worked!!!

Reply With Quote
  #4  
Old May 2nd, 2008, 05:48 AM
mg1313 mg1313 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2008
Location: Phoenix, AZ
Posts: 2 mg1313 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 11 sec
Reputation Power: 0
Send a message via Yahoo to mg1313
Just worked without doing anything??

Reply With Quote
  #5  
Old May 2nd, 2008, 08:19 AM
janusz-jasinski janusz-jasinski is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2004
Location: Birmingham, UK
Posts: 514 janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level)janusz-jasinski User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 16 h 3 m 51 sec
Reputation Power: 25
Send a message via MSN to janusz-jasinski
Yes - lord knows what was going on.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Type mismatch


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 2 hosted by Hostway