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

Cannot deserialize the current JSON object (e.g. {"name":"value"})

Feb 9, 2017 0 comments
Introduction:

Here we will learn how to solve the problem of cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[userdetails]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. Generally we will get this error whenever our deserialized JSON object returning list of object items but we are trying to hold only single item.

Description:

In previous articles I explained asp.net json serialization and deserialization in c#, vb.net, asp.net set custom error page inn web.config, unrecognized escape sequence in file path in c#, vb.net, cannot convert string to type double is not valid in vb.net, jQuery show error message in ajax call response with example, convert json string to json object with example and many more articles related to in JSON, asp.net, mvc, c#, vb.net. Now I will explain how to solve the problem cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[userdetails]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.

Asp.Net Set Custom Error Page in Web.Config

Jul 20, 2016 1 comments
Introduction

Here I will explain how to set custom error page in web.config in
asp.net or display custom error page in asp.net in case url pattern not matched or asp.net redirect to default error page in case non existing pages. By enabling customErrors in web.config file in asp.net we can display or redirect to custom error page whenever error throws in application.

Error - Visual Studio TFS Key Not Valid for Use in Specified State

Feb 8, 2016 0 comments

Introduction:

Here I will explain how to solve the problem of “Visual Studio TFS Key Not Valid for Use in Specified State” while connecting tfs in visual studio. This key not valid for use in specified state problem occurred due to changing some login key values.

Description:

In previous posts I explained convert string to lower case, upper case and title case in asp.net, jQuery send receive json object from webservice methods, Asp.net mvc complete project with database, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “key not valid for use in specified statein visual studio while connecting tfs.

Lync Login Error - There was a Problem Acquiring a Personal Certificate Required to Sign in

Oct 18, 2015 0 comments
Introduction

Here I will explain how to solve the problem of “There was a problem acquiring a personal certificate required to sign in, If the problem continues, please contact your support team.” while login in to Lync communicator in windows 8. Actually this problem occurs when our cached credentials of Lync get corrupted. To fix this problem we need to delete existing certificates and login with your details it will fix your “Cannot sign into Lync. There was a problem acquiring a certificate from the server.” 

Description:

In previous posts I explained physical path but a virtual path was expected in asp.net, jQuery the length of the string exceeds the value set on the maxjosnlength property, jQuery show asp.net exception error message, upload and download files from database in asp.net, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “There was a problem acquiring a personal certificate required to sign in, If the problem continues, please contact your support team.while login in to Lync communicator in windows 8.

C# - e: Is a Physical Path but a Virtual Path was Expected in Asp.net

Oct 6, 2015 2 comments
Introduction:

Here I will explain how to solve problem of “e: is a physical path but a virtual path was expected” in asp.net using c#, vb.net. Generally this physical and virtual path problem occurred whenever we refer “Server.MapPath” value multiple times while using folder path in applications. To solve this e:is a physical path but a virtual path was expected we need to use Server.MapPath only once while getting or inserting files in folder in asp.net using c#, vb.net.

Description:


In previous posts I explained export gridview data to excel in windows application, auto suggestions search textbox in master page in asp.net, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve problem ofe: is a physical path but a virtual path was expected” in asp.net using c#, vb.net.

Error Asp.net 4.0 has not been Registered on the Web Server. You Need to Manually Configure your Web Server

Sep 29, 2015 5 comments
Introduction:

Here I will explain how to solve problem of “asp.net 4.0 has not been registered on the web server you need to manually configure your web server for asp.net 4.0 in order for your site run correctly”. Actually this problem occurred while creating application in visual studio 2015 because we installed iis 8.0 after .NET framework installed. To fix this problem we need to enable asp.net 3.5 or 4.5 version frameworks using Turn windows features on or off in control panel.

Description:

In previous posts I explained class asp responsive buffer limit exceeded error, convert string to lower case, upper case and title case in asp.net, jQuery send receive json object from webservice methods, Asp.net mvc complete project with database, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “asp.net 4.0 has not been registered on the web server you need to manually configure your web server for asp.net 4.0 in order for your site run correctly.

IIS 8.5 Detailed HTTP Error 404.3 Not Found Feature May Not Installed or MIME Map is not Enabled

Sep 28, 2015 2 comments
Introduction:

Here I will explain how to solve iis 8.5 detailed error “HTTP error 404.3 – Not Found (the feature you are trying to use may not installed or the appropriate MIME map is not enabled for the website or application)”. Actually this problem occurred when .NET framework 3.5, 4.5 not installed but using those frameworks in applications. To fix this problem we need to enable asp.net 3.5 or 4.5 version frameworks using Turn windows features on or off in control panel.

Description:

In previous posts I explained class asp responsive buffer limit exceeded error, convert string to lower case, upper case and title case in asp.net, jQuery send receive json object from webservice methods, Asp.net mvc complete project with database, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “IIS 8.5 HTTP Error 404.3 – Not Found (the feature you are trying to use may not installed or the appropriate MIME map is not enabled for the website or application).

jQuery Ajax Error The Length of the String Exceeds the Value Set on the Maxjsonlength Property in Asp.net

Sep 1, 2015 2 comments
Introduction

Here I will explain how to solve the problem of  
jQuery ajax Error during serialization or deserialization using the JSON JavaScriptSerializer. The length of the string exceeds the value set on the maxJsonLength property.” in asp.net using c#, vb.net. Actually this jQuery ajax error will occur whenever our result set data cross json default lenth to fix this problem we need to increase maxJsonLength property default value. 

