Solved

Help with Setup debugging in ASP/VB6 on Vista

Posted on 2007-12-06
3
1,056 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
ID: 20419651
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
ID: 20419771
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
ID: 20712745
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
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 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…

820 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