Microsoft PlayGround

A Playground for Microsoft Technologies

Entries for the ‘ASP.NET’ Category

Console Application for SharePoint 2010 [No User Profile Application available to service the request. Contact your farm administrator.]

Today I was working on some cool features to update the User Profile store in SharePoint 2010. To test this feature I usually use a Console Application. In my Console Application I was keep getting an error on a line like below: UserProfileManager profileConfigManager = new UserProfileManager(ServiceContext); The exception I kept getting was : ‘No [...]

SharePoint 2010 Custom Errors

About a year ago I wrote a article on deactivating the custom errors off SharePoint 2007. That had to be done in the following manner: Step 1: Change <SafeMode MaxControls="200" CallStack="false" > to <SafeMode MaxControls="200" CallStack="true" > Step 2: <customErrors mode="Off"/> If you do this on a SharePoint 2010 installation you will still get the [...]

ASP.NET Checkbox with confirmation message

For one of my assignments I had to create a checkbox that displays a confirmation message when you uncheck a checkbox. I thought I would share my solution with you guys.   First off al you will have to create a new class file that we will call ‘ConfirmationCheckbox’ the class will inherit from ‘System.Web.UI.WebControls.Checkbox’ [...]

ASP.Net Server Controls

In January of this year I wrote a post about creating a virtual earth webpart (You can read about it here). I had done this by adding JavaScript to the page. When I was talking to one of my colleges (blog) a week ago after a team meeting he told me that there is also [...]

ASP:Menu in IE8

Since a few days I have installed Internet Explorer 8 on my computer and I was curious how it would display certain sites. Till a few hours ago everything looked nice. When navigating to an internet site we had just developed for one of our clients I noticed a strange thing. On the default page [...]