471,056 Members | 1,547 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,056 software developers and data experts.

Security issue or not on windows 2003 server.

I have a web service, which in turn uses a dll that is installed on the
same server. The dll is deployed to the GAC. One of the purposes of the dll
is to create a file, then write some information to the file. The file
location is not in web directory.
This works when it run the web service on windows 2000 server, but does
not work on a windows 2003 server. My suspicion is that this is a
security/privilege issue. The web service is not using impersonation. The
method that uses the dll does run everything else it is supposed to do,
which in this case is call a stored procedure and return some data, just not
the part using the dll to create and write data to a file.
I have tried to change the permissions on the folder where the file will
be created to allow full control for the aspnet user, and the domain user
that the web sites run under. I tried sharing the folder as well. Neither of
these seem to work. When I set up a security audit for the folder, I did not
see any access, either success or failure, for either of the two users.
I have not tried writing the file to folder inside the web site or using
impersonation yet.
So, a couple of questions, what user is the web service running under?
And are there any suggestions on how to go about getting this to work?

Nov 23 '05 #1
0 982

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Sanjay Poojari | last post: by
2 posts views Thread by Joseph Geretz | last post: by
reply views Thread by Charles Leonard | last post: by
2 posts views Thread by Robert Ellis | last post: by
2 posts views Thread by =?Utf-8?B?Tmljb2xl?= | last post: by
reply views Thread by leo001 | last post: by

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.