Jump to content
Software FX Community

How / can you set up the pss service locally net 2.0


dstarkey

Recommended Posts

Hello,

We are running our production application on a web farm.  Currently we are not using the pss sevice, and instead we are using the local chartfx dll. It is my understanding that the pss service is designed to aid chart/map generation when working on a web farm.  Is there a way to set this up on my local box so I can test the functionality?  Any way to simulate more than one server?  All help is greatly appreciated.  We keep getting an intemittent error  with our maps where one of the parameters sent from chart fx to system.drawing is invalid.  I was hoping that using the pss service would eliminate this error.  See below:

MESSAGE: Parameter is not valid. SOURCE: System.Drawing TARGETSITE: Void .ctor(Int32, Int32, System.Drawing.Imaging.PixelFormat)

STACKTRACE:  

at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)

at System.Drawing.Bitmap..ctor(Int32 width, Int32 height) at ChartFX.WebForms.Internal.u.a(Graphics A_0, Int32 A_1, Int32 A_2)

at ChartFX.WebForms.Chart.m()

at ChartFX.WebForms.Chart.cm()

at ChartFX.WebForms.Annotation.AnnotationText.SizeToFit()

at ChartFX.WebForms.Annotation.AnnotationText.set_Text(String value)

at ChartFX.WebForms.Maps.MapElement.set_DisplayText(String value)

 

Thanks in advance,

Don

Link to comment
Share on other sites

This error is not related to PSS not running.

This error seems to be related to either a bug in Maps or to an action being done out of sequence. Some actions require the chart to have a size.

I would need to have a sample program that reproduces the problem to determine what's causing it.

As for the PSS service, it can be used locally (indeed it is recommended) but it can not simulate multiple web servers. In a WebFarm scenario, the PSS service is needed unless the server affinity is set so that all request in the same "session" go to the same server, otherwise you can end up in a situation like this one :

1) http://www.yourdomain.com/WebForm1.aspx runs from Server 1. This forms contains a Chart object.

2) The form renders:

  <img src="/chartfx70/temp/aaaa.chw" />

3) The browser requests = http://www.yourdomain.com/chartfx70/temp/aaaa.chw

4) The load-balancing entity directs this request to Server 2

5) 404. File not found (file is in Server 1)

There are other advantages of using the PSS service more info here:

http://support.softwarefx.com/Article.aspx?KBID=7621004&Product=CfxNet70&Embed=0

http://support.softwarefx.com/Article.aspx?KBID=7621010&Product=CfxNet70&Embed=0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...