Click here to Skip to main content
15,912,897 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am working with asp.net(VB) web service.
Fro the web service i want to copy the file to network shared folder "\\FSShares001\AMS_to_CMS_Dev". Our network tea has provided domain service account for this like Account name as sa_AMS_to_CMS_Dev Password as *******.
I need to use reference account name as "cdorav00\sa_AMS_to_CMS_Dev".

Now the problem with this is i am not understanding how to use this credential in code & what further setting need to make.

Please help me to resolve this is issue.

What I have tried:

I have reviewed following link for this..http://www.codeproject.com/Articles/19830/How-to-Access-Network-Files-using-asp-net
Posted
Updated 11-Jul-16 2:45am

1 solution

You don't need to do anything in code if the AppPool running your ASP.NET code on the IIS server uses that account.
 
Share this answer
 
Comments
Member 8825505 11-Jul-16 9:33am    
Thanks For replying on my issue.
Can you tell me how to make my iis to use this account ?
Dave Kreskowiak 11-Jul-16 9:36am    
This is IIS 101 stuff. I HIGHLY suggest picking up a book on it.

You can easily find this stuff in the documentation[^].

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900