[Mono-list] Invalid root directory in XSP

Anandnld_dev anandnld at gmail.com
Tue May 27 08:11:29 EDT 2008


Its XSP code, file name is ApplicationServer.cs  and function name is 
AddApplicationsFromCommandLine()  

 string fullPath = System.IO.Path.GetFullPath (realpath); 

realpath value = . (Simply single dot)
If IP address is passed then its giving wrong path. Its working for 


Anandnld




Robert Jordan wrote:
> 
> Anandnld_dev wrote:
>> 
>> 
>> Robert Jordan wrote:
>>> Anandnld_dev wrote:
>>>> Hi everybody, Im using Mono 1.9.1 with XSP 1.9.1. 
>>>> root for my application is in another network machine, if I give the IP
>>>> address --root \\192.168.0.24\data\ then the value of fullpath is
>>>> incorrect.
>>>> Its shows as 
>>>>
>>>>  fullpath \\192.168.0.24\data\\192.168.0.24\192.168.0.24\data 
>>> Who's showing that?
>>>
>>> Robert
>> 
>> 
>> 
>> If I run xsp2.exe and mono.exe in comamnd prompt by passing these values
>> as
>> parameter to XSP then Im getting this problem. Suppose if I pass the root
>> as
>> drive letter as d:\data\ then its working fine. But I need to pass IP
>> address only
> 
> But who is emitting the "fullpath" line above? It must be your
> code because xsp2 is emitting this:
> 
> C:\tmp>xsp2 --root \\192.168.0.192\robertj
> xsp2
> Listening on address: 0.0.0.0
> Root directory: \\192.168.0.192\robertj
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Please post the code that leads to this output:
> 
> 	fullpath \\192.168.0.24\data\\192.168.0.24\192.168.0.24\data
> 
> Robert
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 

-- 
View this message in context: http://www.nabble.com/Invalid-root-directory-in-XSP-tp17486456p17489020.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list