Reputation: 1441
I have an asp.net application having a class library referenced in the web project i.e.I am calling a class library method with the parameters (file path in the server machine). I tried accessing the path from the class library. I am getting the error saying ""
please suggest the solution for this.
Thanks in Advance Rupa
Upvotes: 1
Views: 411
Reputation: 146
as far as I know you need the "network service" user to have access to the folder your website is. you can add this user rights same as you would any other user.
Upvotes: 1
Reputation: 1080
check the user in ApplicationPool, and set is access to the folder/files that you need to access
Upvotes: 0