When you first start off trying to solve a problem, the first solutions you come up with are very complex, and most people stop there. But if you keep going, and live with the problem and peel more layers of the onion off, you can often times arrive at some very elegant and simple solutions.
– Steve Jobs, 2006
They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.
– Benjamin Franklin, 1775
Homines, dum docent, discunt.
Category Archives: Work
Here is an easy reference for how to get different parts of an URL in C#. I’ve color-coded the example URL below for easier matching with the values of the properties of the HttpRequest. URL used for this example: http://localhost:12345/site/page.aspx?q1=1&q2=2 … Continue reading
When trying to edit a list from site manager in my SharePoint 2007 environment I got the following error: File Not Found. at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, … Continue reading
Seems like Apple broke pppd with one of the latest patches to OSX. My SonicWALL NetExtender stopped connecting unless run as root. The error i got was: FATAL: An immediately fatal error of some kind occurred, such as an essential … Continue reading
Today, my Biztalk ran wild and initiated a bunch of Commerce Server catalog import operations. While trying to find a way to abort all of those I came across the CatalogStatus table in the product catalog database. According to MSDN this … Continue reading
Just a quick note, mostly for myself: the following error at sitemanager.aspx depends on view state not being active. The language setting is unfortunately Swedish, so I doubt this will help anyone… Webbplatshanteraren: ObjectList ObjectList1 är i ett okänt tillstånd. … Continue reading
Just a short post this time: if you experience symptoms like: no one able to edit anything on a MOSS site weird permission denied errors for admins buttons in the GUI disappearing then maybe your MOSS site got into read-only … Continue reading
A small script to quickly restore a Sharepoint 2007 content database from backup: USE master GO ALTER DATABASE SITE_WSS_Content SET SINGLE_USER WITH ROLLBACK AFTER 5 GO RESTORE DATABASE SITE_WSS_Content FROM DISK = 'path_to_backup\SITE_WSS_Content_backup_201201122000.bak' WITH REPLACE GO ALTER DATABASE SITE_WSS_Content SET … Continue reading
This is how to do this: Open a command prompt, change to your Visual Studio 2010 dir (usually “c:\Program Files\Microsoft Visual Studio 10.0\Common 7\IDE”). Execute this command replacing 123 with your work item id and the http://tfs01:8080/tfs/DefaultCollection with your TFS … Continue reading
The DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER ierror can sometimes be resolved by verifying that the called stored procedure exists and that the executing user account has access to it. Thank you Microsoft for inventing world’s longest constant name and thus screwing up my WordPress … Continue reading