Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label Errors. Show all posts
Showing posts with label Errors. Show all posts

SQL Server - Conversion Failed when Converting the Varchar Value '24,' to Data Type int

Jul 17, 2013 7 comments
Introduction:

Here I will explain how to solve the problem of “COALESCE function: Conversion failed when converting the varchar value '24,' to data type int in SQL Server”.

Description:

In previous posts I explained many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “COALESCE function: Conversion failed when converting the varchar value '24,' to data type int in SQL Server”.

C# - Adding the Specified Count to the Semaphore would Cause it to Exceed its Maximum Count in SQL Server / Asp.net

Jul 9, 2013 8 comments
Introduction:

Here I will explain how to solve the problem “adding the specified count to the semaphore would cause it to exceed its maximum count in c# / Asp.net / sql server .” When running asp.net web application in c#, vb.net with SQL Server database.

Description:


In previous posts I explained many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “adding the specified count to the semaphore would cause it to exceed its maximum count in sql server”. To solve this problem we need to add “Pooling=False” in database connection string to disable connection pool in web.config.

C# - The Microsoft Office Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data

Jan 18, 2013 34 comments
Introduction:

Here I will explain “The Microsoft Office Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data.” problem solution in asp.net using C# and VB.NET.

Description:

In previous articles I explained Import/upload data from excel to gridview in asp.net, Export selected rows of gridview to excel/word document, Export gridview data to pdf in asp.net and many articles relating to Excel, Gridview, SQL ,jQuery,asp.net, C#, VB.NET. Now I will explain how to solve the problem of “The Microsoft Office Access database engine cannot open or write to the file ''. It is already opened exclusively by another user, or you need permission to view and write its data.” in asp.net using C# and VB.NET.

C# - Microsoft.ACE.OLEDB.12.0 Provider is not Registered on the Local Machine in IIS7

Dec 21, 2012 16 comments
Introduction

Here I will explain “the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine” problem solution in asp.net using C# and VB.NET.

Description

In previous articles I explained Asp.net, C#, VB.NET, SQL interview questions, Send values from one page to another page using QueryString, Joins in SQL Server, Highlight Gridview records based on search and many articles relating to Gridview, SQL ,jQuery,asp.net, C#, VB.NET. Now I will explain how to solve the problem of “the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine” in asp.net using C# and VB.NET.

SQL String or Binary Data Would be Truncated. The Statement has been Terminated

Sep 7, 2012 15 comments
Introduction: 

Here I will explain how to solve the problem of “string or binary data would be truncated. The statement has been terminated.” in sql server. 

Description:

One day I am trying to insert data into one table using SQL queries at that time I got error like “String or binary data would be truncated. The statement has been terminated.” Actually this problem because of I declared column datatype varchar(25) but I am inserting data more than 25 characters in that column. To solve this problem I modified column datatype varcha (25) to varchar(50)

the files use a different language which is not allowed since they need to be compiled together

Aug 28, 2012 2 comments
Introduction

Here I will explain how to solve the problem “the files use a different language which is not allowed since they need to be compiled together” when running web application using asp.net. 

Description:

In previous article I explained JQuery autocomplete text with webservice. During work with that sample I created WebService in both the languages C# and VB.NET and I placed both languages code behind files in App_Code folder and I tried to run the application at that time I got error like “the files use a different language which is not allowed since they need to be compiled together” as shown below

Asp.net-cannot open database requested by the login. the login failed. login failed for user 'iis apppool\DefaultAppPool'

Aug 9, 2012 0 comments
Introduction:

In this article I will explain how to solve cannot open database requested by the login. The login failed. Login failed for user 'iis apppool\DefaultAppPool' problem in IIS7. 

Description:

In previous posts I explained many articles to solve Run time errors in asp.net. In IIS7 I published one website and started running my deployed application at that time I got some error message like
cannot open database requested by the login. The login failed. Login failed for user 'iis apppool\DefaultAppPool'. To solve this problem I did some modifications in IIS for that check below post to make required modifications in iis

Asp.net-Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL

2 comments
Introduction

Here I will explain how to solve the problem “Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL.” When running web application using visual studio in asp.net.

Description

In previous posts I explained many articles to solve errors in asp.net. Now I will explain how to solve the problem of “Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL”. During work with one application error like as mentioned above. We can solve this problem in different methods.

Ajax the operation could not be completed invalid formatetc structure in visual studio

Apr 29, 2012 0 comments
Introduction:

Here I will explain how to solve the problem
the operation could not be completed invalid formatetc structure during the time of working with Ajax AsyncFileUpload control in asp.net.

Description:

In previous post I explained Ajax AsyncFileUpload control example in asp.net. During working with that one suddenly I got error like “the operation could not be completed invalid formatetc structure”. 

JSError- microsoft jscript runtime error object doesn't support property or method 'addeventlistener'

Apr 22, 2012 1 comments
Introduction: 

In this article I will explain how to solve problem of “microsoft jscript runtime error object doesn't support property or method 'addeventlistener'” during working with click events in JavaScript.

