Solved

Problem with a COM object in VB/ASP

Posted on 2004-03-22
5
2,275 Views
Last Modified: 2008-02-01
Hi there. I recently made some changes to a com object and recompiled. Uploaded to the machine, deleted the previous object from com+ and remade it. Then i set up as normal. Now when I try instansiate the object in ASP I get the following error in the ASP:#

Error Type:
Server object, ASP 0177 (0x8007007E)
8007007e
/Home/Events/bookconf.ASP, line 101

Wehre the code is
Set ObjEvent = Server.CreateObject("ArkEvents.cEvent")

Not much info... but in event viewer I get the following errir in App log:

During installation of this component into a COM+ application a registry value was changed from its original value. If you are experiencing activation problems with this component then please check the registry values.C:\WINDOWS\system32\inetsrv\ArkEvents.dll
ArkEvents.cEventStand\Clsid


Process Name: RunDll32.exe
Comsvcs.dll file version:  not loaded

I have no idea whats going on. Someone help please!!!!!!!
0
Comment
Question by:Slimshaneey
  • 2
  • 2
5 Comments
 
LVL 19

Accepted Solution

by:
BrianGEFF719 earned 200 total points
ID: 10648087
It looks like the ClassId is still associated with the older version. Make sure the old version is fully remove and the new version is properly installed and registered.


Start -> Run -> RegSvr32 c:\yourcom.dll
0
 
LVL 11

Author Comment

by:Slimshaneey
ID: 10648155
Ive done all that 3-4 times...
0
 
LVL 26

Assisted Solution

by:EDDYKT
EDDYKT earned 300 total points
ID: 10649597
Make sure you set from VB

menu Project->Properties->Component tab->version compatibility to binary compatiblility
Also make sure in general tab,
check unattended execution and retained in memory
0
 
LVL 26

Assisted Solution

by:EDDYKT
EDDYKT earned 300 total points
ID: 10649606
Alos may be you should unregister first

ie

RegSvr32 /u c:\yourcom.dll  
 
0
 
LVL 11

Author Comment

by:Slimshaneey
ID: 10667473
Thanks guys. Was sillyness in my tiredness made me forget about the simple things to do...
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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

910 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

18 Experts available now in Live!

Get 1:1 Help Now