Solved

C++ with MTS???

Posted on 2000-02-23
4
223 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

777 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