ODBiC Discussion Board

EXEC and permissions

by David Richardson, July 15, 2008 19:45

Hi all, long time no post.

I've got two Windows 2003 servers, which the data centre tells me have been set up identically in every respect.

*However* I am calling batch files through <%EXEC%> on one server and they are working extremely well, and yet when I load the scripts onto the other server they fail - with no error messages.

For example <% EXEC DIR %> gives me a listing of all the directories hanging off \inetpub\wwwroot but the exact same scripts produce no result at all on the other server. And as far as I can tell the anonymous user has all the correct privileges. The batch files are created fine on the server (so I know the write permissions are OK) but EXEC will not run them.

I did post several months ago in this group that EXEC can fail without any messages if you don't have the correct permissions, whereas at least W2000 told you you weren't allowed to do what you were trying to do.

Does anyone have any ideas... I'm tearing my hair out with this one!


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.