Application error on windows startup only.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello,
I'm running into a strange problem getting my application up and
running with Embedded XP. I'm not sure were exactly the problem is so
I'm hoping someone can at least point me in the right direction.

Here's the situation. I have an Embedded XP working fine. The
application will run perfectly if started manually. But if I put it in
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" then
the application throws the following error: "ExecuteReader requires an
open and available Connection. The connection's current state is
Closed." The application is attempting to accessing a mdb using Jet and
OLEDB at that point.

If I put a shortcut to application in the startup folder it starts up
fine. Which worked great until I decided to try and make the
application act as the shell, now I'm having the same issue.

I'm guessing this must have something to do with system versus user
permissions or something like that.

Thanks for any help you can give.

-Dave

.



Relevant Pages

  • Re: verclsid.exe takes 15 seconds on a shortcut, but why?
    ... I've got a strange problem with verclsid.exe. ... I have some shortcuts on my Desktop and if I right-click on any of them, verclsid.exe launches for 15 seconds using up almost 100% of one CPU, then goes away and then I get the menu on the screen. ... This is also true if I right-click on a shortcut in an Explorer window. ... I had a shortcut in my 'Send To' folder and that would cause the same behavior if I right clicked on anything and chose the 'Send To' menu option; i.e., the Send To menu would take 15 seconds to appear while verclsid.exe ran. ...
    (microsoft.public.windowsxp.general)
  • My Documents wont launch from desktop.
    ... I am having a strange problem on my PC today. ... & the shortcut wouldn't work either. ... Other than MS Automatic updates, no changes were made to this ...
    (microsoft.public.windowsxp.help_and_support)
  • Strange problem after XP SP2 update
    ... After updating my system with service pack 2, I have got a strange problem. ... In control panel, when I ... Every shortcut gives the ... "The program defrag is ...
    (microsoft.public.windowsxp.general)