Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

Wednesday, April 16, 2014

(Solved) Error: Uncaught Sys.ArgumentTypeException: Sys.ArgumentTypeException: Object of type 'Sys.Extended.UI.Animation.GenericAnimationBehavior' cannot be converted to type 'Sys.UI.Behavior'. Parameter name: instance in ASP.NET

Error:

Uncaught Sys.ArgumentTypeException: Sys.ArgumentTypeException: Object of type 'Sys.Extended.UI.Animation.GenericAnimationBehavior' cannot be converted to type 'Sys.UI.Behavior'. Parameter name: instance
Solution:

Error resolved by adding ScriptMode="Release" like below
<asp:ScriptManager ID="ScriptManager1" runat="server" ScriptMode="Release">
</asp:ScriptManager>
or
<asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"  ScriptMode="Release">
</asp:ToolkitScriptManager>

(Solved) Error: Uncaught TypeError: Cannot read property 'UI' of undefined in ASP.NET

Error:

Uncaught TypeError: Cannot read property 'UI' of undefined
Solution:

Error Resolved by Changing,
<asp:ScriptManger>
to
<asp:ToolScriptManager>

Note: You need to add the latest Ajax Control Toolkit in your Visual Studio Toolbox to access the <asp:ToolScriptManager>

Tuesday, January 14, 2014

(Solved) Error: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

Error:

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
Solution:

You need to download and install the "2007 Office System Driver: Data Connectivity Components" to fix this error

Click Here to download from Microsoft


Note: Other version may not fix this error.

Wednesday, January 23, 2013

(Solved) Error: Unrecognized attribute 'targetFramework'.

Error:

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Source Error:
</controls>  
    </pages>  
    <compilation debug="true" targetFramework="4.0" />    
<authentication mode="Forms">  
Solution:
In IIS 5.1
  • Go to Start -> Run
  • Type "inetmgr" then press Enter
  • In the Default Web Site right click your web application then select Properties
  • Navigate to ASP.NET tab
  • Change the ASP.NET version to 4.0
  • Press Apply
  • It will work now

(Solved) Error: Invalid temp directory in chart handler configuration [c:\TempImageFiles\]

Solution for this error is,
  • Go the the Web.config file in your ASP.NET application
  • Navigate to the below line
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;">
</add>
  • Just remove the dir element from the add attribute like below
<add key="ChartImageHandler" value="storage=file;timeout=20;">
</add>
  • Publish your app.