Microsoft Vbscript Runtime Error 0x800a0046
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 About Us Learn more about Stack Overflow the company microsoft vbscript runtime error '800a0046' permission denied Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs microsoft vbscript runtime error 800a0046 permission denied windows 7 Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, microsoft vbscript runtime error '800a0046' permission denied 'createobject' just like you, helping each other. Join them; it only takes a minute: Sign up Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied up vote 0 down vote favorite I am getting this error when i try vbscript permission denied 800a0046 solution to access an asp website which has been hosted in IIS 5. Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied /Site/Initial.asp, line 164 Please let me know what could be is issue??? iis asp-classic share|improve this question edited Nov 19 '11 at 5:17 casperOne 58.2k10127202 asked Feb 24 '10 at 7:32 nimi 1,47193869 2 Here is a crazy idea, how about you actually show us the code that happens to be on Line
Microsoft Vbscript Runtime Error '800a0046' Permission Denied Iis7
164 of Initial.asp? I dunno may be there might be clue there. –AnthonyWJones Feb 24 '10 at 9:59 yeah sure anthony, i will do that.. –nimi Feb 24 '10 at 10:41 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted Edit IIS Default Web Site Properties. In the Directory Security tab, make sure the checkbox for user is checked. share|improve this answer answered Feb 26 '10 at 17:33 Jayant Bramhankar 170110 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged iis asp-classic or ask your own question. asked 6 years ago viewed 3548 times active 4 years ago Related 4Microsoft VBScript runtime error '800a0046' Permission denied0Microsoft VBScript runtime error '800a01a8'1classic ASP Microsoft OLE DB Provider for ODBC Drivers error '80004005'1Classic ASP - Permission Denied on file move IIS0ASP classic active directory query permissions issue. ASP error 800720201Permission denied when creating text file in asp0Microsoft VBScript runtime error '800a01a8' : object required1Microsoft VBScript runtime error '800a0009'
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 5 & IIS 6 Classic ASP CreateTextFile cause Microsoft
Microsoft Vbscript Runtime Error '800a0046' Permission Denied Createtextfile
VBScript runtime (0x800A0046) CreateTextFile cause Microsoft VBScript runtime (0x800A0046) [Answered]RSS 4 replies 800a0046 permission denied vbscript runtime error windows 7 Last post May 15, 2009 11:35 AM by mbw4359 ‹ Previous Thread|Next Thread › Print Share Twitter Facebook permission denied createobject vbscript Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply mbw4359 4 Posts CreateTextFile cause Microsoft VBScript runtime (0x800A0046) May 14, 2009 11:16 AM|mbw4359|LINK Hi, As my subject says line http://stackoverflow.com/questions/2324331/error-type-microsoft-vbscript-runtime-0x800a0046-permission-denied 6 of my little asp script (see below) causes Microsoft VBScript runtime (0x800A0046). I changed the directory permission to IUSR_thenameofmymachine under the security tab to read write but I get the same thing. The IIS I'm testing on is 5.1 running on Win XP SP2. thanks for you help in advance. Michael Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied /tst-asp/logip.asp, line https://forums.iis.net/t/1157655.aspx?CreateTextFile+cause+Microsoft+VBScript+runtime+0x800A0046+ 6 <% dim fs,wfile VisitorsIP=Request.ServerVariables ("REMOTE_ADDR") Set fs = CreateObject("Scripting.FileSystemObject") Set wfile = fs.CreateTextFile("mylog.txt",false) wfile = fs.OpenTextFile("mylog.txt", 8,false,0) wfile.WriteLine (VisitorsIP) wfile.close Set wfile=nothing Set fs=nothing response.write("IP registered") %> Reply tomkmvp 9756 Posts MVPModerator Re: CreateTextFile cause Microsoft VBScript runtime (0x800A0046) May 14, 2009 11:24 AM|tomkmvp|LINK Start here: http://www.aspfaq.com/search.asp?q=800A0046&x=7&y=9 Tom Kaminski (former IIS MVP 2002-2010) http://mvp.support.microsoft.com/ Reply mbw4359 4 Posts Re: CreateTextFile cause Microsoft VBScript runtime (0x800A0046) May 14, 2009 01:54 PM|mbw4359|LINK Tom, Per this code I'm assuming that the file is going to the same place where the script is. Is that a good assumption? Is there a way that I could programmaticlly make sure that its going there? I'm pretty new to asp but I would know how to do this in C or C++. Michael Reply tomkmvp 9756 Posts MVPModerator Re: CreateTextFile cause Microsoft VBScript runtime (0x800A0046) May 14, 2009 03:07 PM|tomkmvp|LINK I'm not sure. To be safe, and this is what I do, use the fully qualified file path for the file. Tom Kaminski (former IIS MVP 2002-2010) http://mvp.support.microsoft.com/ Reply mbw4359 4 Posts Re: CreateTextFile cause
VBScript runtime (0x800A0046) Permission denied The SitePoint Forums have moved. You can now find them here. This forum is now closed to new posts, but you can browse existing content. You can find out more information about the move and how to open a new http://www.sitepoint.com/forums/showthread.php?330218-Microsoft-VBScript-runtime-(0x800A0046)-Permission-denied account (if necessary) here. If you get stuck you can get support by emailing forums@sitepoint.com If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. SitePoint Sponsor User Tag List Results 1 to 4 of 4 Thread: Microsoft VBScript runtime (0x800A0046) Permission denied permission denied Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Dec 27, 2005,18:26 #1 Bruce Lee View Profile View Forum Posts SitePoint Zealot Join Date Jan 2005 Location Singapore Posts 198 Mentioned 0 Post(s) Tagged 0 Thread(s) Microsoft VBScript runtime (0x800A0046) Permission denied Hi, the above error occurs while trying to write a html file usinf file system object. strangly the error occurs once in a while. some times it works some times vbscript runtime error the above errors comes out. what could be the cause and how can i track why/when this errors occurs? Happy Coding!!! Bruce Lee. Dec 27, 2005,18:29 #2 celinab View Profile View Forum Posts SitePoint Member Join Date Dec 2005 Posts 8 Mentioned 0 Post(s) Tagged 0 Thread(s) are you trying to write the same file, again and again? could be that your visitors have the same page open at same time and are trying to write to the same famile and same time? could well be that... if not, tell us more my online diary... Dec 28, 2005,01:21 #3 afrika View Profile View Forum Posts Afrika Join Date Jul 2004 Location Nigeria Posts 1,737 Mentioned 0 Post(s) Tagged 0 Thread(s) Does it work at all ? and did you set up permissions to the parent folder ? Jan 3, 2006,07:15 #4 Bruce Lee View Profile View Forum Posts SitePoint Zealot Join Date Jan 2005 Location Singapore Posts 198 Mentioned 0 Post(s) Tagged 0 Thread(s) yes this works. but we need to wait for some time say 1 minute every time user tries to clicks create the file. if user quickly click the link again imediately the above error comes out. i guess as celinab mentioned, may be its trying to write to the same file. to avoid this i included the timestamp to the file name but this also doesnot work. Happy Coding!!! Bruce Lee. Quick Navigation Classic ASP Top Site Areas Settings Private Messages Subscriptions Wh