Profile Picture

chart control goes white blank on some occation

Posted By JSW W. 12 Years Ago
Author
Message
JSW W.
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 127, Visits: 1

Hi

I create Nchart control in an aspx/ascx page but not sure why when open on rare occasion it shown as white blank.
Since it on production only so i have not find way to debug it.

here is a log in sql server

I am not so familiar with web application, if you have some guidance please help.

---
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/9/2012 5:38:13 PM
Event time (UTC): 3/9/2012 10:38:13 AM
Event ID: edc92de2a1044a69973e74826cc5756b
Event sequence: 3767
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/278360298/Root-1-129757609832031250
Trust level: Full
Application Virtual Path: /
Application Path: D:\PRODUCTIONSx\xxx\
Machine name: xxx01

Process information:
Process ID: 3116
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: InvalidOperationException
Exception message: Could not find a state identification query string field.
at Nevron.Chart.WebForm.NChartStateManagerFactory.CreateInstance(HttpContext httpContext)
at Nevron.UI.WebForm.Controls.NImageResponseHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information:
Request URL: http://xxx.90.198.xxx/NevronChart.axd
Request path: /NevronChart.axd
User host address: 150.70.75.33
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 20
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Nevron.Chart.WebForm.NChartStateManagerFactory.CreateInstance(HttpContext httpContext)
at Nevron.UI.WebForm.Controls.NImageResponseHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Just what to add some comments.
There are no real bug i could find, but why sometimes the chart control just goes blank for the webpage?
could it be because of some cashing setting issue or web config?
No error log, just plain white.

I made some observation further?
Whenever chart go blank i copy url and it show to be 1 x 1 px

http://xxx.xxx.xxx.xxx/NevronChart.axd?InstanceGuid=3e2eeeaa-1244-4173-9cd0-2d347ca9a344&SnapshotGuid=8ed80695-8dec-4a6b-93fa-c3ffc9023e46

I tested with one that still show picture, copy url to another browser then for awhile it will go blank 1x1 px too after refresh.

Please wonder what could cause such problem.
Regards,





Hello again, I think when chart genrate temp url e.g. http://xxx.xxx.xxx.xxx/NevronChart.axd?InstanceGuid=3e2eeeaa-1244-4173-9cd0-2d347ca9a344&SnapshotGuid=8ed80695-8dec-4a6b-93fa-c3ffc9023e46 then web browser / server remember it then it reuse this url - when sometimes the .axd picture no longer there, it generate 1x1 picture instead.
So How do I make sure there is no caching issue like this?


Secondly, may be setting picture render mode to save in temp folder will help, when browser calling old chart url?


Hello any inputs?

Does anyone have a standard way to prevent webbrowser to call old chart url? Or something that could help me?



Similar Topics


Reading This Topic