powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Retrieving the COM class factory for component with CLSID
3 сообщений из 3, страница 1 из 1
Retrieving the COM class factory for component with CLSID
    #37572154
Фотография GloryV
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Всем приветос.
Ищу решение этой проблемки ..
Установлено студия 2003 на win2003 r2 64x, там же присутствует office2007 pro
регил OWC через regsvr32, грит что зарегистрировало, при компиляции ошибка осталась.



Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
Server Error in '/IntraNet/Askute' Application.
--------------------------------------------------------------------------------

Retrieving the COM class factory for component with CLSID {0002E500-0000-0000-C000-000000000046} failed due to the following error: 80040154. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {0002E500-0000-0000-C000-000000000046} failed due to the following error: 80040154.

Source Error: 


Line 183:
Line 184:			//Создание объекта 
Line 185:			OWC.ChartSpace objChartSpace = new OWC.ChartSpaceClass();
Line 186:			//Добавление графика
Line 187:			objChartSpace.Charts.Add(0);
 

Source File: c:\inetpub\wwwroot\intranet\askute\hour_chart.aspx.cs    Line: 185 

Stack Trace: 


[COMException (0x80040154): Retrieving the COM class factory for component with CLSID {0002E500-0000-0000-C000-000000000046} failed due to the following error: 80040154.]
   IntraNet.ASKUTE.Hour_Chart.CreateChart(Object sender, EventArgs e) in c:\inetpub\wwwroot\intranet\askute\hour_chart.aspx.cs:185
   IntraNet.ASKUTE.Hour_Chart.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\intranet\askute\hour_chart.aspx.cs:66
   System.Web.UI.Control.OnLoad(EventArgs e) +133
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2604

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 
...
Рейтинг: 0 / 0
Retrieving the COM class factory for component with CLSID
    #37572320
Фотография Ex_Soft
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
...
Рейтинг: 0 / 0
Retrieving the COM class factory for component with CLSID
    #37572604
Фотография GloryV
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Ex_Soft тынць -> тынць / тынць ?

Правильно говорят, кто ищет тот найдет..
Проблема заключается в том, что процесс сервера — 64 бит и библиотека является 32-разрядной, и он пытается создать COM-компонента в том же процессе (внутрипроцессный сервер). Перекомпилировать сервере и сделать его 32-разрядных или оставить без изменений сервера и сделать COM компонента вне процесса. Самый простой способ сделать COM сервера вне процесса является создание приложения COM + - панель управления - > Администрирование - > ComponentServices.
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / ASP.NET [игнор отключен] [закрыт для гостей] / Retrieving the COM class factory for component with CLSID
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]