ActiveX component can't create object error. WebsiteError:8004e025 - asp.net

When I am trying to hit my application url, I am getting "ActiveX component can't create object error. WebsiteError:8004e025" error in the browser. This application is hosted in IIS and operating system is Windows Server 2003 32-bit.
When I checked event viewer logs, I got following error:
Event Type: Error
Event Source: COM+
Event Category: (98)
Event ID: 4840
Date: 06/06/2016
Time: 13:24:45
User: N/A
Computer: APW02508WCAPP02
Description:
The IObjectControl::Activate() method failed. The CLSID of the object is:
{CAFBD1A2-73BD-438B-841C-A9C88BD4C248}
Server Application ID: {74CF179D-508C-43FE-AE29-B3480386BDE3}
Server Application Instance ID:{E7855B79-7A03-4E7A-8BA4-37666501917F}
**Error Code** = **0x800a01ad**
COM+ Services Internals Information:
File: d:\nt\com\complus\src\comsvcs\jit\jit.cpp, Line: 475
Comsvcs.dll file version: ENU 2001.12.4720.3959 shp
I tried registering Comsvcs.dll and it got registered, but still I am getting same error. I know that this is not a code issue as this application works on other windows server 2003 machine. Only on this particular machine, I am getting this error. Can anyone please tell me how to resolve this?

Related

SSIS package using excel source failing on IIS server

I have a simple SSIS package which has an excel source dumping data in SQL table.
It works fine in BIDS when run manually.
It also works when called from an ASP.NET application on my local.
When the same ASP.NET application was deployed on IIS server it is giving me the following error:
The AcquireConnection method call to the connection manager "10.xxx.xx.xxx.<DB>.<User>" failed with error code 0xC0202009
Note:
Run64bitRunTime is set to false as suggested in many posts for similar issue.
What could be the issue?
Error Log from SQL Job running the package:
SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. Error code: 0x00000000. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered". End Error Error: 2015-06-02 14:26:22.79 Code: 0xC020801C Source: Data Flow Task Excel Source [1] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0209302. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2015-06-02 14:26:22.79 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: component "Excel Source" (1) failed validation and returned error code 0xC020801C. End Error Error: 2015-06-02 14:26:22.79 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2015-06-02 14:26:22.79 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 2:26:21 PM Finished: 2:26:22 PM Elapsed: 1.031 seconds. The package execution failed. The step failed.,00:00:01,0,0,,,,0
Typically when a package runs in BIDS and in the integration services, but fails as a job or when called from an external application, it is a permissions issue associated with the SSIS proxy. The default logon being applied in the ASP.NET application should also be set up in a credential and that credential should then be applied in a Proxy with permission to apply the SSIS subsystem.
Apply the steps outlined in the following link:
http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/

How can I cancel/stop my build through request URL

I want to cancel then start my build through url:
This how I starting my build:
http://<user name>:<user password>#<server address>/httpAuth/action.html?add2Queue=<build type Id>
but when I'm trying to cancel/stop it:
http://<user name>:<user password>#<server address>/ajax.html?comment=<cancel_comment>&submit=Stop&buildId=<internal_build_id>&kill
I'm getting exception:
Error message: Given kill operation code is null
TeamCity: 8.0.5 (build 27692)
Operating system: Windows Server 2008 R2 (6.1, x86)
Java: 1.7.0_21-b11 (Oracle Corporation)
Servlet container: Apache Tomcat/7.0.37
Trace: java.lang.IllegalArgumentException: Given kill operation code is null
Source: Accessing server by HTTP
I tried through REST API but didn't helped me.
I analyze js code in TeamCity and found 2 solution
Kill build by process id :
yourTeamCityUrl/ajax.html?comment=%somment%&kill=%buildQueueId%&operationKind=2&_readd=&submit=Stop
Kill build by build id:
yourTeamCityUrl/ajax.html?comment=%comment%&submit=Stop&buildId=%active_build%&kill&operationKind=1
only need to add &operationKind=1

Qt debug error when running .exe

I have written a game in c++ Qt, and I got a debug error message, when running the exe file. The error message appears only on one PC. It appears, when I try to display any text (QLabel, QGraphicsTextItem, anything). On other PC-s there is no error message.
The message is: Microsoft Visual C++ Debug Library
Debug Error!
Program D:\gardener\Gardener.exe
Module: 5.0.2
File: global\qglobal.cpp
Line: 1977
ASSERT:"uint(i) < uint(size())" in file q:\qt5_workdir\w\s\qtbase\include\qtcore../../src/corelib/tools/qstring.h, line 729
Details:
Problem Event Name: APPCRASH
Application Name: Gardener.exe
Application Version: 0.0.0.0
Application Timestamp: 51d6cba1
Fault Module Name: Qt5Cored.dll
Fault Module Version: 5.0.2.0
Fault Module Timestamp: 516366c9
Exception Code: 80000003
Exception Offset: 0005f1d1
OS Version: 6.2.9200.2.0.0.256.49
Locale ID: 1038
Additional Information 1:5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: f3d5
Additional Information 4: f3d5be0cad2787556264647dc02181c3
I tried to google it, but no success. Does someone have any idea what the problem could be? Thanks!
This assertion can be triggered when accessing a non-existent element in a QString. But without seeing your code and the line where this happens, I can't tell for sure whether that's your problem.

abcpdf7 causing dev web server to crash

This is my sample code from asp.net project
Doc abcpdfDoc = new Doc();
abcpdfDoc.MediaBox.String = "0 0 612 1008";
abcpdfDoc.Rect.String = abcpdfDoc.MediaBox.String;
abcpdfDoc.Page = abcpdfDoc.AddPage();
int docID
docID = abcpdfDoc.AddImageUrl(url_html.ToString()); //CAUSES webserver to crash
The code compiles with no warning/error. During debugging, I get a webserver crashed message - the following is the message
Problem signature:
Problem Event Name: APPCRASH
Application Name: WebDev.WebServer.EXE
Application Version: 9.0.30729.1
Application Timestamp: 488f1aa2
Fault Module Name: ieframe.dll
Fault Module Version: 9.0.8112.16457
Fault Module Timestamp: 50a2fe39
Exception Code: c0000005
Exception Offset: 000d135b
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I am using abpdf7, downloaded the trial edition and ran the msi in admin mode using command line msiexec /i on win 7 running 32b OS
The reason of crash is that the older version of the library does not work with IE 9.x, upgrading to latest version of library resolved the issue

Error in .Net Web Service running on IIS 6

I am trying to run a web service build in .Net on IIS 6 server.
But it is giving an Error while starting Web Service
ERROR
Server Error in ' /9448' Application
Configuration Error
Description : "An error occurred during the processing of configuration file required to service this request.Please review the
specific details below and modify your configuration file
appropriately.
Parse Error Message :An error occurred loading the configuration file: Access to the path
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config"
is denied.
Source Error:
[No relevant source lines]
Source File : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config
Line: 0
Version Information : Microsoft.NET Framework Version v2.0.50727.3625; ASP.Net Version : v2.0.50727.3625
The user under which it is running have full Administrator Rights
While it was working fine previously
What could be the problem?

Resources