Solved

C++ with MTS???

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

757 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

13 Experts available now in Live!

Get 1:1 Help Now