Description:
  
In previous articles I explained gridview examples in asp.net, dropdownlist examples in asp.net,
jQuery regular expression to validate url without http(s), regular expression to validate phone number in jquery, regular expression to replace all special characters with spaces in c#, regex email validation in c# and many articles relating to jQuery, asp.net. Now I will explain how to solve the problem of length of the string exceeds the value set on the maxJsonLength property.” in asp.net.

jQuery Show Asp.Net Exception Error Message in AJAX Call Error Function in C#.Net VB.Net

May 17, 2015 0 comments
Introduction

Here I will explain how to show
asp.net exception error message in jQuery ajax web method calls using error function in c#, vb.net or get error message in jQuery ajax post method in asp.net using c#, vb.net with example or jQuery show custom error message during ajax calls in asp.net using c#, vb.net.

Cannot Convert String to Type 'Double' is Not Valid in VB.NET

Apr 17, 2015 1 comments
Introduction:

Here I will explain how to solve the problem of “cannot convert string to type 'Double' is not valid” in vb.net. To solve this problem we need to use ‘& or CStr formats in string while assigning integer values to string in vb.net.

Description:

In previous posts I explained save files in folder and download in asp.net, read or write text file in asp.net, upload and download files from database in asp.net, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “cannot convert string to type 'Double' is not validin vb.net.

Unrecognized Escape Sequence in File Path in C#, VB.NET

Mar 10, 2015 0 comments
Introduction:

Here I will explain how to solve the problem of “unrecognized escape sequence in file path'.'” while accessing file path in C#, vb.net. Actually to solve this problem we need to use double blackslashes for filepath or @ symbol before we start declaring file path.

Description:

In previous posts I explained save files in folder and download in asp.net, read or write text file in asp.net, upload and download files from database in asp.net, download multiple files as zip folder in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “unrecognized escape sequence in file path'.'while accessing file path in C#, vb.net.

C# - The 'Microsoft.ACE.OLEDB.12' provider is not registered on the local machine.

0 comments
Introduction:

Here I will explain how to solve the problem of “The 'Microsoft.ACE.OLEDB.12' provider is not registered on the local machine” in asp.net using c#.net, vb.net. Actually this problem occurred while accessing MS Access database 2007 or 2010 or higher version of access database in asp.net using c#.net, vb.net. 

Description:

In previous posts I explained insert & fetch data from access database in asp.net, create contactus form in asp.net, read connection string from web.config file in asp.net, use multiple web.config files in asp.net with example, encrypt and decrypt connection string in asp.net and many articles relating to solve errors in asp.net using c#.net, vb.net and SQL Server, IIS, etc. Now I will explain how to solve the problem of “The 'Microsoft.ACE.OLEDB.12' provider is not registered on the local machine” in asp.net using c#.net, vb.net.

C# - The Connectionstring Property has Not been Initialized in Asp.net

Feb 25, 2015 1 comments
Introduction:

Here I will explain how to solve the problem of “the connectionstring property has not been initialized in asp.net while sending request to connect SQL Server using c#.net, vb.net.

Description:

In previous posts I explained read connection string from web.config file in asp.net, read appsettings from web.config file in asp.net, use multiple web.config files in asp.net with example, encrypt and decrypt connection string in asp.net and many articles relating to solve errors in asp.net, SQL Server, IIS, etc. Now I will explain how to solve the problem of “the connectionstring property has not been initialized in asp.net while sending request to connect SQL Server”.

C# - Member Names Cannot be the Same as their Enclosing Type in Asp.net

Feb 20, 2015 0 comments
Introduction:

Here I will explain how to solve problem of “member names cannot be the same as their enclosing type” in
asp.net using c#. Actually this “member names cannot be the same as their enclosing type” problem occurred while compiling the code it’s because of using same class name for method in asp.net using c#.

Description:

In previous post I explained iis cannot open w3svc service on computer’.’.access denied, cannot load file or assembly ‘file:///’ or one of its dependencies, Ajax error unable to get the value of property ‘UI’ object is null or undefined, could not load file or assembly or one of its dependencies and many more articles related to errors in
asp.net using c#, vb.net. Now I will explain how how to solve problem of “member names cannot be the same as their enclosing type” in asp.net using c#.

Empty or Missing Binding Type in IIS 8 in Windows 8

Feb 10, 2015 2 comments
Introduction:

Here I will explain how to solve the problem of missing http binding type in IIS 8(internet information services) manager in windows 8 or 8.1 or binding types are empty in IIS 8. To fix this problem we need to make changes in WPAS and IIS settings in control panel. Actually IIS binding type missing once I upgrade from windows 7 to windows 8.1.  

Description:

In previous articles
install iis manger in windows 8, IIS cannot open w3svc service on computer, check whether IIS running or not in c#, Start or stop IIS service in c#, vb.net and many articles related to IIS Server, asp.net, sql server. Now I will explain how to solve the problem of missing http binding type in IIS (internet information services) manager in windows 8 or 8.1.

IIS Cannot Open W3SVC Service on Computer '.'. Access Denied

Feb 4, 2015 0 comments
Introduction:

Here I will explain how to solve “Cannot open W3SVC service on computer '.'. problem in IIS Manager. I got this error whenever I tried to start or stop IIS manager service from c# code using asp.net.


Now I will explain how to solve the problem of Cannot open W3SVC service on computer '.'. while accessing iis manager service like as shown below
© 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.