Cannot create an instance of an Automation Server with CLSID = {000208D5-0000-0000-C000-000000000046}
*This post is locked for comments
Cannot create an instance of an Automation Server with CLSID = {000208D5-0000-0000-C000-000000000046}
*This post is locked for comments
Thanks Jonathan....
this is because of subtype...now rectified.
what is the subtype of xlApp? maybe the automation is missing or not registered correctly (regsvr32).
for details follow https://moxie4nav.wordpress.com/2016/02/25/cannot-create-an-instance-of-an-automation-server-with-clsid-guid/
this is an issue with Microsoft.Office.Interop.Excel. maybe the wrong excel version is referenced. which report do you use, budget-export to excel ? if yes, then check the used excel automation/assembly versions in table excel buffer.
Can you please compile Excel Buffer Table and see if it is giving any error message?
No this is new Report...!
No I am not using Excel Buffer Table.
it is stoping on this Piece of Code
CREATE(xlApp, TRUE, TRUE);
xlApp.Visible(FALSE);
xlWorkBook := xlApp.Workbooks.Add;
EXIT(NoOfRows);
Are you trying to build new report or migrating from classic version?
Are you using Excel Buffer Table?
When you debug the report, where exactly it is stopping?
When I m trying to run the report...!
Yes i have tried to run this report on different system but error the same
At which point, you are getting this error?
It seems some excel library / version issue?
Are you getting this issue in different computers as well?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156