03-19-2008 08:38 AM
Hello.
I have a huge problem with scatter graph.
Attached U can find an example I made to reproduce the problem.
When the program is started with a button pushed the graph is loaded with data.
How to produce crash of application:
- Zoom with mouse a part of graph (doesn't matter where).
- Double-Click on graph (left mouse button).
- Again Double-Click on graph (left mouse button).
- Crash.
PlotAreaClick I need to have for moving cursors around the graph plot.
I use VS2005 with Measurement Studio .NET 8.1.2.
Ben
03-19-2008 08:51 AM
03-20-2008 07:17 PM
Hi Beno,
I downloaded your latest example and could not reproduce the error. I
also tried it on an additional machine and couldn't produce the error. I
followed the steps from your post exactly and then tried additional
double-clicks, just in case.
What web browser are you using? What is the version of that web
browser?
03-21-2008 02:25 AM
Hi.
I use IE7 7.0.5730.13
I try now to publish the application to server.
First I have manually added NI MS dll's to server's bin directory to get it to work:
NationalInstruments.Common.dll
NationalInstruments.UI.dll
NationalInstruments.UI.WebForms.dll
On server I have no problems with graph crashing.
I also have problem with zoom when running from vs2005. Y scale is faulty (xy zoomed around data 0.45 to 0.55 on y scale. I then get zoomed y scale from 44792243767313024 to 66703601108033248). Graph is loaded with around 8500 points.All this problems are gone when published to server.
VS 2005 is version 8.0.50727.762 (SP.050727-7600)
Measurement Studio 8.1.2. license Enterprise Edition.
VS Service pack loaded two days ago.
Any suggestions?
thnx
03-24-2008 07:06 PM
03-26-2008 08:17 AM
|
. . System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64 |
03-26-2008 09:38 AM
Bad news.
This error is now also on server.
After last upgrade.
![]()
Anyone? Help please?!
Repair of measurement studio installation did not help.
What more can I do?
03-26-2008 10:37 AM
News.
If I change regional settings to other then English this error comes up.
That's why I have this problem on my PC but not on server.
There are other reasons why I can't use English regional settings.
Where could I change Culture in ASP.NET project or Measurement Studio preferences?
thnx
03-26-2008 02:17 PM
03-27-2008 01:56 AM
Hello J_Stape.
I use [Slovenian] regional settings.
Also on server.
If I leave servers regional settings set to US English I have no problems.
By default the Identity of Application Pool in IIS server (Application Pools>DefaultAppPool) is set to [Network Service].
This is the security account for this application pool.
And this account has regional settings set to English.
That's why it was working on server before.
If I set application pool identity account to [Local System] (it has regional settings set to Slovenian), the error comes up.
In second post of this Thread I attached reference project to test the error.
I also tried the XYGraph example.
I had to enable ZoomX, ZoomY, and PlotAreaClick.
After zoom I only have problem with Y scale. X scale is not set to DateTime so no problem with that.
I zoomed Polar plot in XYGraph example -0,5 to 0,5 and I get the Yscale set from -5 to 5.
The source of the problem is (I thing) the decimal point character and DateTime format.
In Slovenian is ',' and in English '.'
Dates are also totally different.
After every regional settings change I have to restart visual studio.
Maybe the problem is localized.
What would the solution be?