Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Error in running Porttalk

Status
Not open for further replies.

F Wong

Newbie level 3
Joined
May 31, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,308
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.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top