Description:

In Previous posts I explained how to integrate facebook login button in asp.net during implement that functionality I written functions like this to handle hyperlinks click events in JavaScript

The installer was interrupted before application could be installed. You need to restart installer to try again

Apr 11, 2012 22 comments
Introduction:

In this article I will explain how to solve “
The installer was interrupted before application could be installed. You need to restart installer to try again” problem during installation of custom web setup projects in system.

Description:

In previous article I explained how to create setup project to deploy application in IIS. After create a create Setup project for that application I tried to install it in my system during that time I got error like “The installer was interrupted before application could be installed. You need to restart installer to try again”.

Crystal Report not refreshing based on parameter values in asp.net

Jan 21, 2012 14 comments
Introduction:

In this article I will explain how to refresh crystal reports based on parameter values to populate required data in asp.net


Description:

In Previous posts I explained
crystal reports example in asp.net and pass parameters to crystal reports using asp.net. After create crystal reports with search option first time I entered text and click on search button at that time reports populate with required data after that again I entered text and click search button during that time report is showing only previous data that is not updating based on search text. 

Crystal report images in toolbar not displaying and export/print functionality not working in asp.net

10 comments
Introduction:

In this article I will explain how to solve problem of “Missing toolbar images in crystal reports and Crystal report export/print functionality not working” whenever we deploy reports to server.


Description:

In Previous posts I explained
crystal reports example in asp.net and pass parameters to crystal reports using asp.net. After create crystal reports if I run in my system it’s working fine whenever I deployed crystal reports to server that report toolbar images are missing and export/print functionality not working.  

Logon failed. Details: ADO Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed

Jan 20, 2012 1 comments
Introduction:

In this article I will explain how to solve problem of “Logon failed. Details: ADO Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed” during deploy crystal reports in server.


Description:

In Previous posts I explained
crystal reports example in asp.net and pass parameters to crystal reports using asp.net. After create crystal reports if I run in my system it’s working fine whenever I deployed crystal reports to server I got error like Logon failed. Details: ADO Error Code: 0x Source: ADODB.Connection Description: Provider cannot be found. It may not be properly installed.

Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies

11 comments
Introduction:

In this article I will explain how to solve problem of “Could not load file or assembly 'CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken= 692fbea5521e1304' or one of its dependencies” during deploy crystal reports in servers.


Description:

In Previous posts I explained
crystal reports example in asp.net and pass parameters to crystal reports using asp.net. After create crystal reports if I run that application in my system it’s working fine whenever I deployed crystal reports to server I got error like

Asp.net - The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)

Dec 25, 2011 50 comments
Introduction: 

Here I will explain how to solve the problem “The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).” when running web application using asp.net. 

Description: 

I created one web application and added some of script files in header section of page like this

<head id="head2" runat="server">
<title>Lightbox Page</title>
<link href="aspdotnetsuresh.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%= ResolveUrl("~/js/LightBox.js") %>"></script>
</head>
After add script file to header section i tried to run the application during that time I got error like The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

Visual Studio - unable to start debugging on the web server. The web server did not respond in a timely manner

17 comments
Introduction: 

Here I will explain how to solve the problem “unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger is already attached to the web server.” when compiling in visual studio and running web application using asp.net.

Description:

In my machine I opened visual studio and tried to run application that works perfectly. After make some modifications in code and tried to run application using visual studio I got error like “unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger is already attached to the web server”.

Failed to access IIS metabase in ASP.NET

Dec 13, 2011 5 comments
Introduction: 

Here I will explain how to solve the problem “Failed to access IIS metabase ASP.NET” when we try to browse website using asp.net

Description:

In my machine I tried to access one of the website from IIS at that time I got error like “Failed to access IIS metabase ASP.NET”. I realized that problem because of process model user account (in our case, ASPNET) does not have the correct user rights for the required system files and folders to run the ASP.NET worker process and apparently there is a bug in the ASP.NET install.

Method error 500/12031 in ajax cascadingdropdown extender | AJAX CascadingDropDown - Method Error 500

Dec 12, 2011 10 comments
Introduction: 

Here I will explain how to solve the problem “Method error 500/12031 in ajax cascadingdropdown extender using asp.net. 

Description:

In previous post I explained clearly about Ajax cascading dropdownlist sample. Generally during implementation of cascading dropdonlist we will see our dropdowns shows error like “Method error 500 or Method Error 12031”. This error is occurred because of missing following line of code in WebService.

A potentially dangerous Request.Form value was detected from the client in asp.net

Dec 4, 2011 37 comments
Introduction:

In this post I will explain how to solve the problem “A potentially dangerous Request.Form value was detected from the client in ASP.NET WebForms” using asp.net.

Description: 

In previous post I explained clearly about Rich textbox sample in asp.net . After completion code if I try to insert some html formatted data in database using rich textbox I got error like “A potentially dangerous Request.Form value was detected from the client in ASP.NET WebForms
© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.