Saturday, September 21, 2013

0x800a138f - JavaScript runtime error: Unable to get property 'UI' of undefined or null reference

You might be wondering what is this error and what you have to do to resolve “0x800a138f - JavaScript runtime error: Unable to get property 'UI' of undefined or null reference” error. Here is the answer for you.

Reason for this error: This error normally occurs when you use ScriptManager, like below, because most of the controls from AjaxControlToolKit work using Ajax script unfortunately many Ajax scripts are not updated in ScriptManager.

<asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager> 

image

Solution to resolve this error: You have to use ToolkitScriptManager instead of ScriptManager. ToolkitScriptManager adds most of the updated Ajax Script. Your code after changing must be like below,

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
 </asp:ToolkitScriptManager>

After changing to ToolkitScriptManager run your project and see the output.

6 comments:

Unknown said...

I receive both the error runtime error 0x800a138f and r6034 in my system. I got irritating with these. I didn’t find any kind of solutions that how to overcome from this situation and my computer sometime hang up and sometimes unable to start. But when I read this page and tried the given following given steps then this runtime error 0x800a138f and runtime error r6034.

Unknown said...
This comment has been removed by the author.
Unknown said...

Runtime error 0x800a138f did not allow me to open a program. I was not knowing that why I am getting this error and where from it origin? But when I follow this page then I have fix my PC easily. By the way third party repair tool is also very helpful.

Unknown said...

I was also getting runtime error 0x800a138f when i was running the program of java script and unable to fix runtime error 0x800a138f but when i open this web page and read the given details and solution it became easy to fix this problem so thanks for this.

siskum said...

Thanks lot, my problem solved. you are the one given right solution..! great job done.

Anonymous said...

Thanks for the error solution ,Buteven though it resolves this issue then when I start using ajaxtoolkitmanagerscriptmanager It could not find Telerik .. and throws Telerik undefined.