Hello,

I have Win Server 2003 running more than 3 years well.
There is couple webs, where content update is made by calling foo.exe from
ISAPI dll.
FOO.EXE unzips new files into web folder. It is working well when started
from CMD.

By the end of last year I had HDD failure and I had to reinstall server.
All is running well now instead of these updates.
It seems IIS doesn't permit to run exe file from ISAPI dll.
Both dll and exe are allowed in iis extensions.
There is no line about it in EvenLog.
I think it is not ACL rights case, because situation is the same when I put
IUSR... into administrators group.

Thank you very much for any recommendation!

Miroslav

Re: IIS 6, ISAPI, EXE, PIPEs by David

David
Fri Feb 23 03:42:50 CST 2007

IIS is not preventing foo.exe from executing. It does not know about
it. So, you can remove the foo.exe from Web Service Extension because
it is unnecessary.

I suggest you make the ISAPI DLL report the error code returned from
running foo.exe so that the issue is debuggable. Otherwise, we are
just guessing at what is changed on your server.

Do you happen to have IE7 installed now but not before? Because other
than the system security changes introduced by IE7, I cannot think of
anything else. By default, ISAPI DLL has no problems running EXE via
CreateProcess.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




On Feb 23, 1:29 am, "Knapek Miroslav" <kna...@mmsw.cz> wrote:
> Hello,
>
> I have Win Server 2003 running more than 3 years well.
> There is couple webs, where content update is made by calling foo.exe from
> ISAPI dll.
> FOO.EXE unzips new files into web folder. It is working well when started
> from CMD.
>
> By the end of last year I had HDD failure and I had to reinstall server.
> All is running well now instead of these updates.
> It seems IIS doesn't permit to run exe file from ISAPI dll.
> Both dll and exe are allowed in iis extensions.
> There is no line about it in EvenLog.
> I think it is not ACL rights case, because situation is the same when I put
> IUSR... into administrators group.
>
> Thank you very much for any recommendation!
>
> Miroslav



Re: IIS 6, ISAPI, EXE, PIPEs by Knapek

Knapek
Fri Feb 23 05:11:47 CST 2007

Thank you very much for your answer.

I instaled MSIE 7 on server with new instalation, so it could be the reason.

If it is be possible to uninstall it I will do it.

Sincerely
Miroslav

Miroslav Knapek
MultiMedia SoftWare

"David Wang" <w3.4you@gmail.com> píse v diskusním príspevku
news:1172223770.592399.287130@t69g2000cwt.googlegroups.com...
> IIS is not preventing foo.exe from executing. It does not know about
> it. So, you can remove the foo.exe from Web Service Extension because
> it is unnecessary.
>
> I suggest you make the ISAPI DLL report the error code returned from
> running foo.exe so that the issue is debuggable. Otherwise, we are
> just guessing at what is changed on your server.
>
> Do you happen to have IE7 installed now but not before? Because other
> than the system security changes introduced by IE7, I cannot think of
> anything else. By default, ISAPI DLL has no problems running EXE via
> CreateProcess.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
> On Feb 23, 1:29 am, "Knapek Miroslav" <kna...@mmsw.cz> wrote:
>> Hello,
>>
>> I have Win Server 2003 running more than 3 years well.
>> There is couple webs, where content update is made by calling foo.exe
>> from
>> ISAPI dll.
>> FOO.EXE unzips new files into web folder. It is working well when started
>> from CMD.
>>
>> By the end of last year I had HDD failure and I had to reinstall server.
>> All is running well now instead of these updates.
>> It seems IIS doesn't permit to run exe file from ISAPI dll.
>> Both dll and exe are allowed in iis extensions.
>> There is no line about it in EvenLog.
>> I think it is not ACL rights case, because situation is the same when I
>> put
>> IUSR... into administrators group.
>>
>> Thank you very much for any recommendation!
>>
>> Miroslav
>
>



Re: IIS 6, ISAPI, EXE, PIPEs by Knapek

Knapek
Fri Feb 23 10:55:06 CST 2007

You are great guru!!

MSIE 7 was the reason.
I uninstall it and all is working now.
I cannot imagine how IE could do anything with IIS, but it is.

Would you be so kind to tell me, what security setting in MSIE 7 could do
that?
Sometime I will have to install it.

