I have never encountered this error before. Any ideas on
where to start looking? I believe that my application is
attempting to send me an error message, but one of my
types (?) of the message I am loading up is invalid? What
can I do with SendMail, or where can I find the types
allowed?
I'm writing an ASP script to move records from a MySQL database to SQL Server 2005. I've been able to successfully query both databases so my connection strings work. But I'm getting a '800a000d' Type Mismatch error for my insert query string:
I've been messing with this for hours, and have been to various sites, including Aaron's site, and am truly stumped.
The short version: in SQL Server, the 4 fields in question are datetime. I have a page that allows users to type in the info (actually a calendar pop-up allows me to make sure they do it in the correct format), into a textbox.
When this page gets called up again, I want to prefill the box with the existing data, in case they need to change it. This is where the problem comes in. SQL Server has gone and changed the time to a format which has AM or PM at the end. And that's fine. But this calendar deal picks up the time without the PM. So all of a sudden, 1:30 PM becomes 1:30, which then gets saved as 1:30 AM.
Because the calendar depends a lot on Javascript, I am not willing to change the code too much, as I have very little JS knowledge. So I have decided to use ASP to change the data after I have retrieved it. Code:
All the ASP pages in my website were working fine this morning but suddenly this evening I'm getting this error message in lot of ASP pages on my website.
Microsoft VBScript runtime error '800a000d' Type mismatch: 'strEndDate'.
I didn't change any code ,DSN or database tables or stored procedure. What should be the reason behind this error message?
This is the error message that I recieve Microsoft VBScript runtime error '800a000d'
Type mismatch: 'DateToConvert' /i_functions.asp, line 95
And this is the section of the code that it is referring to:
Public Function GetDayName(DateToConvert) dim WeekDays(7) WeekDays(1) = "Sunday" WeekDays(2) = "Monday" WeekDays(3) = "Tuesday" WeekDays(4) = "Wednesday" WeekDays(5) = "Thursday" WeekDays(6) = "Friday" WeekDays(7) = "Saturday" GetDayName = WeekDays(Weekday(DateToConvert)) End Function This is line 95: GetDayName = WeekDays(Weekday(DateToConvert))
i found this site using MSN search and searched for my issue but couldnt fix it from the posts. hopefully someone here can help me i get this this error on both IIS5.1 and apache2 runing sun javas active server page software
Microsoft VBScript runtime error '800a000d'
Type mismatch /test/default.asp, line 923
that line is
if Member_Count = 1 and User_Count = 1 then
i cant figure this out. of course on IIS5.1 it errors the entire page but on apache with sun asp i can view the page.it just doesnt show that info that that line of code creates but an error im really confused here. and of course you cant verify your reg at snitz cuz they dont send emails so i cant get help there. can any one help me out? (btw it took me 20min to post this.
I have about 2000 email addresses in a table my script was sending and got to about 600 and pulled this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'To' /admin/newslettercreate.asp, line 151
Which refers to this line
objMail.To = objRS("Email")
I'm not sure how it can error with this half through the job, there were some blank fields which I have now removed which i thought could have been the problem but not sure.
I have the following code that I am trying to use to calculate distance. However I keep getting a Type Mismatch error on line 50 which is in bold. Code: