Solved

Help with Setup debugging in ASP/VB6 on Vista

Posted on 2007-12-06
3
1,051 Views
Last Modified: 2008-02-14
Hi there, I have just installed VB6 onto my machine to work on some code I created on VB. Anyways,  when I launch a dll in vb6, and try to run a page that calls it i get the following error:

Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/ArkInt/includes/docstart.INC, line 6

The call to Server.CreateObject failed while checking permissions. Access is denied to this object.

Fairly simple fixes exist on XP for this, but what about Vista and IIS7? Anyone provide any help?
0
Comment
Question by:Slimshaneey
3 Comments
 

Expert Comment

by:OFGemini
Comment Utility
For the first time you need to complie your Dll. Then Try to access it from your ASP Page.
Remember if you iis is installed on another computer than this error will occour.
Because ASP creates objects on the server computer.

if ASP server is another computer than try to register your Dll on the ASP Server.

Use any Installer
REGSVR32 'Path of the physical dll file.' in run command
DOS command prompt
0
 
LVL 11

Author Comment

by:Slimshaneey
Comment Utility
Im in debug mode, Im trying to step through the code, to correct an error, so I cant compile it. Im running the Code and IIS on the same machine.
0
 
LVL 1

Accepted Solution

by:
ccyanni earned 500 total points
Comment Utility
I had the same problem, too.
But after I closed the UAC function in Vista, I can set debug point in my ActiveX DLL and debug it in VB6 with ASP now.
You can try it.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

743 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

16 Experts available now in Live!

Get 1:1 Help Now