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.)