ozykaboo Posted July 21, 2008 Report Share Posted July 21, 2008 Chart FX was working fine for us up until today where it has now for some reason stopped working on our production server. Over this past weekend a Windows Update was installed (and now uninstalled) to the server. When we try to create a Chart FX control, nothing is generated on our webpage and we get the following error in our Event Viewer (Any Ideas??): Description: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 7/21/2008 3:24:39 PM Event time (UTC): 7/21/2008 7:24:39 PM Event ID: 508bdc433b50461287af571058d8cfa2 Event sequence: 10 Event occurrence: 3 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/Root/ChartFX70/PSS-2-128611417976752930 Trust level: Full Application Virtual Path: /ChartFX70/PSS Application Path: D:\Program Files\Chart FX 7\ChartFX70\PSS\ Machine name: SAXAMDC2 Process information: Process ID: 220 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: CryptographicException Exception message: Padding is invalid and cannot be removed. Request information: Request URL: http://saxamdc2/chartfx70/pss/ChartFX.aspx?id=0-072115244&type=js&mime=applicationAn unhandled exception has occurred.fx-javascript Request path: /chartfx70/pss/ChartFX.aspx User host address: 10.10.11.216 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 5 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo) at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) at ChartFX.Pss.HttpHandler.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. Quote Link to comment Share on other sites More sharing options...
Frank Posted July 21, 2008 Report Share Posted July 21, 2008 I fond the following in relation to this error: http://blogs.msdn.com/paraga/archive/2006/07/03/655081.aspx As you can see from the stack, the error is coming from Forms Authentication: at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) Are you using forms authentication? If so, take a look at the following KB article: Q7621009. How to use Chart FX and Forms Authentication to secure your charts URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/009.htm?_r=1 BubbleDrillDown.zip Quote Link to comment Share on other sites More sharing options...
ozykaboo Posted July 23, 2008 Author Report Share Posted July 23, 2008 After a few days of trying to fix my problem, the solution was very simple. To get ChartFX working again, all i needed to do was STOP the ChartFX service from running as a windows service (under Administrative Tool/Services) . Apparently, when the windows updates were installed and the server was rebooted, the ChartFX application service did not automatically start as observed by our server team. So since our server guy noticed this, decided to start the service manually. With this running as an application service, apparently it was causing some sort of conflict/problems to our PSS running from IIS. Why this caused us problems though, I have no clue... Anyone have any thoughts on why we experienced these issues?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.