Microsoft Vbscript Compilation Error Code 800a0400
Contents |
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... Linux questions vbscript compilation error expected end of statement C# questions ASP.NET questions SQL questions fabric questions discussionsforums All Message Boards... Application Lifecycle> 1 1 microsoft vbscript compilation error expected statement Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ 800a0400 expected_statement 80 / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual
Expected Statement End If
Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question vbscript goto Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Microsoft VB Script VB Compilation Error Code : 800A0400 Rate this: Please Sign up or sign in to vote. See more: VBScript Hi, I am beginer in VB scripting, I tried to use a hello world program in VB but it gives compilation error somebody please help me how to solve this problem. I use following code I written this code in notepade and saved as Hello.vbs
Posted 7-Nov-11 21:42pm Ajain A K631 Updated 7-Nov-11 21:46pm Mehdi Gholam325.3K v2 Add a Solution 3 solutions Top Rated Most Recent Rate this: Please Sign up or sign in to vote. Solution 1 Accept Solution Reject Solution This script will only run under IE not as a ".vbs" file. See here: http://www.w3schools.com/vbscript/default.asp[^] Permalink Posted 7-Nov-11 21:48pm Mehdi Gholam325.3K Comments Ajain A K 8-Nov-11 4:17am Hi Mehdi, Thanks a lot for the quick response. I am using only one browser in my PC that is Internet Explorer. please note this URL http://www.tizag.com/vbscriptTutorial/vbscriptfirstscript.php please share if you find any other alternative(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeWindows Server 2012Windows Server 2008 R2Windows Server 2003LibraryForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: KB946139 - can't run the script Windows Server > Migration Question 0 Sign vbscript tutorial in to vote I was reading KB946139 to resolve an issue with installing a Windows Server 2008 Domain Controller on a Server 2003 Domain. But when I run the script that the article provides, I get an error on the first line. Am I doing something wrong here? I just copied the text, pasted it into a text file with a vbs extension, and ran it from the server's http://www.codeproject.com/Questions/279919/Microsoft-VB-Script-VB-Compilation-Error-Code-A desktop. Friday, August 13, 2010 11:02 PM Reply | Quote Answers 0 Sign in to vote Hi, It seems there is something wrong with the script. To troubleshoot the issue efficiently, I suggest that you post to the script forum for assistance. The Official Scripting Guys Forum http://social.technet.microsoft.com/Forums/en-us/ITCG/threads Thanks for your understanding.This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click “Mark as https://social.technet.microsoft.com/Forums/windowsserver/en-US/b3d93b20-7a0d-4aee-bd14-f2efbaec2ba9/kb946139-cant-run-the-script?forum=winserverMigration Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Marked as answer by Joson ZhouModerator Monday, August 23, 2010 5:19 AM Thursday, August 19, 2010 5:57 AM Reply | Quote Moderator All replies 0 Sign in to vote Hi, Before we go any further, could you please post the error message here for research? Thanks.This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Monday, August 16, 2010 3:12 AM Reply | Quote Moderator 0 Sign in to vote Windows Script Host Script: C:\users\admin1\desktop\iis7script.vbs Line: 1 Char: 1 Error: expected statement Code: 800A0400 Source: Microsoft VBScript compilation error Wednesday, August 18, 2010 11:23 PM Reply | Quote 0 Sign in to vote Hi, It seems there is something wrong with the script. To troubleshoot the issue efficiently, I suggest that you post to the script forum for assistance. The Off
+ http://forums.devshed.com/asp-programming-51/microsoft-vbscript-compilation-error-800a0400-317485.html Ask a Question Need help? Post your question and get tips & solutions from a community of 418,590 IT Pros & Developers. It's quick & easy. vbscript compilation Microsoft VBScript compilation error '800a0400' Expected statement P: 1 buri22 I have this error : Microsoft VBScript compilation error '800a0400' Expected statement /amministrazione/add2_sponsor.asp, line 11 <% ^ The code of file "add2_sponsor.asp : vbscript compilation error Expand|Select|Wrap|Line Numbers <%@LANGUAGE="VBSCRIPT"CODEPAGE="1252"%> <%Session.LCID=1040%>
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search Forum Programming Languages - More ASP Programming Microsoft VBScript compilation error '800a0400' Thread: Microsoft VBScript compilation error '800a0400' Share This Thread Tweet This + 1 this Post To Linkedin Subscribe to this Thread Subscribe to This Thread January 11th, 2006,03:52 AM #1 No Profile Picture rachelmarie33 View Profile View Forum Posts Registered User Devshed Newbie (0 - 499 posts) Join Date Jan 2006 Posts 1 Rep Power 0 Microsoft VBScript compilation error '800a0400' Hi guys, This is driving me NUTS! If anyone can help me I will be a happy bunny. I am pretty new to ASP scripts. I have designed a booking form for a friend's website, using free send.asp and contact.asp scripts from my host. I adapted the contact script by adding extra fields and likewise with the Request fields on send.asp. The form looks great but upon publishing it to the domain, filling out the form and pressing submit I get this error... Microsoft VBScript compilation error '800a0400' Expected statement /send.asp, line 38 & Request.Form("Address") & vbcrlf & vbcrlf & Request.Form("Address") & vbcrlf & vbcrlf & Request.Form("City") & vbcrlf & vbcrlf & Request.Form("County") & vbcrlf & vbcrlf & Request.Form("postal code") Of course I have checked line 38 but I cannot see anything wrong. Due to my limited knowledge, maybe I am missing something that you will be able to see. I have only amended the bits that my hosts recommend, such as fields and email address...it's set to forward to my email at present as I don't want it going to my friends until it is working correctly. And i don't think I need to change the smtp details as the website is hosted by the same company who provided the forms...they never told me to change it anyway! I had already created the Contact form for my friend so I copied the original HTML into the ASP script. I know that the forms worked before I did this so perhaps I have done something wro