Solved

Problem with a COM object in VB/ASP

Posted on 2004-03-22
5
2,247 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

746 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

11 Experts available now in Live!

Get 1:1 Help Now