Solved

C++ with MTS???

Posted on 2000-02-23
4
215 Views
Last Modified: 2010-05-18
I have registered a dll in the MTS and sometimes the server just terminates all processes and a message in the Event Log is beeing written. My hope is that someone can help me to understand this message. This project that I'm in has been going smoothely until a couple of weeks ago.

******
Event ID: 4134
Source: Transaction Server
Category : Executive

Failed on creation from object context: CreateInstance  (ProgId: SJInfoNat.WebKontaktPersonDB.1) (CLSID: {92143AA4-56F7-11D3-8D9B-0050048EF0B1}) (Interface: IUnknown) (IID: {00000000-0000-0000-C000-000000000046})   (Microsoft Transaction Server Internals Information: File: d:\viper\src\runtime\context\ccontext.cpp, Line: 1363)
 
********

Thanks,
//Kattis
0
Comment
Question by:Kattis
  • 3
4 Comments
 
LVL 4

Expert Comment

by:jkunal
ID: 2564415
Check the CLSID in the registry, see if your dll is registered properly or not.
Unregister and register it once again.

In MTS referesh your component after you have registered it.



0
 
LVL 1

Accepted Solution

by:
clarka earned 50 total points
ID: 2567437
When you rebuild you object, you must re-Register it with mts by running:
C:\Program Files\Mts\mtxrereg.exe
Or
By right click on My Computer in the MMC and select Refresh all components.

0
 
LVL 4

Expert Comment

by:jkunal
ID: 2567580
clarka did'nt anyone mention about something called referesh.......

;->
0
 
LVL 4

Expert Comment

by:jkunal
ID: 2568020
Kattis i had given the same answer before clarka...............
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now