Solved

Problem with a COM object in VB/ASP

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

Independent Software Vendors: 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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…

730 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