RE: Win 2000 service needs to access Win 2003 Web Server data
- From: Mike Owen <whatnospam@xxxxxxxxxxxxx>
- Date: Thu, 6 Jul 2006 07:50:01 -0700
Charles,
Thanks for your reply.
Sorry for the delay in replying!
I have tried some of what you suggested with no luck yet, but will go
through it all with a fine tooth comb and let you know th result.
Cheers, Mike.
"Charles Wang[MSFT]" wrote:
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.
- Follow-Ups:
- 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: Charles Wang[MSFT]
- RE: Win 2000 service needs to access Win 2003 Web Server data
- Prev by Date: Re: WSASend and WSARecv
- Next by Date: Re: WSASend and WSARecv
- Previous by thread: IOCP issue
- Next by thread: RE: Win 2000 service needs to access Win 2003 Web Server data
- Index(es):
Relevant Pages
|