i have console application in which it will try to access an application installed in IIS (i.e. virtual directory) for getting the db connection information. While doing this in windows xp (IIS 5.1), it is working, but it is not working in windows 7 (IIS 7.5). The console application's Target .Net framework is 2.0, 3.5 (having 5 applications), since, it was developed years ago. Now trying to move from XP to Win 7, but facing some issues with accessing the IIS folder. Please advise to access the virtual directory folder in win 7. Any code example will help a lot.
*Error:*System.Runtime.InteropServices.COMException (0x80070005): Access is denied.