Category - Issues and Exceptions
Results 1 - 10 of 37
14 Aug 2014
0 Comments   669 Views
Here Mudassar Ahmed Khan has explained how to handle errors and exceptions occurring in ASP.Net AJAX UpdatePanel control.

When AJAX UpdatePanel does Partial PostBack (AsyncPostBack) and some exception is thrown on the server side code, then the UpdatePanel will simply stuck and will not refresh and you will not see any error or exception from ASP.Net. Hence it is necessary to handle the ASP.Net AJAX UpdatePanel Exceptions and Errors.
04 Aug 2014
1 Comments   738 Views
Here Mudassar Ahmed Khan has explained how to handle the JavaScript error Sys.WebForms.PageRequestManagerParserErrorException when using ASP.Net AJAX UpdatePanel control.

We experience the Sys.WebForms.PageRequestManagerParserErrorException JavaScript error in browser when some exception is thrown on the server side code during UpdatePanel AsyncPostBack.
31 Jul 2014
0 Comments   925 Views
Here Mudassar Ahmed Khan has explained how to solve the problem of RequiredFieldValidator not working when OnCientClick event is added to the Button in ASP.Net.

Thus in order to make the RequiredFieldValidator work with OnClientClick we need to make use of Page_ClientValidate JavaScript function of ASP.Net Validators to perform validation explicitly.
21 Jun 2014
0 Comments   1035 Views
Here Mudassar Ahmed Khan has explained how to configure Mondor MSCaptcha in IIS Server.

Many developers are complaining that the Mondor MSCaptcha does not show Captcha image when the project is hosted in IIS server and mainly the issue is occurring in IIS7 and IIS8 versions as they have Classic as well as Integrated Pipeline Application Pools.

Thus in this short article I’ll cover the steps needed to make the Mondor Captcha show image on IIS Server.
21 Jun 2014
0 Comments   1119 Views
Here Mudassar Ahmed Khan has explained how to install, configure and register ASP.Net 4.5 with IIS8 on Windows Server 2012.
08 Jun 2014
0 Comments   1133 Views
Here Mudassar Ahmed Khan has explained how to get rid of the following error when working with IIS 8 and ASP.Net.

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

You will get above error when accessing the ASP.Net Website (.ASPX page) installed in IIS 8 when ASP.Net is not installed in the IIS 8 Web Server.
29 May 2014
0 Comments   4113 Views
Here Mudassar Ahmed Khan has explained how to set AJAX UpdatePanel Triggers i.e. PostBackTrigger or AsyncPostBackTrigger for Button or LinkButton placed in GridView within AJAX UpdatePanel.
If you try to add PostBackTrigger or AsyncPostBackTrigger for such Button or LinkButton which is placed inside GridView, you will get following error.

A control with ID 'Button1' could not be found for the trigger in UpdatePanel.
26 May 2014
0 Comments   2038 Views
Here Mudassar Ahmed Khan has explained how to resolve the error The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. This error occurs when you try to make use of Excel 2007 or higher or Access 2007 or higher files using OLEDB connection in C# or VB.Net.

This happens only for Office 2007 or higher as it requires use of OLEDB ACE drivers for connection which do not come by default in Windows and hence we need to install them in order to get rid of this error.
08 May 2014
3 Comments   2384 Views
Here Mudassar Ahmed Khan has explained how to register ASP.Net with IIS i.e. installing the ASP.Net in IIS so that ASP.Net pages can be served from IIS server. If ASP.Net is not registered with IIS then when accessing ASP.Net Website you will get the following error.

HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Once the ASP.Net is registered the IIS will show ASP.Net 4.0 Application pools.
27 Apr 2014
0 Comments   3057 Views
Here Mudassar Ahmed Khan has explained how to register ASP.Net with IIS i.e. installing the ASP.Net in IIS so that ASP.Net pages can be served from IIS server. If ASP.Net is not registered with IIS then when accessing ASP.Net Website you will get the following error.
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Once the ASP.Net is registered the IIS will show ASP.Net 4.0 Application pools.