Microsoft Vbscript Error 800a0009
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site microsoft vbscript runtime error '800a0009' subscript out of range: 'ubound' About Us Learn more about Stack Overflow the company Business Learn more about microsoft vbscript runtime error '800a0009' subscript out of range ' number 2 ' hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss vbs subscript out of range 800a0009 Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Microsoft VBScript runtime
800a0009 Vbscript
error '800a0009' Subscript out of range: '[number: 1]' Include/Security.inc, line 28 up vote 1 down vote favorite Im working in a migration project. Where im trying to migrate classic asp application. Im not good at Classic ASP. i had taken the code from the server and trying to run it in my machine. But getting the following error. Microsoft VBScript runtime error '800a0009' Subscript out microsoft vbscript runtime error activex component can't create object of range: '[number: 1]' /Include/Security.inc, line 28 Please find the block of code where im getting the error. Function StringConvUN dim tabConv dim rmLocation dim username username = Ucase(Request.ServerVariables("LOGON_USER")) if UCase(Request.ServerVariables("HTTP_AUTHORIZATION")) = "SITEMINDER" then StringConvUN = username else tabConv = split(username, "'") rmLocation = join(tabConv, "''") tabConv = split(rmLocation , "\") StringConvUN = tabConv(1) end if End Function Im getting the error in line 28 which is StringConvUN = tabConv(1) The same code is running fine in the IIS 6 server. But in my machine and in new IIS 7.5 server it giving the above error. please help me on this. iis vbscript asp-classic share|improve this question asked Apr 10 '15 at 11:09 NewTechie 2218 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote You may want to check to see whether you're using the correct authentication method in IIS, as well as what Amessihel has mentioned above. But the code looks a little messy here... tabConv = split(username, "'") rmLocation = join(tabConv, "''") tabConv = split(rmLocation , "\") StringConvUN = tabConv(1) Why not just Replace your single quotes with doubles in the initial copy of the Request.ServerVariables("LOGO
soon) Ruby (coming soon) Getting Started Code Samples Resources Patterns and Practices App Registration Tool Events Podcasts Training API Sandbox Videos Documentation Office Add-ins Office Add-in Availability Office Add-ins Changelog Microsoft Graph API Office 365 Connectors microsoft vbscript runtime error subscript out of range Office 365 REST APIs SharePoint Add-ins Office UI Fabric Submit to the Office Store
Subscript Out Of Range: '[number: 0]'
All Documentation https://www.yammer.com/ http://feeds.feedburner.com/office/fmNx Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My
How To Fix Microsoft Vbscript Runtime Error
Forums Answered by: Microsoft VBScript runtime error '800a0009' Subscript out of range: Microsoft Office for Developers > Access for Developers Question 0 Sign in to vote I have got one error in opening page inmy http://stackoverflow.com/questions/29559937/microsoft-vbscript-runtime-error-800a0009-subscript-out-of-range-number-1 website, actually this sources are old and i am not familiar with this.. plz help me.. Error: Microsoft VBScript runtime error '800a0009' Subscript out of range: '[number: 0]' /rescontrol/Default.asp, line 72 Plz check out here this link http://desert.somee.com/rescontrol/ Source Code can be found in http://pastebin.com/QthvEubE Sunday, January 08, 2012 12:43 PM Reply | Quote Answers 1 Sign in to vote Hi Althamash, Thank you for posting. Subscript out of range https://social.msdn.microsoft.com/Forums/office/en-US/6d635e65-5712-4b38-8bf2-4feba20283cd/microsoft-vbscript-runtime-error-800a0009-subscript-out-of-range?forum=accessdev usually means you tried to access an element of an array that was either greater than its ubound or lower than its lbound Please refer to this article: http://classicasp.aspfaq.com/general/why-am-i-getting-subscript-out-of-range-errors.html Hope this can give you some hint. If this does not help you, I recommend you post on the asp forum: http://forums.aspfree.com/asp-development-5/ Best Regards,Bruce Song [MSFT] MSDN Community Support | Feedback to us Marked as answer by Bruce Song Thursday, January 26, 2012 9:39 AM Tuesday, January 10, 2012 6:53 AM Reply | Quote All replies 0 Sign in to vote Some support informed there is error with Microsoft access file. Sunday, January 08, 2012 12:44 PM Reply | Quote 1 Sign in to vote Hi Althamash, Thank you for posting. Subscript out of range usually means you tried to access an element of an array that was either greater than its ubound or lower than its lbound Please refer to this article: http://classicasp.aspfaq.com/general/why-am-i-getting-subscript-out-of-range-errors.html Hope this can give you some hint. If this does not help you, I recommend you post on the asp forum: http://forums.aspfree.com/asp-development-5/ Best Regards,Bruce Song [MSFT] MSDN Community Support | Feedback to us Marked as answer by Bruce Song Thursday, January 26, 2012 9:39 AM Tuesday, January 10, 2012 6:53 AM Reply | Quote Microso
Web Platform http://forums.iis.net/post/2073169.aspx Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and Above Setup Microsoft VBScript runtime error '800a0009', Subscript out of range:... Re: Microsoft VBScript runtime microsoft vbscript error '800a0009', Subscript out of ran... View Complete Thread Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply peterviola 735 Posts Re: Microsoft VBScript runtime error '800a0009', Subscript out of range: '[number: 5]' Apr 02, microsoft vbscript runtime 2014 02:50 PM|peterviola|LINK Subscript out of range means you tried to access an element of an array that was either greater than its ubound or lower than its lbound. http://msdn.microsoft.com/en-us/library/aa264519%28v=vs.60%29.aspx Running Classic ASP Applications on IIS 7 and IIS 8 http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8 Peter Viola MCTIP SA, EST, DBA 2008 MCSA Windows Server 2012 Please 'Mark as Answer' if this post helps you. www.peterviola.com This site is managed for Microsoft by Neudesic, LLC. | © 2016 Microsoft. All rights reserved. Privacy Statement Terms of Use Contact Us Advertise With Us Hosted on Microsoft Azure Follow us on: Twitter Facebook Microsoft Feedback on IIS Powered by IIS8