Intermittant JavaScript Error in DevExpress - c#

I am getting an intermittent JavaScript error when using the DevExpress client API. This error can sometimes occur on one computer when all other computers are running the code perfectly fine.
The error is:
"Unhandled exception at line 70, column1 in http://localhost:4593/Home/Grid. JavaScript runtime error: 'MVCxClientGridView' is undefined."
The error occurs at the following line in the compiled code:
var dxo = new MVCxClientGridView('GridView');
I have not been able to successfully replicate the causes of the error - it sort of just goes away after awhile. What am I missing?

Related

Kofax server throws error "VRS failed with error -136"

Kofax server throws error "VRS failed with error -136" when a job is submitted with index fields and works fine when job is submitted without index fields. I suspect some configuration issue on the kofax server setup but unable find which configuration is causing it throw error -136

What is the cause for Error HRESULT: 0x800A03EC?

I am getting an Error:
"FileReader; Exception from HRESULT: 0x800A03EC"
when I run my console application through task scheduler. But I don't get any error when I run it manually. I am not sure if this is an access issue or programming issue.
Note: I do not have admin access on the server that I am running this
program.
I have tried to search for reason, but I have not found anything which resembles my scenario.
I am not sure which part of the code is causing this issue, so I am not sharing any code here.
The error code 0x800A03EC (or -2146827284) means NAME_NOT_FOUND; in other words, you've asked for something, and Excel can't find it.
But sometimes, just sometimes, the service throw out the exception "Exception from HRESULT: 0x800A03EC" while it's trying to get range with cell's name.

Displaying a DataTable in C#

'An unhandled exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll
Additional information: Unable to connect to any of the specified MySQL hosts.'
Even though I have no errors according to C#. My program will keep displaying this error message when I try to run the program. Can some help?
As is stated in a comment: The error is that the connection to the MySQL host cannot be created (could be wrong password, wrong username, wrong serverip, wrong port being used, .... or that the mysql server is not running at all, ... thus these are the things you should check first).
Another thing is that you sounded confused that the compilation did not show any errors. You can think of it this way: When you compile the syntax and the grammatics are checked if they are ok and appropriate errors shown. BUT what values are there during a run is NOT checked. That is what is done during a run and causes the error you asked about.
Thus compilation does only check if the syntax is correct not if you really manage to connect to soemthing or if the values you are storing in the variables are the ones you expect there to be.

RDLC report getting error An error occurred during local report processing

My report is working all the while, until it suddenly hitting this error "An error occurred during local report processing." . I am not able to locate the actual problem.
_reportViewer.LocalReport.SetParameters(rptParameter); //<--Hit error
I have try the solution on An error occurred during local report processing..The definition of the report '' is invalid , but it is still not working
Please advice .
This is the most generic error you can find working with rdlc.
You have to catch the Exception and give a look at the various levels of InnerException; i.e.:
ex.Message
ex.InnerException.Message
ex.InnerException.InnerException.Message
Maybe try to allow null the parameter you have,
i think you are sending a nothing value on that parameter and your parameter is not design to accept null value, so error will occur.
if the problem still there, try to add screen shot

I can debug but unable to execute my Selenium C# script

If i debug my code its running line by line successfully. but when i run without breakpoints it shows the following error and my script failed.
"Failed PaymentGateway ProjectFunctions Test method Project_Automation.Functions.PaymentGateway threw exception: Selenium.SeleniumException: ERROR: There was an unexpected Alert! [Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0]."
Browser shows no error in UI. but Error console shows "Error: setting a property that has only a getter"
It shows at the end of a single for loop. i am unable to execute rest of the loops
Sounds like the property evaluation in one of the debugger windows has a side effect. This happens sometimes, try to turn this setting off in VS to eliminate this:
Tools -> Options -> Debugging -> Enabled property evaluation and other implicit function calls

Categories

Resources