Monday 28 September 2009

SoapException: UnauthorizedAccessException

I started getting this error when I replace my existing COM object with an updated version. In order to get it to work I gave full permissions to the dll for ASPNET user.

"System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {69F9C9A0-2E91-4E87-B089-02393AB1E665} failed due to the following error: 80070005.\n at ChoicesSurveyWS.SurveyWS.GetSurveyList(String strUser, String strPass) in C:\\DevProjects\\web\\NETQuest\\WebServices\\ChoicesSurveyWS\\SurveyWS.asmx.cs:line 56\n --- End of inner exception stack trace ---"