Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Components
| Search | Today's Posts | Mark Forums Read
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 16th, 2003, 01:08 PM
muybn
Guest
 
Posts: n/a
Default VB permissions (Reynolds' "Beginning E-Commerce")

I’m trying to complete an e-commerce application for a client based on the Wrox book, "Beginning E-Commerce…" (Matthew Reynolds), which I understand Wiley is no longer supporting. It includes two VB projects/DLLs, one called EC and the other ECProcessor, and some ASP files.

When I try to run the projects all together under to debug the whole application, I receive an error in StartOrderProcessor (see below), that reads:

Run-time error 70: Permission denied

'StartOrderProcessor: create new order processing object
Public Function StartOrderProcessor() As Object
    'create and initialize
    Set StartOrderProcessor = CreateObject("ECProcessor.OrderProcessor")
    StartOrderProcessor.Configure m_strDBString, m_strMailDomain, Me
End Function

I don't quite know how to determine what the problem is. I created and ran Vbaspdbg.reg, according to Microsoft's recommendation...

[HKEY_CLASSES_ROOT\CLSID\{70F214BA-94E2-4bdf-8F30-32CB4A905E4D}] @="VB ASP Debugging"

[HKEY_CLASSES_ROOT\CLSID\{70F214BA-94E2-4bdf-8F30-32CB4A905E4D}\LocalServer3 2] @="vb6.exe" [HKEY_CLASSES_ROOT\AppID\vb6.exe] "AppId"="{70F214BA-94E2-4bdf-8F30-32CB4A905E4D}"

...and I ran DCOMCNFG and added IUSR to both Default Access Permissions and Default Launch Permissions.

Also, I created new components and wrote the new resulting GUIDS in my project. The strange thing to me is that the permissions error seems to occur in one of the VB projects but not the other.

If anyone has any suggestions, I'll more than welcome them, because I'm stumped and need to complete this project immediately. (I'm willing to supply more code for the asking, but I didn't want to overwhelm anyone at the outset.)



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP! Beginning E-commerce with VB.Net shevchenko All Other Wrox Books 0 March 9th, 2005 04:22 AM
VB permissions (Reynolds' "Beginning E-Commerce") muybn Beginning VB 6 0 July 16th, 2003 01:03 PM
VB permissions (Reynolds' "Beginning E-Commerce") muybn Pro VB 6 0 July 15th, 2003 04:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.