Solved

msxml4.dll error '80020005' Type mismatch

Posted on 2003-11-03
5
521 Views
Last Modified: 2007-12-19
Hi!

I have an asp page with the following statements:

Dim ipAddress

Call oXslProc.addParameter("ipAddress", Server.Variables("REMOTE_HOST"))

I an xsl page with the following statements:
 <xsl:param name="ipAddress"/>

          Requesting IP Address: <xsl:value-of select="$ipAddress"/>&#160; Requested by: <xsl:value-of select="$username"/>


I am getting the following error:
msxml4.dll error '80020005'
Type mismatch.

Any ideas?

Chuck
0
Comment
Question by:TrueBlue
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:Brad Dobyns, CSM
ID: 9675846
Well, one area where that error occurs is due to a field in your database has a field type different than what you are trying to post. Other things include:

- a string expected, but not enclosed in '
- a double or float not enclosed in '
- an integer enclosed in '
- an '=' operator for string instead of LIKE

Those are just some of the possibilities. Does it give a line where the error occured?

Brad
0
 

Author Comment

by:TrueBlue
ID: 9675882
Hi!

This is the line that it errored out on:

Call oXslProc.addParameter("ipAddress", Server.Variables("REMOTE_HOST"))

Chuck
0
 
LVL 8

Accepted Solution

by:
fozylet earned 200 total points
ID: 9675986
Try this
 Call oXslProc.addParameter("ipAddress", CStr(Server.Variables("REMOTE_HOST")))
0
 

Author Comment

by:TrueBlue
ID: 9676290
Hi fozylet!

Your suggestion got me very close.

Here is the answer.

Without the request if gives a not supported by object error.

Call oXslProc.addParameter("ipAddress", CStr(Request.ServerVariables("REMOTE_HOST")))

Thank you for the help.

Chuck
0
 
LVL 8

Expert Comment

by:fozylet
ID: 9676917
Oops, I didn't see the function part!
Thanks for the points :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question