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

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

Feb 25, 2015 0 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 0 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

SQL Server 2008 r2 - It is not a Valid Login or You do not have Permission to Install on Windows 8.1

Jan 29, 2015 1 comments
Introduction:

Here I will explain how to solve “it is not a valid login or you do not have permission to install sql server 2008 r2 problem on windows 8.1. Actually I got this problem while installing SQL Server 2008 r2 on windows 8.1 and I realized this problem occurred because of system name and login name both are same.


Now I will explain how to solve the problem of it is not a valid login or you do not have permission to install sql server 2008 r2 while installing on windows 8.1 like as shown below
  

CrystalReport: The Type or Namespace name 'CrystalDecisions' Could not be Found in Visual Studio 2010

Dec 9, 2014 0 comments
Introduction

Here I will explain how to solve problem of “The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?” in visual studio 2010 while using crystal reports in windows application in
c#, vb.net.

Description:
  
In previous articles I explained
lot of articles related to solve errors  in windows application, asp.net, c#,vb.net and jQuery. Now I will explain how to solve problem of “The type or namespace name 'CrystalDecisions' could not be found (are you missing a using directive or an assembly reference?” in visual studio 2010 while using crystal reports in windows application in c#, vb.net.

Crystal ReportViewer Does not Contain a Definition for 'ReportSource' and No Extension Method 'ReportSource' Accepting a first Argument of Type

0 comments
Introduction: 

Here I will explain how to solve the problem of “'Microsoft.Reporting.WinForms.ReportViewer' does not contain a definition for 'ReportSource' and no extension method 'ReportSource' accepting a first argument of type 'Microsoft.Reporting.WinForms.ReportViewer' could be found (are you missing a using directive or an assembly reference?)” while using crystal reports in windows applications in C#, vb.net.

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 “'Microsoft.Reporting.WinForms.ReportViewer' does not contain a definition for 'ReportSource' and no extension method 'ReportSource' accepting a first argument of type 'Microsoft.Reporting.WinForms.ReportViewer' could be found (are you missing a using directive or an assembly reference?)” while using crystal reports in windows applications in C#, vb.net like as shown below 

Could not load file or assembly 'file:///' or one of its dependencies.The system cannot find the file specified.

0 comments
Introduction:

Here I will explain how to solve the problem of “Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.” while using crystal reports in windows applications in C#, vb.net.

Ajax Could not load file or assembly 'AjaxMin, Version = 4.97.4951.28478, Culture = neutral, PublicKeyToken = 3422fdet4' or one of its dependencies. The system cannot find the file specified.

Jun 8, 2014 3 comments
Introduction:

Here I will explain how to solve “Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. The system cannot find the file specified.problem in Ajax.

Description:

In previous articles I explained
Ajax auto complete textbox, Ajax country state city dropdown, Ajax calendar control example with custom date format, Ajax rating control example with database and many articles related to Ajax and asp.netNow I will explain how to solve the problem of “Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478, Culture=neutral, PublicKeyToken=21ef50ce11b5d80f' or one of its dependencies. The system cannot find the file specified.

Actually this problem occurred because of missing “AjaxMin.dll” reference in our application. 

VB.NET - Name of field or property being initialized in an object initializer must start with '.'

0 comments
Introduction:

Here I will explain how to solve the problem of “name of field or property being initialized in an object initializer must start with '.'” while converting C# code to vb.net.

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 “name of field or property being initialized in an object initializer must start with '.'while converting C# code to vb.net.

Ajax Error Unable to Get Value of the Property 'ui' Object is null or undefined

0 comments
Introduction:

Here I will explain how to solve Ajax control toolkit error unable to get value of the property 'ui' object is null or undefined or Ajax unable to get value of the property 'ui' object is null or undefined.

Description:

In previous articles I explained Ajax auto complete textbox, Ajax country state city dropdown, Ajax calendar control example with custom date format, Ajax rating control example with database and many articles related to Ajax and asp.net. Now I will explain how to solve the problem of unable to get value of the property 'ui' object is null or undefined.


I have installed AjaxControlToolkit and added all Ajax controls to Toolbox in visual studio after completion of this process I started using Ajax controls from Toolbox and added ScriptManager to program. After completion of everything I tried to run the application at that time unexpectedly I got error like “Ajax control toolkit error unable to get value of the property 'ui' object is null or undefined”. 

C# - Could not Load File or Assembly or One of its Dependencies the System Cannot Find the File Specified

Dec 30, 2013 0 comments
Introduction:

Here I will explain how to solve problem of “Could not load file or assembly'xxxxxx’ or one of its dependencies. The system cannot find the file specified” in
asp.net, wcf using c#, vb.net.
Description:

In previous articles I explained can function return multiple values in sqlQuery to get database size in SQL Server, Exception handling in SQL Server with try catch, SQL Query to get first & last day of month, difference b/w view and stored procedure in sql and many articles relating to SQL server. Now I will explain how to solve problem of Could not load file or assembly'xxxxxx’ or one of its dependencies. The system cannot find the file specified” in asp.net, wcf using c#, vb.net.

C# - Xmldocument.load Invalid Character in the Given Encoding. line 23 position 5 in XSLT Compilation

Sep 15, 2013 0 comments
Introduction:

Here I will explain how to solve the problem of “xmldocument.load invalid character in the given encoding in C#”.

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 “xmldocument.load invalid character in the given encoding in SQL Server”.

SQL Server - Invalid Use of a Side-Effecting Operator 'insert' within a Function

Sep 3, 2013 0 comments
Introduction:

Here I will explain how to solve the problem of “invalid use of a side-effecting operator 'insert' within a function 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 “invalid use of a side-effecting operator 'insert' within a function in SQL Server”.

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

Jul 17, 2013 4 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 23 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 13 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 12 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

Other Related Posts

© 2010-2012 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.