PDA

View Full Version : Microsoft VBScript runtime error


Steve
February 16th 04, 06:01 AM
Hi, I have a Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: ""]'

/petv2_1/new_question/update.asp, line 78

I was taking an A+ test over the internet and when I got
to quetion 20 or 21. it gave me that error.I change their
html code with.... <%@ LANGUAGE="VBScript"%>
<%
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "MyDSN", "MyUserID", "MyPassWord"
set oRS = oConn.Execute("Select list_price FROM
DEMO.PRICE")
Response.Write("List Price * 100 = " & CDbl(oRS
("list_price")) * 100)
%> it work once... maybe I got
lucky.... than I got the same error.

please help and thanks.

Michael Burk [MSFT]
February 16th 04, 07:03 PM
You will also want to send this information to the webmaster for the site
you were visiting. This is not a problem with VBScripting on your client
end, but rather a mistake in the actual script on the server.

--
Michael Burk
Longhorn Shell
http://msdn.microsoft.com/longhorn
----===========================----
This posting is provided "AS IS" with no warranties, and confers no rights.
"Steve" > wrote in message
...
> Hi, I have a Microsoft VBScript runtime error '800a000d'
>
> Type mismatch: '[string: ""]'
>
> /petv2_1/new_question/update.asp, line 78
>
> I was taking an A+ test over the internet and when I got
> to quetion 20 or 21. it gave me that error.I change their
> html code with.... <%@ LANGUAGE="VBScript"%>
> <%
> Set oConn = Server.CreateObject("ADODB.Connection")
> oConn.Open "MyDSN", "MyUserID", "MyPassWord"
> set oRS = oConn.Execute("Select list_price FROM
> DEMO.PRICE")
> Response.Write("List Price * 100 = " & CDbl(oRS
> ("list_price")) * 100)
> %> it work once... maybe I got
> lucky.... than I got the same error.
>
> please help and thanks.

Google