How to Solve 'The remote procedure call failed' with reason.

Posted by Amatya under C# on 1/19/2017 | Points: 10 | Views : 6380 | Status : [Member] | Replies : 2
How to Solve The remote procedure call failed. (Exception from HRESULT: 0x800706BE) while Iam Exporting the Excel.

Thanks in Advance
Amatya

Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks



Responses

Posted by: Mridul89koul on: 1/20/2017 [Member] Starter | Points: 25

Up
0
Down
hey there even i was having the same error...so what i did was i exported Datatable instead of gridview....
If you still need code just tell me

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sheonarayan on: 1/21/2017 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Is it happening only on server not on local machine? If, yes this is to do with the permission of your application account under which it is running inside IIS. Give all permission (read/write/modify) to the IIS account and this should solve the issue.

The other thing is that use this article http://www.dotnetfunda.com/articles/show/10/generating-ms-excel-file-from-gridview-with-aspnet-and-csharp to export to excel.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Amatya, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response