Thank you very much!
Miroslav

Miroslav Knapek

"David Wang" <w3.4you@gmail.com> píse v diskusním príspevku
news:1172223770.592399.287130@t69g2000cwt.googlegroups.com...
> IIS is not preventing foo.exe from executing. It does not know about
> it. So, you can remove the foo.exe from Web Service Extension because
> it is unnecessary.
>
> I suggest you make the ISAPI DLL report the error code returned from
> running foo.exe so that the issue is debuggable. Otherwise, we are
> just guessing at what is changed on your server.
>
> Do you happen to have IE7 installed now but not before? Because other
> than the system security changes introduced by IE7, I cannot think of
> anything else. By default, ISAPI DLL has no problems running EXE via
> CreateProcess.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
> On Feb 23, 1:29 am, "Knapek Miroslav" <kna...@mmsw.cz> wrote:
>> Hello,
>>
>> I have Win Server 2003 running more than 3 years well.
>> There is couple webs, where content update is made by calling foo.exe
>> from
>> ISAPI dll.
>> FOO.EXE unzips new files into web folder. It is working well when started
>> from CMD.
>>
>> By the end of last year I had HDD failure and I had to reinstall server.
>> All is running well now instead of these updates.
>> It seems IIS doesn't permit to run exe file from ISAPI dll.
>> Both dll and exe are allowed in iis extensions.
>> There is no line about it in EvenLog.
>> I think it is not ACL rights case, because situation is the same when I
>> put
>> IUSR... into administrators group.
>>
>> Thank you very much for any recommendation!
>>
>> Miroslav
>
>



Re: IIS 6, ISAPI, EXE, PIPEs by David

David
Sun Feb 25 04:11:16 CST 2007

I'm not yet certain what security setting in IE7 causes this. I
consider this a pretty bad bug from IE7.

I have seen prior users having problems calling WshShell.Run() from
ASP after installing IE7 (WshShell.Run() reduces down to a
CreateProcess() call -- same as what you do from ISAPI), so I wagered
that it may be involved in your case.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



On Feb 23, 8:55 am, "Knapek Miroslav" <kna...@mmsw.cz> wrote:
> You are great guru!!
>
> MSIE 7 was the reason.
> I uninstall it and all is working now.
> I cannot imagine how IE could do anything with IIS, but it is.
>
> Would you be so kind to tell me, what security setting in MSIE 7 could do
> that?
> Sometime I will have to install it.
>
> Thank you very much!
> Miroslav
>
> Miroslav Knapek
>
> "David Wang" <w3.4...@gmail.com> p=EDse v diskusn=EDm pr=EDspevkunews:117=
2223770.592399.287130@t69g2000cwt.googlegroups.com...
>
>
>
> > IIS is not preventing foo.exe from executing. It does not know about
> > it. So, you can remove the foo.exe from Web Service Extension because
> > it is unnecessary.
>
> > I suggest you make the ISAPI DLL report the error code returned from
> > running foo.exe so that the issue is debuggable. Otherwise, we are
> > just guessing at what is changed on your server.
>
> > Do you happen to have IE7 installed now but not before? Because other
> > than the system security changes introduced by IE7, I cannot think of
> > anything else. By default, ISAPI DLL has no problems running EXE via
> > CreateProcess.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Feb 23, 1:29 am, "Knapek Miroslav" <kna...@mmsw.cz> wrote:
> >> Hello,
>
> >> I have Win Server 2003 running more than 3 years well.
> >> There is couple webs, where content update is made by calling foo.exe
> >> from
> >> ISAPI dll.
> >> FOO.EXE unzips new files into web folder. It is working well when star=
ted
> >> from CMD.
>
> >> By the end of last year I had HDD failure and I had to reinstall serve=
r=2E
> >> All is running well now instead of these updates.
> >> It seems IIS doesn't permit to run exe file from ISAPI dll.
> >> Both dll and exe are allowed in iis extensions.
> >> There is no line about it in EvenLog.
> >> I think it is not ACL rights case, because situation is the same when I
> >> put
> >> IUSR... into administrators group.
>
> >> Thank you very much for any recommendation!
>
> >> Miroslav- Hide quoted text -
>
> - Show quoted text -