Hi,
I am getting unexpected error "Statement cannot be called within method body" in scripts. These scripts used to work before and suddenly stopped working and throws this error. Please suggest how to resolve it.
Hi,
I am getting unexpected error "Statement cannot be called within method body" in scripts. These scripts used to work before and suddenly stopped working and throws this error. Please suggest how to resolve it.
Sorry the error is "Statement cannot appear within a method body. End of method assumed"
What version are you using, Ruchita?
And nothing stops suddenly without changing anything. I assume that some script has changed and that change leads to the compilation error.
The easiest way to get to the bottom of this is to use the System Libary (System Debugger) and use the power of Visual Studio to identify the root cause.
What version are you using, Ruchita?
And nothing stops suddenly without changing anything. I assume that some script has changed and that change leads to the compilation error.
The easiest way to get to the bottom of this is to use the System Libary (System Debugger) and use the power of Visual Studio to identify the root cause.
I am using version 8.0. There is no error in any of the scripts since the same scripts used to work perfectly earlier. And once error is thrown it asks to lock many scripts.
You might be affected by one of the Microsoft fixes for .NET where they (accidentally) introduced some new function that lead to compiler errors in OneIM.
Would be easier to identify the issue, if you would post a complete error message with stack trace and not just the short one.
now the error is not there. not sure how it got resolved. I will ping the stack trace if I get the error again. Thanks for you support.