<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The erlang:open_port is drive sensitive. Meaning if 
the software is installed on the C: drive it works. If the same software is 
installed on the D: (or E:)  the following error occurs:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><EM>1> system_srv:start_link(). <BR>** exited: 
{einval,[{erlang,open_port,<BR>                            
[{spawn,"d:/Program 
Files/Ecs/UniNetscan-0.0.25/lib/system-0.0.1/priv/win32_system_info.exe"},<BR>                             
[{packet,2},binary,exit_status]]},<BR>                    
{port_api,open_port,2},<BR>                    
{system_srv,init,1},<BR>                    
{gen_server,init_it,6},<BR>                    
{proc_lib,init_p,5}]} **</EM></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have noticed this for the first time today on a 
HP server which is running Windows 2003. The above example is done on 
my</FONT></DIV>
<DIV><FONT face=Arial size=2>noname AMD box running Windows 
XP.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If I reduce the length 
from <EM>"d:/Program 
Files/Ecs/UniNetscan-0.0.25/lib/system-0.0.1/priv/win32_system_info.exe" to 
</EM></FONT></DIV>
<DIV><FONT face=Arial 
size=2><EM>"d:/Ecs/UniNetscan-0.0.25/lib/system-0.0.1/priv/win32_system_info.exe"</EM> 
it works. (work around to get the software working!)</FONT></DIV>
<DIV><FONT face=Arial size=2>If I install the exact same software on the C: 
drive <EM>"c:/Program 
Files/Ecs/UniNetscan-0.0.25/lib/system-0.0.1/priv/win32_system_info.exe" </EM>it 
works.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The same thing happens with the 
erlang software:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><EM>Eshell V5.5.3  (abort with ^G)<BR>1> 
pwd().<BR>D:/Program Files/Ecs/EcsProman-0.1.4<BR>ok<BR>2> 
odbc:connect("DSN=printspool;UID=SYSDBA;PWD=masterkey",[]).</EM></FONT></DIV>
<DIV><FONT face=Arial size=2><EM></EM></FONT> </DIV>
<DIV><FONT face=Arial size=2><EM>=INFO REPORT==== 4-Apr-2007::22:39:47 
===<BR>The odbc application was not started. Has now been started as a temporary 
applic<BR>ation.<BR>{error,{einval,[{erlang,open_port,<BR>                        
[{spawn,"d:/Program 
Files/Ecs/EcsProman-0.1.4/lib/odbc-2.0.7/priv/bin/odbcserver.exe"},<BR>                         
[{packet,4},binary,exit_status]]},<BR>                
{odbc,init,1},<BR>                
{gen_server,init_it,6},<BR>                
{proc_lib,init_p,5}]}}</EM></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Jan Jacobs</FONT></DIV></BODY></HTML>