Sunday, August 26, 2012

Visual Studio 2010 and Crystal Reports

Just ran into an issue on my new box while working on a Visual Studio 2010 project.  I needed to add a crystalreportviewer to a windows form, but the crystalreportviewer was missing from the toolbox.  Ok, no problem I should be able to add the item to the toolbox, but when I added went through the add item process, the crystalreportviewer control was still missing from the toolbox.  It turns out that I was using the .net 4.0 client profile in the project properties, once I changed the project properties to .net 4.0 the crystalreportviewer control was in the toolbox and ready to be added to my form.

Monday, August 6, 2012

IIS and Integrated Authentication

I have an ASP .Net application that runs on a Windows Server 2008 R2 machine that uses integrated authentication since all of my workstations are joined to the domain and all the users have domain accounts.  The IIS integrated authentication usually works fine, but every now and then when users try to go to the website, IIS will start prompting everyone for their network credentials and the website will not work even when users enter the correct credentials.  After some trial and error I have discovered that restarting the Windows Process Activation Service on the server where IIS is running will clear up the problem and integrated authentication will start working properly again.