RE: Win 2000 service needs to access Win 2003 Web Server data
- From: changliw@xxxxxxxxxxxxxxxxxxxx (Charles Wang[MSFT])
- Date: Fri, 30 Jun 2006 11:40:49 GMT
Hi, Mike,
Thanks for your response.
Since the service is a windows service, I think this is not a programming
issue; the problem should be caused by windows network permission.
I did a simple test and it succeeded.
My test conditions are:
Two computers locate in the same domain;
One domain account "usr_test" can login either of the computers;
The domain account "usr_test" has the permission of reading a log files
directory.
However, for your application, I think if both of the two computers has one
same account, same user name and same password, the windows service can
access the folder.
If your computers are not in a domain, but within the same workgroup,
you may set the same Administrator account password on both of the
computers and then make a try.
Considering the cache problem, you'd better disconnect the mapping disk and
recreate it again.
It's also better to restart the service.
If that works, I recommend you create a special account on the two
computers.
Assign the account as a login account which owns administrators permission
on the computer that run the service;
Assign the account read permission to the IIS logs folder on the other
computer;
Restart the computer that runs the service and login with the new account;
Map the network drive;
Run the service.
I hope above can make the service work. Good luck!
+++++++++++++++++++++++++++
Charles Wang
Microsoft Online Partner Support
+++++++++++++++++++++++++++
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
Business-Critical Phone Support (BCPS) provides you with technical phone
support at no charge during critical LAN outages or "business down"
situations. This benefit is available 24 hours a day, 7 days a week to all
Microsoft technology partners in the United States and Canada.
This and other support options are available here:
BCPS:
https://partner.microsoft.com/US/technicalsupport/supportoverview/40010469
Others:
https://partner.microsoft.com/US/technicalsupport/supportoverview/
If you are outside the United States, please visit our International
Support page:
http://support.microsoft.com/default.aspx?scid=%2finternational.aspx.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- RE: Win 2000 service needs to access Win 2003 Web Server data
- From: Charles Wang[MSFT]
- RE: Win 2000 service needs to access Win 2003 Web Server data
- From: Mike Owen
- RE: Win 2000 service needs to access Win 2003 Web Server data
- From: Charles Wang[MSFT]
- RE: Win 2000 service needs to access Win 2003 Web Server data
- From: Mike Owen
- RE: Win 2000 service needs to access Win 2003 Web Server data
- Prev by Date: DCHP Complete
- Next by Date: Re: Notification for open/closed TCP/UDP Connection
- Previous by thread: RE: Win 2000 service needs to access Win 2003 Web Server data
- Next by thread: Re: How to listen to more a specific IP and specific ports
- Index(es):
Relevant Pages
|