Quantcast
Channel: General Programming – Nishant Rana's Weblog
Browsing latest articles
Browse All 14 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Dll 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 Article

Image may be NSFW.
Clik here to view.

Good 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 Article

Image may be NSFW.
Clik here to view.

Cannot 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 Article

Image may be NSFW.
Clik here to view.

Rename 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 Article


Image may be NSFW.
Clik here to view.

Error: ‘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 Article

Image may be NSFW.
Clik here to view.

Change 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 Article

Image may be NSFW.
Clik here to view.

Fixed – 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 Article


Image may be NSFW.
Clik here to view.

Remove 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 Article


Image may be NSFW.
Clik here to view.

HashSet 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

Fixed – 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
Browsing latest articles
Browse All 14 View Live




Latest Images