[Mono-list] Invalid root directory in XSP
Robert Jordan
robertj at gmx.net
Tue May 27 09:03:33 EDT 2008
Thanks. I've filed a bug:
https://bugzilla.novell.com/show_bug.cgi?id=394681
Robert
Anandnld_dev wrote:
> 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
>>
>>
>
More information about the Mono-list
mailing list