I found the problem - it was due to .NET version for DefaulAplication pool
as virtual directory inherits it from Aplication. I changed it to 2.0 and
this solved the problem.

 

Paul

 

From: Simone Giannecchini [mailto:simone.giannecch...@geo-solutions.it] 
Sent: Thursday, August 29, 2013 1:07 PM
To: Paulius Litvinas
Cc: geoserver-users
Subject: Re: [Geoserver-users] Clustered GeoServer on tomcat with load
balance on IIS

 

Ciao Paulius,

I honestly never saw that error myself. 

I guess you'll have to fiddle with the IIS configuration and its security
settings.

 




Regards,
Simone Giannecchini
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

 

On Thu, Aug 29, 2013 at 9:32 AM, Paulius Litvinas <paul...@infoera.com>
wrote:

Hello List,

 

I tried to make such GeoServer High Availability  Set as in this link:
http://goo.gl/Hd6F5

 

Everything works ok except tiled layers .

 

I tried with default sample layer topp:tasmania_cities.

 

On separate instances this tiled layer is displayed with no problems.

 

http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPS
G:4326
<http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EP
SG:4326&format=image/png> &format=image/png

http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPS
G:4326
<http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EP
SG:4326&format=image/png> &format=image/png 

 

But if I try to view this layer through load balanced on IIS

 

http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:432
6
<http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:43
26&format=image/png> &format=image/png

 

I get 

Server Error in '/' Application. 

A potentially dangerous Request.Path value was detected from the client (:).

Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.Web.HttpException: A potentially dangerous
Request.Path value was detected from the client (:).

Source Error: 

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace: 

[HttpException (0x80004005): A potentially dangerous Request.Path value was
detected from the client (:).]

   System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +710

   System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +184

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET
Version:4.0.30319.272

 

If I try a group layer (request does not contains ":") everything work fine
too.

 

I tried to put the following config to web.config of jakarta virtual
directory, but no success.

 

    <system.web>

        <httpRuntime requestValidationMode="2.0"
requestPathInvalidCharacters=""/>

                                                         <pages
validateRequest="false" />

    </system.web>

 

Maybe I missed something?

 

Thank you for any help.

 

Sincerely,

Paulius Litvinas

GIS Projects Consultant, "InfoEra" JSC

____________________________________________________________

Mobile: +370 656 10089 <tel:%2B370%20656%2010089> 

Phone: (+370 5) 278 84 56 <tel:%28%2B370%205%29%20278%2084%2056> 

Fax: (+370 5) 278 47 23 <tel:%28%2B370%205%29%20278%2047%2023> 

paul...@infoera.com

S. Zukausko str. 17, LT-08234, 

Vilnius, Lithuania

cid:image001.jpg@01C7E646.3BEE7150

www.infoera.com 

 


----------------------------------------------------------------------------
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911
<http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> &iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 

<<image001.jpg>>

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to