Solved

C++ with MTS???

Posted on 2000-02-23
4
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.

734 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