Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi, experts

Am generating a chart in asp .net vb application but when I run this application in ms office 2003 installed pc chart is opening
but if i run this in ms office 2010 am getting a exception like

methodSystem.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

can any one please help me to solve this issue?

thanks in advance
(Keerthi Kumar)
Posted
Comments
Maciej Los 12-Sep-13 7:59am    
Could you be more specific? Please provide more details.
Did you try to debug your application?
Keerthi Kumar(Andar) 12-Sep-13 8:29am    
yes, when i debug the application in ms office 2010 installed pc getting the exception as above.

Bernhard Hiller 12-Sep-13 8:07am    
which version of excel did you use for creating the primary interop assembly (PIA)?
That 2010 version, is it 32bit or 64bit MS Office?
And the OS of both computers, what's it?
Keerthi Kumar(Andar) 12-Sep-13 8:28am    
os: Ms office 2003 is xp and Ms office 2010 is in windows 7
32 bit machine
Bernhard Hiller 12-Sep-13 8:34am    
By the way, you tagged your question with "ASP" - why did you do so? Do you perhaps try to create the chart from IIS?
If so, see: http://www.codeproject.com/Answers/652370/Process-start-is-not-working-on-IIS

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900