473,703 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WScript.Shell Microsoft VBScript runtime error '800a0046'

Erorr is
---------------------
Microsoft VBScript runtime error '800a0046'

Permission denied

/a.asp, line 3
-----------------------
Code is
-----------------------
<%
Set WShShell = Server.CreateOb ject("WScript.S hell")
WShShell.Run "cmd /c dir", 0, True

%>
-----------------------
This is a standart iis user site at c:\inetpub\wwwr oot with full
permissions to iis user.
server hasnt got any av or smilar sow installed
I have tried
------------------
editing cmd security and adding everyone user to cmd.exe just to male
sure it gets full access
editing cscript security and adding everyone user to cmd.exe just to
male sure it gets full access

nothaing has changed. I couldnt find any information on the net and
filemon&regmon does not rise any persmission denied errors.
can it be anything else? may be policy? if yes where can i find it?


below copy of filemon log
---------------------------------------------------

841 11:46:17 w3wp.exe:11228 OPEN C:\Inetpub\wwwr oot\a.asp SUCCESS
Options: Open Access: Read
842 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\Inetpub\wwwr oot\a.asp SUCCESS FileFsVolumeInf ormation
843 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Inetpub\wwwr oot\a.asp
BUFFER OVERFLOW FileAllInformat ion
844 11:46:17 w3wp.exe:11228 CLOSE C:\Inetpub\wwwr oot\a.asp SUCCESS
845 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshom.ocx SUCCESS Attributes: A
846 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Options: Open Access: 00100020
847 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshom.ocx SUCCESS Length: 98304
848 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\wshom.ocx SUCCESS
849 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshom.ocx SUCCESS Attributes: A
850 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Options: Open Access: 00100021
851 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshom.ocx SUCCESS Length: 98304
852 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\wshom.ocx SUCCESS
853 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Offset: 4096 Length: 32768
854 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Offset: 36864 Length: 20480
856 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Offset: 57344 Length: 4096
857 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Offset: 61440 Length: 16384
858 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Offset: 77824 Length: 16384
859 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\syst em32\wshom.ocx SUCCESS
Offset: 94208 Length: 4096
860 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\WINSPOOL.D RV SUCCESS Attributes: A
861 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\WINSPOOL.D RV
SUCCESS Options: Open Access: 00100021
862 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\WINSPOOL.D RV SUCCESS
863 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\ScrRun.dll SUCCESS Attributes: A
864 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\ScrRun.dll SUCCESS
Options: Open Access: 00100021
865 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\ScrRun.dll SUCCESS
866 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\MFC42.dll SUCCESS Attributes: A
867 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\MFC42.dll SUCCESS
Options: Open Access: 00100021
868 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\MFC42.dll SUCCESS
869 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\ODBC32.dll SUCCESS Attributes: A
870 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\ODBC32.dll SUCCESS
Options: Open Access: 00100021
871 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\ODBC32.dll SUCCESS
874 11:46:17 w3wp.exe:11228 OPEN
C:\WINDOWS\WinS xS\x86_Microsof t.Windows.Commo n-Controls_6595b6 4144ccf1df_5.82 .3790.3959_x-ww_78FCF8D0\COM CTL32.dll
SUCCESS Options: Open Access: 00100021
875 11:46:17 w3wp.exe:11228 CLOSE
C:\WINDOWS\WinS xS\x86_Microsof t.Windows.Commo n-Controls_6595b6 4144ccf1df_5.82 .3790.3959_x-ww_78FCF8D0\COM CTL32.dll
SUCCESS
876 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\odbcint.dl l SUCCESS Attributes: A
877 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\odbcint.dl l
SUCCESS Options: Open Access: 00100020
878 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\odbcint.dl l SUCCESS Length: 94208
879 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\odbcint.dl l SUCCESS
885 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\odbcint.dl l SUCCESS Attributes: A
886 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\odbcint.dl l
SUCCESS Options: Open Access: 00100021
887 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\odbcint.dl l SUCCESS
888 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\MFC42LOC.D LL NOT FOUND Attributes: Error
889 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\MFC42LOC.D LL NOT FOUND Attributes: Error
890 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\MFC42LOC.D LL.DLL NOT FOUND Attributes: Error
891 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
892 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
893 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\windows\syst em32\inetsrv\ws hENU.DLL NOT FOUND Attributes: Error
894 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
895 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em\wshENU.DLL NOT FOUND Attributes: Error
896 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshE NU.DLL
NOT FOUND Attributes: Error
897 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\inetsrv\ws hENU.DLL NOT FOUND Attributes: Error
898 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\Perl\site\bi n\wshENU.DLL NOT FOUND Attributes: Error
899 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Perl\bin\wsh ENU.DLL
NOT FOUND Attributes: Error
900 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
901 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshE NU.DLL
NOT FOUND Attributes: Error
902 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\WBEM\wshEN U.DLL NOT FOUND Attributes: Error
903 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Program Files\Microsoft
SQL Server\90\Tools \binn\wshENU.DL L NOT FOUND Attributes: Error
904 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshEN.DLL NOT FOUND Attributes: Error
905 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshEN.DLL NOT FOUND Attributes: Error
906 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\windows\syst em32\inetsrv\ws hEN.DLL NOT FOUND Attributes: Error
907 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshEN.DLL NOT FOUND Attributes: Error
908 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em\wshEN.DLL NOT FOUND Attributes: Error
910 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshE N.DLL NOT
FOUND Attributes: Error
911 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\inetsrv\ws hEN.DLL NOT FOUND Attributes: Error
912 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\Perl\site\bi n\wshEN.DLL NOT FOUND Attributes: Error
913 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Perl\bin\wsh EN.DLL
NOT FOUND Attributes: Error
914 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshEN.DLL NOT FOUND Attributes: Error
915 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshE N.DLL NOT
FOUND Attributes: Error
916 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\WBEM\wshEN .DLL NOT FOUND Attributes: Error
917 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Program Files\Microsoft
SQL Server\90\Tools \binn\wshEN.DLL NOT FOUND Attributes: Error
918 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
919 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
920 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\windows\syst em32\inetsrv\ws hENU.DLL NOT FOUND Attributes: Error
921 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
922 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em\wshENU.DLL NOT FOUND Attributes: Error
923 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshE NU.DLL
NOT FOUND Attributes: Error
924 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\inetsrv\ws hENU.DLL NOT FOUND Attributes: Error
925 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\Perl\site\bi n\wshENU.DLL NOT FOUND Attributes: Error
926 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Perl\bin\wsh ENU.DLL
NOT FOUND Attributes: Error
927 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\wshENU.DLL NOT FOUND Attributes: Error
928 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshE NU.DLL
NOT FOUND Attributes: Error
929 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\WBEM\wshEN U.DLL NOT FOUND Attributes: Error
930 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Program Files\Microsoft
SQL Server\90\Tools \binn\wshENU.DL L NOT FOUND Attributes: Error
931 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\windows\syst em32\inetsrv SUCCESS Attributes: D
932 11:46:17 w3wp.exe:11228 OPEN C:\windows\syst em32\inetsrv\ SUCCESS
Options: Open Directory Access: 00100001
933 11:46:17 w3wp.exe:11228 DIRECTORY C:\windows\syst em32\inetsrv\ NO
SUCH FILE FileBothDirecto ryInformation: cmd"*
934 11:46:17 w3wp.exe:11228 CLOSE C:\windows\syst em32\inetsrv\ SUCCESS
936 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\verclsid.e xe
SUCCESS Options: Open Access: 001000A1
937 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\verclsid.e xe SUCCESS Attributes: A
938 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\verclsid.e xe SUCCESS Length: 29184
939 11:46:17 w3wp.exe:11228 OPEN
C:\WINDOWS\syst em32\verclsid.e xe.Manifest NOT FOUND Options: Open
Access: 001200A9
940 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\verclsid.e xe SUCCESS
941 11:46:17 verclsid.exe:32 08 OPEN C:\windows\syst em32\inetsrv\
SUCCESS Options: Open Directory Access: 00100020
977 11:46:17 w3wp.exe:11228 OPEN C:\windows\syst em32\inetsrv\ SUCCESS
Options: Open Directory Access: 00100001
978 11:46:17 w3wp.exe:11228 DIRECTORY C:\windows\syst em32\inetsrv\ NO
SUCH FILE FileBothDirecto ryInformation: cmd"*
979 11:46:17 w3wp.exe:11228 CLOSE C:\windows\syst em32\inetsrv\ SUCCESS
980 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\syst em32\ SUCCESS Options:
Open Directory Access: 00100001
981 11:46:17 w3wp.exe:11228 DIRECTORY C:\WINDOWS\syst em32\ SUCCESS
FileBothDirecto ryInformation: cmd"*
982 11:46:17 w3wp.exe:11228 DIRECTORY C:\WINDOWS\syst em32\ NO MORE
FILES FileBothDirecto ryInformation
983 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\syst em32\ SUCCESS
984 11:46:17 w3wp.exe:11228 QUERY INFORMATION
C:\WINDOWS\syst em32\cmd.exe SUCCESS Attributes: A
Mar 20 '08 #1
0 6606

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
50584
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork = WScript.CreateObject("WScript.Network") sPwd = inputbox("Enter password") WshNetwork.MapNetworkDrive "J:", "\\server1\data", false, "xyz_net\John", sPwd Msgbox "Drives has been map successful"
10
9784
by: Seeker | last post by:
Hi! I have to do some developing and I'm trying to configure my server to mimic the operation of our production server. The issue I'm having is that I'm trying to use CDONTS to send an email under IIS on a Windows 2003 Server. The server does not have the SMTP service running, but I do have a third party SMTP/POP/IMAP server running. I have copied the CDONTS.DLL file and registered it. In the Web Serice Extensions I have enabled the...
6
15636
by: MacKenzie | last post by:
The statement in an asp page: dim objShell Set objShell = WScript.CreateObject("WScript.Shell") now gives this error: VB err= 424,Object required If I use setobjShell=Server.CreateObject("WScript.Shell"), I get the error VB err= 5,Invalid procedure call or argument
2
19277
by: Mike John | last post by:
I am trying to use the shell object to send keys to the explorer browser to run the send page funcion. I am receiving the above error only when I put my html file in the web server folder.However if I am runing the file local it will work Any reason, why when the file is in the web server folder the create object failed to created the shell object. Systax:
0
4397
by: Manojkumar | last post by:
Hai Folks, I am a new member to this group, can any one help me to find the solutions to this problem I am using Windows 2003 server and ASP Tear Component to encrupt the values while sending the values to other pages, it shows me error
2
15805
by: anidmarty | last post by:
Hey I'm a Sysadmin and my users are getting this error on my production box. It works fine on the dev box. There is a script that is run that generates this error. Production is clustered environment using Microsoft Application Center. This was working before and starting throwing this error about 15 days ago. any help would be much appreciated thanks
1
2786
by: Concheso | last post by:
Hi there! I just created a login page. 1/3 of the login works fine, but some like "Lost Password" of "Admin access to add users" are not working. Any help will be great! The erros: On the Lost Password using for instance: me@me.com
2
10480
by: =?Utf-8?B?VG9kZA==?= | last post by:
Hello I'm using the following script to try and ping: <% Response.Buffer = true %> <% url = "www.espn.com" Set objWShell = CreateObject("WScript.Shell") Set objCmd = objWShell.Exec("ping " & url) strPResult = objCmd.StdOut.Readall() set objCmd = nothing: Set objWShell = nothing
2
10529
by: =?Utf-8?B?c3RldmV3YQ==?= | last post by:
Microsoft VBScript runtime error '800a0046' Permission denied ======================= Trying to find the solution is driving me crazy. Using IIS6 on Server2003 SBS Default website localhost IE7 browser running under administrator xp account login
0
8761
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8672
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6594
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5923
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4434
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3125
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2462
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2070
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.