04-15-2013 10:11 PM
I am trying to create a web application in ASP.Net to upload document to contacts and try to access the sage act database installed on my system.
If I will add this application to IIS and convert it to virtual directory then I have got below error while logging in do database :-
Access to the path 'ACT\ACT For Windows 12\Preferences' is denied.
Please reply how to resolve this issue......................
04-16-2013 06:29 AM
If I'm understanding correctly, this error is thrown when creating a virtual directory for your ASP.Net application?
Just based on what's posted here it appears to be a permissions issue to the specified path.
04-16-2013 06:32 AM
Yes you are right I am creating a virtual directory for my application and the issue is related to permission of specific path.
For this I have try several approaches which I have come to know while Google search for it nut still not able to find any solution for it and having same issue.
Please reply if anyone has any solution for it ?
04-16-2013 07:28 AM
04-16-2013 07:32 AM
knif is correct, the default account for ASP is the Network Service account. Also try changing the application pool running your application or creating a new application pool specifically for it.
Are you able to debug? If so, is the exception being thrown at logon or at some other point?
04-16-2013 07:46 AM
I have tried several solution as also discussed in previous reply but did not get any solution for it till yet.
If you have any resource or web link to resolve this issue then please share.