Never open a Camelbak bottle filled with water in the middle of a flight

I recently flew up to Seattle for work. I drink a lot of water, and when I fly, I typically buy a bottle of water at the airport and take it on the plane so I can put on some music and pretend I’m not stuck on a plane for hours.  This time, I decided…

47

Why is my control working even though I don’t have a SafeControl entry?

This one came as a surprise to me.  Customer pushes out a master page to all their site collections using a solution and feature.  The master page has a server control that renders some information, so the control should have a SafeControl entry in the web.config file.  Oddly enough, the sites render using the master…

37

Loading C++ Assemblies in ASP.Net

When you reference a Native C++ assembly from ASP.Net you may run into the following error: System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) [FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,…

14

SharePoint My Site link stops redirecting users to their Personal Site

Hopefully this can save someone some time.  The symptoms are: Clicking the My Site link in a SharePoint site results in an IIS 404 File Not Found error page being returned.  However, you are able to browse directly to the users My Site by browsing http://mysite/personal/user.  [http://mysite is the URL to the web application hosting…

12

Overview of My SharePoint Sites and how the data is populated

SharePoint gives you the ability to get a list of sites that your login account is explicitly a member of.  This grouping of links is built on the server-side by the Profile Synchronization timer job that runs for each Web Application.  The data is stored in the SSP database and is visible in the following locations: …

11

System.InvalidOperationException: Mutex could not be created.

We’ve seen a few of these issues come through lately andwanted to get something posted so people can find it. If you created a custom account to run the process that ASP.NET is running in, you may encounter the following exception: System.InvalidOperationException: Mutex could not be created.Stack Trace: [InvalidOperationException: Mutex could not be created.]   System.Web.Compilation.CompilationMutex..ctor(String name,…

11

Users seeing other users data in ASP.NET

One of the more difficult issues to troubleshoot deal with 2 users seeing each others data when they shouldn’t be able to.  ex. User1 sees User2’s data.  Most of the time while troubleshooting, you find that the problem reproduces if two people submit the form at the same time from different machines. Steps for troubleshooting:…

10

Copying Lists with PowerShell in SharePoint 2010

While working through an upgrade issue, we had a need to move about 14 Discussion Boards to a subweb.  We initially went the old school route of saving the lists as a template, including the content, then creating lists using the templates.  The content came across, but the Created By fields were showing the user…

9

What in the User Profile Service Application is going on here?

While working with PowerShell to build out Service Applications, I managed to get my test farm into a state where I no longer had a User Profile Service Application, but the user profile timer jobs were still around.  Trying to create a new User Profile Service Application would result in the following : New-SPProfileServiceApplication :…

9