close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Type Mismatch - Universal Email

Thread began 7/13/2010 10:25 am by bsmith40309 | Last modified 7/16/2010 2:58 pm by Eric Mittman | 1179 views | 6 replies |

bsmith40309

Type Mismatch - Universal Email

I'm using CDOSYS Universal Email on IIS 5.1 with ASP pages. When I submit a form that is supposed to send an email, I get the following error. Any ideas?

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the 192.168.254.5 home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'WAUE_SetCharset'
/HR/TimeOff/time_off_request.asp, line 82


Browser Type:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS)

Page:
POST 282 bytes to /HR/TimeOff/time_off_request.asp

POST Data:
TextRequestDate=7%2F13%2F2010&SelReason=Other+%28Explain+Below%29&IDHours1=.01&IDTime1=&IDDate1=12%2F12%2F2000&IDHours2=&IDTime2=&IDDate2=&IDHours3=&IDTime3=&IDDate3=&EDHours1=&EDStart1=&EDEnd1=&EDHou . . .

Time:
Tuesday, July 13, 2010, 9:19:39 AM


More information:
Microsoft Support

Sign in to reply to this post

Eric Mittman

Looks like your page is expecting a value of a particular type for a setting and the value that is being referenced does not match that type. What is on line 82 of the page in question? If you can post back with the entire page in a zip archive so that we can take a look at it.

Sign in to reply to this post

bsmith40309

File Upload

Attached is the file. Line 82 is . . . set WA_MailObject = WAUE_SetCharset(WA_MailObject,"ISO-8859-1")

Attached Files
time_off_request.zip
Sign in to reply to this post

Eric Mittman

I'm still looking into this issue. It seems that it is complaining about the charset value itself, but this should be valid. As a test of this you should try to add in a cStr around the value to ensure that it is set to a string like this:

set WA_MailObject = WAUE_SetCharset(WA_MailObject, cStr("ISO-8859-1"))



If the problem is still present after making this update please post back with a copy of the WA_Universal_Email folder from the site root in a zip archive. I will use the files to do some direct side by side comparing.

Sign in to reply to this post

bsmith40309

Didn't Fix It

I made that code change, but I'm still getting the same error. Attached are the files you requested . . . although I wonder if this is an IIS setting since I simply moved the site to another server (same version of IIS) and it started throwing this error.

Attached Files
WA_Universal_Email.zip
Sign in to reply to this post

bsmith40309

Fixed It

I found out the problem (sort of). The Universal Email files had changed on the development box, but had not been updated on the server. Once I uploaded the Universal Email folder to the server, it started working.

Sign in to reply to this post

Eric Mittman

That is great to hear, I'm glad that you got it worked out by uploading the newer file.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...