Re: "The system cannot execute the specified program."



Tim Slattery <Slattery_T@xxxxxxx> wrote:

Our office has a copy of Python 3.0 installed on a network share
device. When I try to run it I get this message: "The system cannot
execute the specified program."

When I googled that message, the links that came up had to do with
missing DLLs. So I fired up Dependency Walker and found out that there
were indeed DLLs that it needed that the OS couldn't find. So I
supplied those DLLs. And it still gives the same message, even though
Dependency Walker is now happy.

Does anybody have a clue what might cause this amazingly uninformative
message?

Are you using Vista? There seem to be some strange security settings for
network shares in Vista. I had a file shared from an XP system which my
Vista system could not access even though other machines could access it.
Eventually I had to copy the file from the XP machine onto the Vista
machine and it was happy to access it once it was on the local system.

Alternatively for a non-Vista wild guess, could it be that Python 3.0 is
loading some libraries that use .Net and is therefore triggering the 'code
access security' which prevents the running of .Net applications from a
network share?
.



Relevant Pages

  • Re: Vista Kicking my Buttocks...Weird problems
    ... Internet Explorer®, Windows services, and third-party applications to ... Connecting an application with API entry points exported by DLLs is ... You didn't do your home work, and you didn't do any testing it seems on the Vista platform to ensure that yiur solution worked. ... As a software developer, you need to understand what is happening to program viable solutions for Vista. ...
    (microsoft.public.windows.vista.general)
  • Re: "The system cannot execute the specified program."
    ... were indeed DLLs that it needed that the OS couldn't find. ... Are you using Vista? ... The server is some MS server ... access security' which prevents the running of .Net applications from a ...
    (comp.lang.python)
  • Re: Adding a reference to a COM in VS2008
    ... You know there are many features Vista has that are not know from a software developer's or computer user's standpoint on how Vista is protecting the O/S like Virtualization being one. ... For my own personal computer usage, I'll never go back to XP, and I await to see what else is being implemented in Windows 7. ... Connecting an application with API entry points exported by DLLs is something usually handled by the operating system loader, but these types of malware infection don't get the benefit of the loader's services. ... This hasn't posed a problem for malware on previous versions of Windows because for any given Windows release, system executable images and DLLs always load at the same location, allowing malware to assume that APIs reside at fixed addresses. ...
    (microsoft.public.dotnet.general)
  • Re: Compile Only
    ... the primary client of my DLLs is an Access app...I doubt ... odd, considering it's the main telecommunications company in our region), ... think about here, and oddly enough, that dictates that I use the older VB6 ... What problems are you talking about with .net and vista? ...
    (microsoft.public.vb.general.discussion)
  • Visual Studio Setup project. Vista and Xp differences
    ... I develop on Vista and my project consists of myExe.exe and myProj.dll. ... It installs and works on other Vista systems but on Xp systems, ... I copy these dlls from my VS2008 ... myExe.exe and myProj.dll on the ghosted machine before having Java load the ...
    (microsoft.public.vc.mfc)