Lobject Web kullanımında hata

Gönderen Konu: Lobject Web kullanımında hata  (Okunma sayısı 2009 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı kinqberq

  • Yeni Kullanıcı
  • *
  • Karma: 0
Lobject Web kullanımında hata
« : 15.08.2012, 12:56 »
Retrieving the COM class factory for component with CLSID {72DB412A-6BF5-4920-A002-.......} failed due to the following error: 80070005.

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.UnauthorizedAccesyasakception: Retrieving the COM class factory for component with CLSID {72DB412A-6BF5-4920-A002-......} failed due to the following error: 80070005.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:


[No relevant source lines]

Source File: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b59623c0\2e222e06\App_Web_0dds3rs-.2.cs    Line: 0

Stack Trace:


[UnauthorizedAccesyasakception: Retrieving the COM class factory for component with CLSID {72DB412A-6BF5-4920-A002-.....} failed due to the following error: 80070005.]
   Printing..cctor() +10

[TypeInitializationException: The type initializer for 'Printing' threw an exception.]
   Printing..ctor() +0
   ASP.printing_aspx..ctor() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b59623c0\2e222e06\App_Web_0dds3rs-.2.cs:0
   __ASP.FastObjectFactory_app_web_0dds3rs_.Create_ASP_printing_aspx() in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\b59623c0\2e222e06\App_Web_0dds3rs-.4.cs:0
   System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
   System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) +37
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456
---------------------------------------------------------------------------------------------------------------------------------------------

Logo entegrasyonlu bir web proje oluşturdum fakat publish ettikten sonra yukarıdaki hatayı alıyorum. Yetkilendirme ile ilgili bir sorun var sanırım ama çözemedim. Başka başlıkta benzeri bir hata alınmış, bir çözüm üretilmiş ama çözemedim.

Localde çalıştırınca bir sorun almıyorum fakat gerek servera attığımda gerekse localde kendim host ettiğimde aynı hatayı almaktayım.

IIS7 ye özel ayarlar mı yapılması gerekiyor ? veya DCOM configden bi ayarlar yaptım ama çözüme ulaşamadım.

Yardımlarınızı bekliyorum  :)



Çevrimdışı ssq

  • Yeni Kullanıcı
  • *
  • Karma: 0
Ynt: Lobject Web kullanımında hata
« Yanıtla #1 : 23.10.2012, 08:19 »
Merhaba,

DCOM üzerinden yetkilendirme yaptığınızda sorun çözülüyor.

Çevrimdışı yousemeti

  • Logo Sistem Administrator
  • Logo Kullanıcısı
  • *****
  • Karma: 13
  • Su'dan Uçak Yaparım Biner Dolaşırsın
Ynt: Lobject Web kullanımında hata
« Yanıtla #2 : 09.01.2015, 10:22 »
selam, @ssq üstat dcom config de yetki vericem ama  goremiyorum dll de register edilmis halde, exe ile baglanıyorum  sorun (win app) yok
dcom da refrans i  nasıl bulunurum bu konuda yardımcı olurmusunuz.

@kinqberq bu sorunu çözdünmü?