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

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

Sep 15, 2013
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”.

Generally this problem will occur whenever we try to compile xml data with xslt. To solve this problem we need to make our XmlDocument element null before assign any data like as shown below


XmlDocument oXmlDoc = new XmlDocument();
oXmlDoc.XmlResolver = null;
I hope it helps you to solve your problem. Happy Coding……

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

0 comments :

Give your Valuable Comments

Other Related Posts

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