Hello,
I have spent hours to debug the Porttalk program. Unfortunately
I have no hints to fix the error. I will be deeply appreciated if
someone can help.
Best Regards,
F. Wong
Quick summary:
==========
PortTalk.SYS LOADED OK,
"ERROR_ACCESS_DENIED" from running allowio.c->StartService()
System is: XP Professional ver 2002, SP3, Administrator privileges
Detailed messages from running "allowio.exe test /a"
(Ran removedrv.exe before allowio.exe to show Installation OK)
=========================================
AllowIO for PortTalk V2.0
Copyright 2002 Craig Peacock
Beyond Logic
PortTalk: The PortTalk driver does not exist. Installing driver.
PortTalk: This can take up to 30 seconds on some machines . .
PortTalk: Copying driver to C:\WINDOWS\system32\Drivers\PortTalk.sys
PortTalk: Driver successfully installed.
^^^ PortTalk.SYS LOADED OK!
PortTalk: Unknown error while starting PortTalk driver service.
^^^ HERE IS THE PROBLEM!
PortTalk: Does PortTalk.SYS exist in your \System32\Drivers Directory?
PortTalk: Couldn't access PortTalk Driver, Please ensure driver is loaded.
Debugging the error (allowio.c)
===============================
Problem statement:
line 215: ret = StartService (schService, /* service identifier */
line 216: 0, /* number of arguments */
line 217: NULL); /* pointer to arguments */
Returned error code: (line 221 err = GetLastError())
err = 5 (ERROR_ACCESS_DENIED)
Adding debugging statement QueryServiceStatus(): "schService" was a
valid handle.
Running Microsoft sc.exe showed:
KERNEL_DRIVER Porttalk is STOPPED waiting for DEMAND_START
But with same error: StartService FAILED 5: Access is denied.