Hi
I tried to do the Powerpoint presentation using VB.Net 2.0. I got error while creating the object of the Powerpoint.Application
Unable to cast COM object of type 'PowerPoint.ApplicationClass' to interface type 'PowerPoint._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{91493442-5A91-11CF-8700-00AA0060263B}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
Can any one tell me the solution for this error.?
Ganesh.
Hi Ganesh,
The error indicates that the PowerPoint.ApplicationClass was not registered on the running machine properly. A COM class needs to be registered in the registery to make it identified. The register process is done at the installation phase of Office.
So you can try to repair the installation of PowerPoint or make sure it is installed properly.
Further more, in an ASP.NET application, server side automation is not supported. Here is a KB article about this.
http://support.microsoft.com/kb/257757/en-us
Hope this helps.
0 comments:
Post a Comment