-
Removing password complexity from ASP.NET 2.0
The first thing you start with, when building an ASP.NET application, is properly to use the ASP.NET login controls. They are really easy to use, and save you a bundle of time. Unfortunately the password by default always has to be to complex. At least 7 charecters, at least 1 non alphanumeric character, etc. etc..… Continue reading
-
MSSQL server installation
When I was trying to install MS SQL server 2005 today, I got the following error. sql server setup failed to obtain system account information for the asp.net account. It turned out to be caused by the classical problem, that you get, when you install the IIS before the .NET framework. It can be solved… Continue reading
-
What week is it?
I noticed many people are using the weeks, as a way of describing time. I have never used weeks, so I never know where to look up what date, a week is. I have always thought that it would be easy to make a program in .NET that do the work for me, and it… Continue reading
-
New job
Long time no see. It’s been a long time since my last post. That is partly due to my new job. I just changed workplace from one of the biggest software companies in Scandinavia, to a little software consulting company with 18 employees. My short-sighted plan with this blog, was actually to write about my… Continue reading
-
Impersonating administrator
Developing to sharepoint 2003, you often need to access data, that only an administrator has access to. To do that in code, you need to impersonate an administrator. The classic solution looks like this. Add the following code to your project: private WindowsImpersonationContext ctx = null; public void UseAppPoolIdentity(){ try{ if (!WindowsIdentity.GetCurrent().IsSystem){… Continue reading
-
Show webparts for all users
To my big surprise, sharepoint users, who are only members of custom site groups, can’t see all webparts. This is apparently because the webpart gallery is stored in a list, and the list doesn’t inherit security for the portal. To enable all users to see all webparts, edit the webpart gallery list, so it inherits… Continue reading
-
Embed media players in your website
In the process of creating a web based media centre, I need to be able to play media in a website. It is surprisingly easy with activeX components, and much easier than using the difrent players in a window based application. If you want to use MS media player in your web site, paste in… Continue reading
-
Removing saved windows passwords
Working with sharepoint 2003, you often have to test functionality for different users. Doing so, you will have to remove the saved window password (That is, if you have accepted to save it). The idea with windows remembering user credentials is that when you are logged into windows, you shouldn’t have to remember user credentials… Continue reading
-
New blog
Hello, and welcome to my blog. You can read what it is all about, in the about section. But for now, it will be mostly sharepoint 2003, since that is what I am working with at the moment 🙂 Developing to sharepint 2003 can at times be a challenging task, since it lacks documentation, and… Continue reading