Murray Brown
asked on
ASP.net VB.net Operation could destabilize the runtime.
I get the error "Operation could destabilize the runtime" when using the four lines of code below to use the NCalc functionality on my ASP.net site
I put the NCalc DLL in My Documents and referenced it there. The app works when I run it in debug mode but does not
work on my site www.webexcel.co.za
(ncalc.codeplex.com shows a link to the DLL that I a using)
oTableCellValue = "2 * 67 - 6.8 * (23/3)" 'This is just an example line of the type of data that the variable receives
Dim expr As NCalc.Expression = New NCalc.Expression(oTableCel lValue)
Dim oNewValue As Decimal = expr.Evaluate()
TableReport.Rows(r).Cells( c).Text = CStr(oNewValue)
I put the NCalc DLL in My Documents and referenced it there. The app works when I run it in debug mode but does not
work on my site www.webexcel.co.za
(ncalc.codeplex.com shows a link to the DLL that I a using)
oTableCellValue = "2 * 67 - 6.8 * (23/3)" 'This is just an example line of the type of data that the variable receives
Dim expr As NCalc.Expression = New NCalc.Expression(oTableCel
Dim oNewValue As Decimal = expr.Evaluate()
TableReport.Rows(r).Cells(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER