Hello All,
I have basically developed ASP.Net web application which access the Exchange 2013 calendar by using MANAGED API.
For authentication I am using the ADAL library and I have registered native client application in Azure Active Directory. Everything works perfectly so long as I run the application on localhost. the problem arises when I am hosting my ASP.Net web application
to Azure by the means of publishing where in I import publishing profile website created on Azure.
Following is the stack trace of it:
Server Error in '/' Application.
Error HRESULT E_FAIL has been returned from a call to a COM component.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
Thanks in advance,
Pinal Rana