home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2708
Discussions: 188,383, Posts: 2,243,486, Members: 232,612
Old February 14th, 2003, 05:36 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Feb 2003
Location: RSA
Posts: 5
Question
COM+ Transient Subscriptions

I am developing a COM+ application with VB6 and SQL8 on WIN XP PRO.

Every thing has been going fine now for months, but now I have a problem with Transient Subscriptions.

I have just this last week developed a new client DLL that uses the COM+ App.

It was working well up until a few hours ago. and now all of a sudden, when I try to create a transient subscription, I keep on getting an error that says that the subscribing class cannot be found in the registry.

After looking I find no problems with the way this particuler DLL is registered. I have unregistered this particular DLL and then re-registered it. No Luck. I then tried deleting and re-installing the COM+ application. Still no luck.

I have since tested some of my older client DLLs and they work with no problems. It seems to be just this particular DLL.

I searched through the entire MSDN online knowledge base for transient subscriptions for COM+, and it came up with three hits.

I search VBCity.com No Hits

Please has any one got some help

The Big Viking is offline   Reply With Quote
Old February 14th, 2003, 07:47 PM     #2 (permalink)
Junior Member
 
Join Date: Feb 2003
Location: RSA
Posts: 5
I have found a solution to the problem. But the problem still bothers me intensely.

How I came about to the solution was like this. I searched through the registry for a class ID the same as the class in my DLL. Lo and behold I found another application with the same Class ID. Having found that out it was really easy to get past it.

All I had to do was recompile the DLL in question without any campatibility settings. This would give the class in the DLL a new Class ID. Very difficuly problem, very easy work around once the cause of the problem was found.

OK. Now I ask myself. How did this other application get the same Class ID as my DLL class. I can think of 2 options.

Firstly, my registry might be corrupt. This is unlikey as my PC is my bread and butter and I am very, very carefull about was gets installed and run on it. All of my development software is loaded from MSDN subscription CD's thanks to my boss. Ok, but you will say that a corruption can still occur. OK. but a few days a go, I was messing around with security settings on my PC. Lovely stuff, however when I was finished my wife's pass word would not work to get access to my PC from our home network.

Instead of searching to find out what settings I had set up wrong, I used the beautiful feature of XP of restoring my system back a few days. Now the date to which I restored my PC just happened to be before I started with this new DLL. Therefore I had to register the DLL. This would mean that the registry as far as this DLL was concerned would be as new. First time registration.

These leads me to consider that maybe the XP's system restore has got a few hiccupts in it. I hope not.

The 2nd option is even too scary to contemplate. That maybe Microsoft generated two GUIDs that where the same. I do not even wish to think of the consequences of this option.

Does any body have any feed back on this.

Please to all of those people that I have contacted, I still request that you please send me contacts for persons on the know with regards to VB6 and COM+. Every body these days is using .NET.

While they are learning this new thing (.NET) I am making money with COM+ and VB6.

The Big Viking is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2888)
The United States Debt (20)
Looks like Burris will get his Sena.. (8)
I think I just killed my computer w.. (24)
Upgrading RAM (5)
hp compaq nc6000 problems (138)
Folderchat Weekday thread (441)
Antec 300 bulk purchase? (11)
Worth the upgrade?? (15)
Recent Discussions
Worth the upgrade?? (15)
Folderchat Weekday thread (441)
ADVICE (0)
How to increase my ram? (5)
Building a gaming computer advi.. (2)
Help with an Ati Radeon HD 4850.. (27)
CPU wont boot (4)
2nd video card (1)
special characters in quarkxpre.. (3)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 09:32 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28