Specifying New Line in XML
Hi, While specifying Data for one of the multiline column in a ListInstance we wanted to specify New Line in the content. This is how we specified The result Hope it helps..Filed under: General...
View ArticleDll not getting copied to bin directory in Visual Studio
Hi, In one of our projects we were referencing custom assemblies that were part of the same solution. However those assemblies were not getting copied to the bin directory of the project upon building...
View ArticleGood resource on Special Characters
Just found a good site, http://www.the-art-of-web.com/javascript/escape/ I had this url in CRM 2011 for creating related entity record...
View ArticleCannot read configuration file due to insufficient permissions
Was getting this issue in one of my ASP.NET application in IIS 7. Gave Read Permission to IIS_IUSRS on the site. This fixed the problem.Filed under: ASP.NET, General Programming Tagged: ASP.NET
View ArticleRename Domain in Windows Server 2008
Hi, I was assigned the task of renaming the domain. This post was extremely useful. http://www.shariqsheikh.com/blog/index.php/200804/how-to-rename-a-windows-server-2008-domain/ I’ll put few of the...
View ArticleError: ‘VEMap’ is undefined
If we get the above error while working with Virtual Earth first thing we need to check is whether the internet connection is working or not. Next thing to check is whether JavaScript is disabled for...
View ArticleChange log4net logging level programmatically
Hi, We had one requirement in which we wanted to change the logging level of log4net programmatically based on the value passed. Suppose this is how we have configured log4net in our application....
View ArticleFixed – Visual Studio 2012 getting crashed on attaching debugger
Hi, VS 2012 was repeatedly getting crashed when attaching debugger for debugging the plugins. Tried out unsuccessfully so many things suggested over the internet, however the only thing that worked was...
View ArticleRemove the extra commas from the string using C#
Suppose our string is in following format string input = “Test1,, Test2,,,,,”; string result = Regex.Replace(input, “,+”, “,”).Trim(‘,’);...
View ArticleHashSet with Custom Class in C#
Check out this wonderful post on understanding HashSet http://dotnetcodr.com/2014/01/08/using-hashset-in-net-to-allow-unique-values-only/...
View ArticleHow to Read the InfoPath content and extract the attachment using XMLDocument...
The InfoPath form:- The namespace and the field1 that is node that contains the attachment Sample Code: XmlDocument myDoc = new XmlDocument(); myDoc.Load(@"C:\test\form.xml"); // specify the name space...
View ArticleFixed – Cannot obtain value of local or argument as it not available at the...
Hi, Was facing this the above issue while trying to debug the code. The debugger was getting attached properly but it wasn’t showing values for the variables. Unchecking the following option in the...
View Article
More Pages to Explore .....