Looks like the path to the file is wrong as it includes C:` twice

I suspect GS is appending your path to the GEOSERVER_DATA_DIR folder, which 
looks like it is C:\GeoServer25\data_dir\styles\

I have used other SLDs from the OS with no problem, but I have not tried this 
one in particular.

Russ

On 28 Mar 2014, at 00:55, Jody Garnett <[email protected]> wrote:

> That does look like the filename is incorrect. I have not seen TopoArea.sld 
> so I do not know if it compatible.  Try copying and pasting the content into 
> a new style and see how you go?
> 
> Jody Garnett
> 
> 
> On Fri, Mar 28, 2014 at 2:56 AM, Ismail, Mark <[email protected]> 
> wrote:
> I have tried to upload the sld provided by uk ordnance survey but although 
> they validate I get the following error when I click submit
> 
>  
> 
> org.apache.wicket.WicketRuntimeException: java.io.FileNotFoundException: 
> C:\GeoServer25\data_dir\styles\C:\GeoServer25\data_dir\styles\TopoArea.sld 
> (The filename, directory name, or volume label syntax is incorrect
> 
>  
> 
> Mark
> 
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> 
> ------------------------------------------------------------------------------
> 
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to