Dear All,
I have a very small mvc application with 2 text boxes and few buttons. When user clicks on any button, data will be retrieved against particular value entered in text box.
But when I hosted it into the IIS server, its working only when I logged into the server remotely from my local machine, as soon as close the remote connection its giving error as "Data Not found".
In the coding I am displaying this error(Error Panel with ID #ErrorMessage) when we really don't have data and for any other exception as well. Please find my below code and advice why its working only when I remotely logged into the server.
It is shown below:
System.Runtime.InteropServices.COMException (0x8000401A): Retrieving the COM class factory for component
with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a The server process could not be started because the configured
identity is incorrect. Check the username and password. (Exception from HRESULT: 0x8000401A).
at Print_Forms.Models.InitialOffer.GetInitialOffer(String _contractId, String _quotationNo)
at Print_Forms.Controllers.HomeController.DownloadForms(String transactionType, String QuotationNumber, String ContractNumber)