WScript.Shell Microsoft VBScript runtime error '800a0046'

Discussion in 'ASP General' started by .nLL, Mar 20, 2008.

  1. .nLL

    .nLL Guest

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

    Permission denied

    /a.asp, line 3
    -----------------------


    Code is
    -----------------------
    <%
    Set WShShell = Server.CreateObject("WScript.Shell")
    WShShell.Run "cmd /c dir", 0, True

    %>
    -----------------------


    This is a standart iis user site at c:\inetpub\wwwroot 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\wwwroot\a.asp SUCCESS
    Options: Open Access: Read
    842 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\Inetpub\wwwroot\a.asp SUCCESS FileFsVolumeInformation
    843 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Inetpub\wwwroot\a.asp
    BUFFER OVERFLOW FileAllInformation
    844 11:46:17 w3wp.exe:11228 CLOSE C:\Inetpub\wwwroot\a.asp SUCCESS
    845 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshom.ocx SUCCESS Attributes: A
    846 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\wshom.ocx SUCCESS
    Options: Open Access: 00100020
    847 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshom.ocx SUCCESS Length: 98304
    848 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\wshom.ocx SUCCESS
    849 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshom.ocx SUCCESS Attributes: A
    850 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\wshom.ocx SUCCESS
    Options: Open Access: 00100021
    851 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshom.ocx SUCCESS Length: 98304
    852 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\wshom.ocx SUCCESS
    853 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    Offset: 4096 Length: 32768
    854 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    Offset: 36864 Length: 20480
    856 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    Offset: 57344 Length: 4096
    857 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    Offset: 61440 Length: 16384
    858 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    Offset: 77824 Length: 16384
    859 11:46:17 w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    Offset: 94208 Length: 4096
    860 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\WINSPOOL.DRV SUCCESS Attributes: A
    861 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\WINSPOOL.DRV
    SUCCESS Options: Open Access: 00100021
    862 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\WINSPOOL.DRV SUCCESS
    863 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\ScrRun.dll SUCCESS Attributes: A
    864 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\ScrRun.dll SUCCESS
    Options: Open Access: 00100021
    865 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\ScrRun.dll SUCCESS
    866 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\MFC42.dll SUCCESS Attributes: A
    867 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\MFC42.dll SUCCESS
    Options: Open Access: 00100021
    868 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\MFC42.dll SUCCESS
    869 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\ODBC32.dll SUCCESS Attributes: A
    870 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS
    Options: Open Access: 00100021
    871 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\ODBC32.dll SUCCESS
    874 11:46:17 w3wp.exe:11228 OPEN
    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    SUCCESS Options: Open Access: 00100021
    875 11:46:17 w3wp.exe:11228 CLOSE
    C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    SUCCESS
    876 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A
    877 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\odbcint.dll
    SUCCESS Options: Open Access: 00100020
    878 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\odbcint.dll SUCCESS Length: 94208
    879 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS
    885 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A
    886 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\odbcint.dll
    SUCCESS Options: Open Access: 00100021
    887 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS
    888 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    889 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    890 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\MFC42LOC.DLL.DLL NOT FOUND Attributes: Error
    891 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    892 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    893 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    894 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    895 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    896 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshENU.DLL
    NOT FOUND Attributes: Error
    897 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    898 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error
    899 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Perl\bin\wshENU.DLL
    NOT FOUND Attributes: Error
    900 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    901 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshENU.DLL
    NOT FOUND Attributes: Error
    902 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes: Error
    903 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Program Files\Microsoft
    SQL Server\90\Tools\binn\wshENU.DLL NOT FOUND Attributes: Error
    904 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    905 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    906 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\windows\system32\inetsrv\wshEN.DLL NOT FOUND Attributes: Error
    907 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    908 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system\wshEN.DLL NOT FOUND Attributes: Error
    910 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshEN.DLL NOT
    FOUND Attributes: Error
    911 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\inetsrv\wshEN.DLL NOT FOUND Attributes: Error
    912 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\Perl\site\bin\wshEN.DLL NOT FOUND Attributes: Error
    913 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Perl\bin\wshEN.DLL
    NOT FOUND Attributes: Error
    914 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    915 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshEN.DLL NOT
    FOUND Attributes: Error
    916 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\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\system32\wshENU.DLL NOT FOUND Attributes: Error
    919 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    920 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    921 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    922 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    923 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshENU.DLL
    NOT FOUND Attributes: Error
    924 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    925 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error
    926 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Perl\bin\wshENU.DLL
    NOT FOUND Attributes: Error
    927 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    928 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\wshENU.DLL
    NOT FOUND Attributes: Error
    929 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes: Error
    930 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Program Files\Microsoft
    SQL Server\90\Tools\binn\wshENU.DLL NOT FOUND Attributes: Error
    931 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\windows\system32\inetsrv SUCCESS Attributes: D
    932 11:46:17 w3wp.exe:11228 OPEN C:\windows\system32\inetsrv\ SUCCESS
    Options: Open Directory Access: 00100001
    933 11:46:17 w3wp.exe:11228 DIRECTORY C:\windows\system32\inetsrv\ NO
    SUCH FILE FileBothDirectoryInformation: cmd"*
    934 11:46:17 w3wp.exe:11228 CLOSE C:\windows\system32\inetsrv\ SUCCESS
    936 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\verclsid.exe
    SUCCESS Options: Open Access: 001000A1
    937 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\verclsid.exe SUCCESS Attributes: A
    938 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\verclsid.exe SUCCESS Length: 29184
    939 11:46:17 w3wp.exe:11228 OPEN
    C:\WINDOWS\system32\verclsid.exe.Manifest NOT FOUND Options: Open
    Access: 001200A9
    940 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\verclsid.exe SUCCESS
    941 11:46:17 verclsid.exe:3208 OPEN C:\windows\system32\inetsrv\
    SUCCESS Options: Open Directory Access: 00100020
    977 11:46:17 w3wp.exe:11228 OPEN C:\windows\system32\inetsrv\ SUCCESS
    Options: Open Directory Access: 00100001
    978 11:46:17 w3wp.exe:11228 DIRECTORY C:\windows\system32\inetsrv\ NO
    SUCH FILE FileBothDirectoryInformation: cmd"*
    979 11:46:17 w3wp.exe:11228 CLOSE C:\windows\system32\inetsrv\ SUCCESS
    980 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\ SUCCESS Options:
    Open Directory Access: 00100001
    981 11:46:17 w3wp.exe:11228 DIRECTORY C:\WINDOWS\system32\ SUCCESS
    FileBothDirectoryInformation: cmd"*
    982 11:46:17 w3wp.exe:11228 DIRECTORY C:\WINDOWS\system32\ NO MORE
    FILES FileBothDirectoryInformation
    983 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\ SUCCESS
    984 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    C:\WINDOWS\system32\cmd.exe SUCCESS Attributes: A
     
    .nLL, Mar 20, 2008
    #1
    1. Advertising

  2. .nLL

    .nLL Guest

    DONE IT!

    i have created a special application pool for this domain and and under
    properties>identity section of that application pool i have used
    administrator account





    ..nLL wrote:
    > Erorr is
    > ---------------------
    > Microsoft VBScript runtime error '800a0046'
    >
    > Permission denied
    >
    > /a.asp, line 3
    > -----------------------
    >
    >
    > Code is
    > -----------------------
    > <%
    > Set WShShell = Server.CreateObject("WScript.Shell")
    > WShShell.Run "cmd /c dir", 0, True
    >
    > %>
    > -----------------------
    >
    >
    > This is a standart iis user site at c:\inetpub\wwwroot 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\wwwroot\a.asp
    > SUCCESS Options: Open Access: Read
    > 842 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Inetpub\wwwroot\a.asp SUCCESS FileFsVolumeInformation
    > 843 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Inetpub\wwwroot\a.asp BUFFER OVERFLOW FileAllInformation
    > 844 11:46:17 w3wp.exe:11228 CLOSE
    > C:\Inetpub\wwwroot\a.asp SUCCESS
    > 845 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Attributes: A
    > 846 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Options: Open Access: 00100020
    > 847 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Length: 98304
    > 848 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\wshom.ocx SUCCESS
    > 849 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Attributes: A
    > 850 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Options: Open Access: 00100021
    > 851 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Length: 98304
    > 852 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\wshom.ocx SUCCESS
    > 853 11:46:17 w3wp.exe:11228 READ
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 4096 Length: 32768
    > 854 11:46:17 w3wp.exe:11228 READ
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 36864 Length: 20480
    > 856 11:46:17 w3wp.exe:11228 READ
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 57344 Length: 4096
    > 857 11:46:17 w3wp.exe:11228 READ
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 61440 Length: 16384
    > 858 11:46:17 w3wp.exe:11228 READ
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 77824 Length: 16384
    > 859 11:46:17 w3wp.exe:11228 READ
    > C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 94208 Length: 4096
    > 860 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\WINSPOOL.DRV SUCCESS Attributes: A
    > 861 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\WINSPOOL.DRV SUCCESS Options: Open Access:
    > 00100021
    > 862 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\WINSPOOL.DRV SUCCESS
    > 863 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\ScrRun.dll SUCCESS Attributes: A
    > 864 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\ScrRun.dll SUCCESS Options: Open Access:
    > 00100021
    > 865 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\ScrRun.dll SUCCESS
    > 866 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\MFC42.dll SUCCESS Attributes: A
    > 867 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\MFC42.dll SUCCESS Options: Open Access: 00100021
    > 868 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\MFC42.dll SUCCESS
    > 869 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\ODBC32.dll SUCCESS Attributes: A
    > 870 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: Open Access:
    > 00100021
    > 871 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\ODBC32.dll SUCCESS
    > 874 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    > SUCCESS Options: Open Access: 00100021
    > 875 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    > SUCCESS
    > 876 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A
    > 877 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\odbcint.dll SUCCESS Options: Open Access:
    > 00100020
    > 878 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\odbcint.dll SUCCESS Length: 94208
    > 879 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\odbcint.dll SUCCESS
    > 885 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A
    > 886 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\odbcint.dll SUCCESS Options: Open Access:
    > 00100021
    > 887 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\odbcint.dll SUCCESS
    > 888 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    > 889 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    > 890 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\MFC42LOC.DLL.DLL NOT FOUND Attributes: Error
    > 891 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 892 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 893 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    > 894 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 895 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    > 896 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error
    > 897 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    > 898 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error
    > 899 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Perl\bin\wshENU.DLL NOT FOUND Attributes: Error
    > 900 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 901 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error
    > 902 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes: Error
    > 903 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Program
    > Files\Microsoft SQL Server\90\Tools\binn\wshENU.DLL NOT FOUND
    > Attributes: Error
    > 904 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    > 905 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    > 906 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\windows\system32\inetsrv\wshEN.DLL NOT FOUND Attributes: Error
    > 907 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    > 908 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system\wshEN.DLL NOT FOUND Attributes: Error
    > 910 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\wshEN.DLL NOT FOUND Attributes: Error
    > 911 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\inetsrv\wshEN.DLL NOT FOUND Attributes: Error
    > 912 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Perl\site\bin\wshEN.DLL NOT FOUND Attributes: Error
    > 913 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Perl\bin\wshEN.DLL NOT FOUND Attributes: Error
    > 914 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    > 915 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\wshEN.DLL NOT FOUND Attributes: Error
    > 916 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\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\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 919 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 920 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    > 921 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 922 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    > 923 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error
    > 924 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes: Error
    > 925 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error
    > 926 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\Perl\bin\wshENU.DLL NOT FOUND Attributes: Error
    > 927 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    > 928 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error
    > 929 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes: Error
    > 930 11:46:17 w3wp.exe:11228 QUERY INFORMATION C:\Program
    > Files\Microsoft SQL Server\90\Tools\binn\wshENU.DLL NOT FOUND
    > Attributes: Error
    > 931 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\windows\system32\inetsrv SUCCESS Attributes: D
    > 932 11:46:17 w3wp.exe:11228 OPEN
    > C:\windows\system32\inetsrv\ SUCCESS Options: Open Directory Access:
    > 00100001
    > 933 11:46:17 w3wp.exe:11228 DIRECTORY
    > C:\windows\system32\inetsrv\ NO SUCH FILE
    > FileBothDirectoryInformation: cmd"*
    > 934 11:46:17 w3wp.exe:11228 CLOSE
    > C:\windows\system32\inetsrv\ SUCCESS
    > 936 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\verclsid.exe SUCCESS Options: Open Access:
    > 001000A1
    > 937 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\verclsid.exe SUCCESS Attributes: A
    > 938 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\verclsid.exe SUCCESS Length: 29184
    > 939 11:46:17 w3wp.exe:11228 OPEN
    > C:\WINDOWS\system32\verclsid.exe.Manifest NOT FOUND Options: Open
    > Access: 001200A9
    > 940 11:46:17 w3wp.exe:11228 CLOSE
    > C:\WINDOWS\system32\verclsid.exe SUCCESS
    > 941 11:46:17 verclsid.exe:3208 OPEN
    > C:\windows\system32\inetsrv\ SUCCESS Options: Open Directory Access:
    > 00100020
    > 977 11:46:17 w3wp.exe:11228 OPEN
    > C:\windows\system32\inetsrv\ SUCCESS Options: Open Directory Access:
    > 00100001
    > 978 11:46:17 w3wp.exe:11228 DIRECTORY
    > C:\windows\system32\inetsrv\ NO SUCH FILE
    > FileBothDirectoryInformation: cmd"*
    > 979 11:46:17 w3wp.exe:11228 CLOSE
    > C:\windows\system32\inetsrv\ SUCCESS
    > 980 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\
    > SUCCESS Options: Open Directory Access: 00100001
    > 981 11:46:17 w3wp.exe:11228 DIRECTORY
    > C:\WINDOWS\system32\ SUCCESS FileBothDirectoryInformation: cmd"*
    > 982 11:46:17 w3wp.exe:11228 DIRECTORY
    > C:\WINDOWS\system32\ NO MORE FILES FileBothDirectoryInformation
    > 983 11:46:17 w3wp.exe:11228 CLOSE C:\WINDOWS\system32\
    > SUCCESS
    > 984 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    > C:\WINDOWS\system32\cmd.exe SUCCESS Attributes: A
    >
    >
     
    .nLL, Mar 20, 2008
    #2
    1. Advertising

  3. .nLL

    .nLL Guest

    well not so fast. After 30 minutes without changing anything error came
    back. i don't understand what is the reason for it.


    ..nLL wrote:
    > DONE IT!
    >
    > i have created a special application pool for this domain and and under
    > properties>identity section of that application pool i have used
    > administrator account
    >
    >
    >
    >
    >
    > .nLL wrote:
    >> Erorr is
    >> ---------------------
    >> Microsoft VBScript runtime error '800a0046'
    >>
    >> Permission denied
    >>
    >> /a.asp, line 3
    >> -----------------------
    >>
    >>
    >> Code is
    >> -----------------------
    >> <%
    >> Set WShShell = Server.CreateObject("WScript.Shell")
    >> WShShell.Run "cmd /c dir", 0, True
    >>
    >> %>
    >> -----------------------
    >>
    >>
    >> This is a standart iis user site at c:\inetpub\wwwroot 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\wwwroot\a.asp SUCCESS Options: Open Access: Read
    >> 842 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Inetpub\wwwroot\a.asp SUCCESS FileFsVolumeInformation
    >> 843 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Inetpub\wwwroot\a.asp BUFFER OVERFLOW FileAllInformation
    >> 844 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\Inetpub\wwwroot\a.asp SUCCESS 845 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\wshom.ocx
    >> SUCCESS Attributes: A 846 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\wshom.ocx SUCCESS Options: Open
    >> Access: 00100020 847 11:46:17 w3wp.exe:11228 QUERY
    >> INFORMATION C:\WINDOWS\system32\wshom.ocx SUCCESS Length:
    >> 98304 848 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS 849 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\wshom.ocx
    >> SUCCESS Attributes: A 850 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\wshom.ocx SUCCESS Options: Open
    >> Access: 00100021 851 11:46:17 w3wp.exe:11228 QUERY
    >> INFORMATION C:\WINDOWS\system32\wshom.ocx SUCCESS Length:
    >> 98304 852 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS 853 11:46:17
    >> w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    >> Offset: 4096 Length: 32768 854 11:46:17 w3wp.exe:11228
    >> READ C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 36864
    >> Length: 20480 856 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 57344 Length: 4096
    >> 857 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 61440 Length: 16384
    >> 858 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 77824 Length: 16384
    >> 859 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 94208 Length: 4096
    >> 860 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\WINSPOOL.DRV SUCCESS Attributes: A 861
    >> 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\WINSPOOL.DRV
    >> SUCCESS Options: Open Access: 00100021 862 11:46:17
    >> w3wp.exe:11228 CLOSE C:\WINDOWS\system32\WINSPOOL.DRV
    >> SUCCESS 863 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\ScrRun.dll SUCCESS Attributes: A 864
    >> 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\ScrRun.dll SUCCESS Options: Open Access:
    >> 00100021 865 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\ScrRun.dll SUCCESS 866 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\MFC42.dll
    >> SUCCESS Attributes: A 867 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\MFC42.dll SUCCESS Options: Open
    >> Access: 00100021 868 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\MFC42.dll SUCCESS 869 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\ODBC32.dll
    >> SUCCESS Attributes: A 870 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: Open
    >> Access: 00100021 871 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\ODBC32.dll SUCCESS 874 11:46:17
    >> w3wp.exe:11228 OPEN
    >> C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    >> SUCCESS Options: Open Access: 00100021 875 11:46:17
    >> w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    >> SUCCESS 876 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A 877
    >> 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS Options: Open Access: 00100020 878 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS Length: 94208 879 11:46:17 w3wp.exe:11228
    >> CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS 885
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A 886
    >> 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS Options: Open Access: 00100021 887 11:46:17
    >> w3wp.exe:11228 CLOSE C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS 888 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    >> 889 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    >> 890 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\MFC42LOC.DLL.DLL NOT FOUND Attributes:
    >> Error 891 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 892 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 893 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 894 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 895 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    >> 896 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 897
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 898 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error 899
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\bin\wshENU.DLL NOT FOUND Attributes: Error 900
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 901 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 902
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes:
    >> Error 903 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Program Files\Microsoft SQL Server\90\Tools\binn\wshENU.DLL NOT
    >> FOUND Attributes: Error 904 11:46:17 w3wp.exe:11228
    >> QUERY INFORMATION C:\WINDOWS\system32\wshEN.DLL NOT FOUND
    >> Attributes: Error 905 11:46:17 w3wp.exe:11228 QUERY
    >> INFORMATION C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes:
    >> Error 906 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\windows\system32\inetsrv\wshEN.DLL NOT FOUND Attributes:
    >> Error 907 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    >> 908 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system\wshEN.DLL NOT FOUND Attributes: Error 910
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshEN.DLL NOT FOUND Attributes: Error 911
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\inetsrv\wshEN.DLL NOT FOUND Attributes:
    >> Error 912 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\site\bin\wshEN.DLL NOT FOUND Attributes: Error 913
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\bin\wshEN.DLL NOT FOUND Attributes: Error 914
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    >> 915 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshEN.DLL NOT FOUND Attributes: Error 916
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\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\system32\wshENU.DLL NOT FOUND Attributes:
    >> Error 919 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 920 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 921 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 922 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    >> 923 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 924
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 925 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error 926
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\bin\wshENU.DLL NOT FOUND Attributes: Error 927
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 928 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 929
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes:
    >> Error 930 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Program Files\Microsoft SQL Server\90\Tools\binn\wshENU.DLL NOT
    >> FOUND Attributes: Error 931 11:46:17 w3wp.exe:11228
    >> QUERY INFORMATION C:\windows\system32\inetsrv SUCCESS
    >> Attributes: D 932 11:46:17 w3wp.exe:11228 OPEN
    >> C:\windows\system32\inetsrv\ SUCCESS Options: Open Directory
    >> Access: 00100001 933 11:46:17 w3wp.exe:11228 DIRECTORY
    >> C:\windows\system32\inetsrv\ NO SUCH FILE
    >> FileBothDirectoryInformation: cmd"* 934 11:46:17
    >> w3wp.exe:11228 CLOSE C:\windows\system32\inetsrv\
    >> SUCCESS 936 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS Options: Open Access:
    >> 001000A1 937 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS Attributes: A 938
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS Length: 29184 939
    >> 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\verclsid.exe.Manifest NOT FOUND Options:
    >> Open Access: 001200A9 940 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS 941 11:46:17
    >> verclsid.exe:3208 OPEN C:\windows\system32\inetsrv\ SUCCESS
    >> Options: Open Directory Access: 00100020 977 11:46:17
    >> w3wp.exe:11228 OPEN C:\windows\system32\inetsrv\ SUCCESS
    >> Options: Open Directory Access: 00100001 978 11:46:17
    >> w3wp.exe:11228 DIRECTORY C:\windows\system32\inetsrv\ NO SUCH
    >> FILE FileBothDirectoryInformation: cmd"* 979 11:46:17
    >> w3wp.exe:11228 CLOSE C:\windows\system32\inetsrv\
    >> SUCCESS 980 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\ SUCCESS Options: Open Directory Access:
    >> 00100001 981 11:46:17 w3wp.exe:11228 DIRECTORY
    >> C:\WINDOWS\system32\ SUCCESS FileBothDirectoryInformation: cmd"*
    >> 982 11:46:17 w3wp.exe:11228 DIRECTORY
    >> C:\WINDOWS\system32\ NO MORE FILES
    >> FileBothDirectoryInformation 983 11:46:17 w3wp.exe:11228
    >> CLOSE C:\WINDOWS\system32\ SUCCESS 984 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe
    >> SUCCESS Attributes: A
    >>
     
    .nLL, Mar 20, 2008
    #3
  4. .nLL

    .nLL Guest

    right, here is the another info. if i change identity to local system it
    works again.



    ..nLL wrote:
    > DONE IT!
    >
    > i have created a special application pool for this domain and and under
    > properties>identity section of that application pool i have used
    > administrator account
    >
    >
    >
    >
    >
    > .nLL wrote:
    >> Erorr is
    >> ---------------------
    >> Microsoft VBScript runtime error '800a0046'
    >>
    >> Permission denied
    >>
    >> /a.asp, line 3
    >> -----------------------
    >>
    >>
    >> Code is
    >> -----------------------
    >> <%
    >> Set WShShell = Server.CreateObject("WScript.Shell")
    >> WShShell.Run "cmd /c dir", 0, True
    >>
    >> %>
    >> -----------------------
    >>
    >>
    >> This is a standart iis user site at c:\inetpub\wwwroot 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\wwwroot\a.asp SUCCESS Options: Open Access: Read
    >> 842 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Inetpub\wwwroot\a.asp SUCCESS FileFsVolumeInformation
    >> 843 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Inetpub\wwwroot\a.asp BUFFER OVERFLOW FileAllInformation
    >> 844 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\Inetpub\wwwroot\a.asp SUCCESS 845 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\wshom.ocx
    >> SUCCESS Attributes: A 846 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\wshom.ocx SUCCESS Options: Open
    >> Access: 00100020 847 11:46:17 w3wp.exe:11228 QUERY
    >> INFORMATION C:\WINDOWS\system32\wshom.ocx SUCCESS Length:
    >> 98304 848 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS 849 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\wshom.ocx
    >> SUCCESS Attributes: A 850 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\wshom.ocx SUCCESS Options: Open
    >> Access: 00100021 851 11:46:17 w3wp.exe:11228 QUERY
    >> INFORMATION C:\WINDOWS\system32\wshom.ocx SUCCESS Length:
    >> 98304 852 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS 853 11:46:17
    >> w3wp.exe:11228 READ C:\WINDOWS\system32\wshom.ocx SUCCESS
    >> Offset: 4096 Length: 32768 854 11:46:17 w3wp.exe:11228
    >> READ C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 36864
    >> Length: 20480 856 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 57344 Length: 4096
    >> 857 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 61440 Length: 16384
    >> 858 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 77824 Length: 16384
    >> 859 11:46:17 w3wp.exe:11228 READ
    >> C:\WINDOWS\system32\wshom.ocx SUCCESS Offset: 94208 Length: 4096
    >> 860 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\WINSPOOL.DRV SUCCESS Attributes: A 861
    >> 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\WINSPOOL.DRV
    >> SUCCESS Options: Open Access: 00100021 862 11:46:17
    >> w3wp.exe:11228 CLOSE C:\WINDOWS\system32\WINSPOOL.DRV
    >> SUCCESS 863 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\ScrRun.dll SUCCESS Attributes: A 864
    >> 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\ScrRun.dll SUCCESS Options: Open Access:
    >> 00100021 865 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\ScrRun.dll SUCCESS 866 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\MFC42.dll
    >> SUCCESS Attributes: A 867 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\MFC42.dll SUCCESS Options: Open
    >> Access: 00100021 868 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\MFC42.dll SUCCESS 869 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\ODBC32.dll
    >> SUCCESS Attributes: A 870 11:46:17 w3wp.exe:11228
    >> OPEN C:\WINDOWS\system32\ODBC32.dll SUCCESS Options: Open
    >> Access: 00100021 871 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\ODBC32.dll SUCCESS 874 11:46:17
    >> w3wp.exe:11228 OPEN
    >> C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    >> SUCCESS Options: Open Access: 00100021 875 11:46:17
    >> w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\COMCTL32.dll
    >> SUCCESS 876 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A 877
    >> 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS Options: Open Access: 00100020 878 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS Length: 94208 879 11:46:17 w3wp.exe:11228
    >> CLOSE C:\WINDOWS\system32\odbcint.dll SUCCESS 885
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\odbcint.dll SUCCESS Attributes: A 886
    >> 11:46:17 w3wp.exe:11228 OPEN C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS Options: Open Access: 00100021 887 11:46:17
    >> w3wp.exe:11228 CLOSE C:\WINDOWS\system32\odbcint.dll
    >> SUCCESS 888 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    >> 889 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\MFC42LOC.DLL NOT FOUND Attributes: Error
    >> 890 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\MFC42LOC.DLL.DLL NOT FOUND Attributes:
    >> Error 891 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 892 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 893 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 894 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 895 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    >> 896 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 897
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 898 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error 899
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\bin\wshENU.DLL NOT FOUND Attributes: Error 900
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 901 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 902
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes:
    >> Error 903 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Program Files\Microsoft SQL Server\90\Tools\binn\wshENU.DLL NOT
    >> FOUND Attributes: Error 904 11:46:17 w3wp.exe:11228
    >> QUERY INFORMATION C:\WINDOWS\system32\wshEN.DLL NOT FOUND
    >> Attributes: Error 905 11:46:17 w3wp.exe:11228 QUERY
    >> INFORMATION C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes:
    >> Error 906 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\windows\system32\inetsrv\wshEN.DLL NOT FOUND Attributes:
    >> Error 907 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    >> 908 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system\wshEN.DLL NOT FOUND Attributes: Error 910
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshEN.DLL NOT FOUND Attributes: Error 911
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\inetsrv\wshEN.DLL NOT FOUND Attributes:
    >> Error 912 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\site\bin\wshEN.DLL NOT FOUND Attributes: Error 913
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\bin\wshEN.DLL NOT FOUND Attributes: Error 914
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshEN.DLL NOT FOUND Attributes: Error
    >> 915 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshEN.DLL NOT FOUND Attributes: Error 916
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\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\system32\wshENU.DLL NOT FOUND Attributes:
    >> Error 919 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 920 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\windows\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 921 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 922 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system\wshENU.DLL NOT FOUND Attributes: Error
    >> 923 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 924
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\inetsrv\wshENU.DLL NOT FOUND Attributes:
    >> Error 925 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\site\bin\wshENU.DLL NOT FOUND Attributes: Error 926
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Perl\bin\wshENU.DLL NOT FOUND Attributes: Error 927
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\wshENU.DLL NOT FOUND Attributes: Error
    >> 928 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\wshENU.DLL NOT FOUND Attributes: Error 929
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\WBEM\wshENU.DLL NOT FOUND Attributes:
    >> Error 930 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\Program Files\Microsoft SQL Server\90\Tools\binn\wshENU.DLL NOT
    >> FOUND Attributes: Error 931 11:46:17 w3wp.exe:11228
    >> QUERY INFORMATION C:\windows\system32\inetsrv SUCCESS
    >> Attributes: D 932 11:46:17 w3wp.exe:11228 OPEN
    >> C:\windows\system32\inetsrv\ SUCCESS Options: Open Directory
    >> Access: 00100001 933 11:46:17 w3wp.exe:11228 DIRECTORY
    >> C:\windows\system32\inetsrv\ NO SUCH FILE
    >> FileBothDirectoryInformation: cmd"* 934 11:46:17
    >> w3wp.exe:11228 CLOSE C:\windows\system32\inetsrv\
    >> SUCCESS 936 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS Options: Open Access:
    >> 001000A1 937 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS Attributes: A 938
    >> 11:46:17 w3wp.exe:11228 QUERY INFORMATION
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS Length: 29184 939
    >> 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\verclsid.exe.Manifest NOT FOUND Options:
    >> Open Access: 001200A9 940 11:46:17 w3wp.exe:11228 CLOSE
    >> C:\WINDOWS\system32\verclsid.exe SUCCESS 941 11:46:17
    >> verclsid.exe:3208 OPEN C:\windows\system32\inetsrv\ SUCCESS
    >> Options: Open Directory Access: 00100020 977 11:46:17
    >> w3wp.exe:11228 OPEN C:\windows\system32\inetsrv\ SUCCESS
    >> Options: Open Directory Access: 00100001 978 11:46:17
    >> w3wp.exe:11228 DIRECTORY C:\windows\system32\inetsrv\ NO SUCH
    >> FILE FileBothDirectoryInformation: cmd"* 979 11:46:17
    >> w3wp.exe:11228 CLOSE C:\windows\system32\inetsrv\
    >> SUCCESS 980 11:46:17 w3wp.exe:11228 OPEN
    >> C:\WINDOWS\system32\ SUCCESS Options: Open Directory Access:
    >> 00100001 981 11:46:17 w3wp.exe:11228 DIRECTORY
    >> C:\WINDOWS\system32\ SUCCESS FileBothDirectoryInformation: cmd"*
    >> 982 11:46:17 w3wp.exe:11228 DIRECTORY
    >> C:\WINDOWS\system32\ NO MORE FILES
    >> FileBothDirectoryInformation 983 11:46:17 w3wp.exe:11228
    >> CLOSE C:\WINDOWS\system32\ SUCCESS 984 11:46:17
    >> w3wp.exe:11228 QUERY INFORMATION C:\WINDOWS\system32\cmd.exe
    >> SUCCESS Attributes: A
    >>
     
    .nLL, Mar 20, 2008
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike John
    Replies:
    2
    Views:
    6,538
  2. nicholas.gadacz

    Microsoft VBScript runtime error '800a0046'

    nicholas.gadacz, Oct 21, 2003, in forum: ASP General
    Replies:
    3
    Views:
    458
    Bob Barrows
    Oct 22, 2003
  3. Kyle

    WScript.Shell Run Error

    Kyle, Jan 19, 2004, in forum: ASP General
    Replies:
    0
    Views:
    999
  4. Seeker
    Replies:
    10
    Views:
    610
    Seeker
    Mar 4, 2004
  5. stevewa
    Replies:
    2
    Views:
    462
    stevewa
    Aug 13, 2008
Loading...

Share This Page