Microsoft Vbscript Compilation Error 800a0411
Contents |
FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips Forums! Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access name redefined error in qtp To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join
Vbscript Dim
Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To This Forum! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. VBScript Forum at Tek-Tips HomeForumsProgrammersLanguagesVBScript Forum Microsoft VBScript compilation error '800a0411' thread329-1014821 Forum Search FAQs Links MVPs Microsoft VBScript compilation error '800a0411' Microsoft VBScript compilation error '800a0411' steelcoyot (MIS) (OP) 28 Feb 05 10:54 HEy Team, I notice this yesterday on my webpage and is causing me some grief. Everytime I click on a link called catering I get the following error:Microsoft VBScript compilationerror '800a0411'Name redefined/vsadmin/inc/inccategories.asp, line 8Dim sSQL,rs,alldata,cnn,rowcounter,success,startlink,secdesc----^I've looked through the file but I can't see anytihg wrong with it. I've even went as far as restoring it from a back up copy that I had and I still get the error. Any help would be appreciated. RE: Microsoft VBScript compilation error '800a0411' SaMaLaKo (TechnicalUser) 28 Feb 05 11:01 The error states that one of the following variables is redeclared at that line.Is there somewhere above a variable with the same name as the one in line 8?Maybe in a subroutine that is called?If possible please post some code so we can have a look...Hope this helps... --------------------------------------Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,and the Universe trying to produce bigger and better idiots.So far, the Universe is winning. RE: Microsoft VBScript compilation error '800a0411' steelcoyot (MIS) (OP) 28 Feb 05 11:38 This is a lot of code, I'm not sure if you would want me to post it on here or not but here it goes.Dim sSQL,rs,alldata,cnn,rowcounter,success,startlink,secdesctheid=Trim(Replace(Request.QueryString("id"),"'",""))if Trim(Replace(Request.QueryString("cat"),"'",""))<>"" then
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Microsoft VBScript compilation error '800a0411': Name Redefined Want to Advertise Here? Solved Microsoft VBScript compilation error '800a0411': Name Redefined Posted on 2005-10-10 http://www.tek-tips.com/viewthread.cfm?qid=1014821 ASP 1 Verified Solution 20 Comments 18,970 Views Last Modified: 2011-08-18 Below is the error I'm getting. I'm trying to install a script called BlogX. If I comment out the declaration, it then says the variable is undefined, so I know it's not ACTUALLY being redefined. -------------ERROR MESSAGE 1--------------------- Microsoft VBScript compilation error '800a0411' Name redefined /Includes/Dim.asp, line 3 https://www.experts-exchange.com/questions/21589982/Microsoft-VBScript-compilation-error-'800a0411'-Name-Redefined.html Dim SiteURL ----^ ----------END ERROR MESSAGE 1------------------ -------------ERROR MESSAGE 2--------------------- Microsoft VBScript runtime error '800a01f4' Variable is undefined: 'SiteURL' /Includes/Config.asp, line 6 ----------END ERROR MESSAGE 1------------------ FYI, line 1 of the config.asp file is . 0 Question by:Cerixus Facebook Twitter LinkedIn Google LVL 31 Best Solution byalorentz Basically, you need to start at the top of the main page you are calling, then go line by line through it looking for DIM values. When you come to an include file, open it, and then go line by line through Go to Solution 20 Comments LVL 12 Overall: Level 12 ASP 11 Message Expert Comment by:peterxlane2005-10-10 Can you post the code from the file and the include file? 0 LVL 31 Overall: Level 31 ASP 31 Message Expert Comment by:alorentz2005-10-10 The error simply means you're defining SiteURL more than once. Search your files for SiteURL, and you will find it more than once in your include files and in your main pages. 0 LVL 1 Overall: Level 1 Message Author Comment by:Cerixus2005-10-1
Unanswered Topics Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics Error Type: Microsoft VBScript compilation (0x800A0411) Name redefined User Name Remember Me? Password Reminder Password Register Register http://p2p.wrox.com/classic-asp-basics/80234-error-type-microsoft-vbscript-compilation-0x800a0411-name-redefined.html | FAQ | Members List | Calendar | Today's Posts | Search Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0 Search Forums Show Threads Show Posts Advanced Search Find All Thanked Posts Go to Page... Welcome to the p2p.wrox.com Forums. You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of microsoft vbscript tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free . Page 1 of 3 1 23 > Thread Tools Display Modes #1 (permalink) July microsoft vbscript compilation 23rd, 2010, 08:56 AM peony88 Registered User Join Date: Jul 2010 Posts: 17 Thanks: 0 Thanked 0 Times in 0 Posts Error Type: Microsoft VBScript compilation (0x800A0411) Name redefined So, I get this error on this page; any suggestions? Error Type: Microsoft VBScript compilation (0x800A0411) Name redefined /asp/connDB_flextime.inc, line 2, column 4 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; InfoPath.2; .NET CLR 1.1.4322; MS-RTC EA 2; MS-RTC LM 8) Page: POST 122 bytes to /asp/dtsShowForm.asp POST Data: ps=1&employeeinfo=1484%3BADAMS%2CJOEL%3Bjoela%3B58 2%3BBOS%3B6%3B5&slctName=1484%3BADAMS%2CJOEL%3Bjoe la%3B582%3BBOS%3B6%3B5 #2 (permalink) July 23rd, 2010, 07:06 PM Old Pedant Friend of Wrox Join Date: Jun 2008 Location: Snohomish, WA, USA Posts: 1,652 Thanks: 3 Thanked 141 Times in 140 Posts Well, first of all, fix your browser. Click on TOOLS menu. Click on INTERNET OPTIONS Click on ADVANCED tab *UN*check "show friendly HTTP error messages" OK Now you will get *real* error messages. ******** Anyway, the problem is *EXACTLY* what the message says: On line 2 of "connDB_flextime.inc" you are doing a DIM of a variable that was already DIM-ed. *Probably* the variable is DIM-ed in your main code, the page that is doing a #include of that file. If you showed us the code of dtsShowForm.asp up to the #include