Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
MichelleB
Starting Member
8 Posts |
Posted - 2014-02-06 : 00:34:24
|
hi i have a page that worked fine till last night, which shows availabilities for an artist.now when search it comes up with an errorMicrosoft VBScript runtime error '800a000d'Type mismatchPromotionalDisplay2.asp, line 116this is line 116 in the pageArrRating(i) = UCASE(objRS1("Artist")) & "|" & objRS1("Rating") LoopobjRs1.Closei have not changed my page and it is also effecting other pages that pull this information someone pleaseeee help ive been at it for 9 hrs now and have not found anything?is it an error in a field in the db? quote:
|
|
MichelleB
Starting Member
8 Posts |
Posted - 2014-02-06 : 00:50:04
|
this also comes up on an very similar page i have that does the avails as well as an errorSELECT `Artist`, LCASE(ROUND((SUM(`Testimonials`.`Rating`) / (COUNT(`Testimonials`.`Rating`)*5) * 100), 0)) AS Rating FROM `Testimonials` GROUP BY `Artist`Microsoft VBScript runtime error '800a000d'Type mismatch/public/PromotionalDisplay.asp, line 115 |
|
|
Avinaash.S786
Starting Member
9 Posts |
Posted - 2014-02-06 : 04:42:07
|
If you still get this error, I think you can try it by removing that 'LCASE' and use to_char in that sql queryAvinaash S |
|
|
Bustaz Kool
Master Smack Fu Yak Hacker
1834 Posts |
Posted - 2014-02-06 : 13:25:39
|
What data types are the Artist and Rating in the database? I suspect that Rating needs to be converted to a string in the application.===============================================================================There are two kinds of light -- the glow that illuminates, and the glare that obscures. -James Thurber (1894-1961) |
|
|
|
|
|