Solved

Problem with a COM object in VB/ASP

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to debug this code 7 61
Copy a row 12 61
Visual Studio 2005 text editor 10 38
vbModal 12 51
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

776 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