close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

500 error in ASP...seems to work in PHP

Thread began 9/22/2009 10:13 pm by bill303473 | Last modified 9/23/2009 9:38 am by Jason Byrnes | 1522 views | 1 replies |

bill303473

500 error in ASP...seems to work in PHP

I manage a number of sites and have a current need to build a simple mail form on one of the ASP.Net sites. I hadn't used my Universal E-mail before but thought it would take care of me easily. I followed the basic instructions in the Getting Started Guide and built a two-line form with a submit button just to make sure I could figure out the basics (intending to build a more complicated form once I was knew what I was doing). I tried it on two ASP.Net host sites. One gave me a generic 500 error with no real info; the other one says:

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/WA_Universal_Email/AspEmail_JS.asp, line 1

var gBodyFormat;
---------------^


So I used the same instructions and built the same form using PHP and it worked...it didn't send me the information I entered in either of the two form fields, but I think I know why that didn't work, but otherwise it shot me an e-mail right away. Any ideas?

Bill Edgar

Sign in to reply to this post

Jason ByrnesWebAssist

The Error is VB Script error, but appears you are using ASP Javascript.


Your page is probably missing the LANGUAGE tag at line 1. make sure you have the following at line:
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%>


to tell the ASP processor to use the JavaScript engine instead of the VB Script Engine.

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...