Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  152 Posts | 0 Stories | 2310 Comments | 653 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

DotNetNuke (DNN)

Talk about shooting yourself in the foot. This once ok system has finally gone just one step too far - in the direction of the smelly stuff. What used to be a stroll in the park to install is now walk through a mine field. The latest version 4.3.4 promises to be great - but infortunately it shoots you down before entering the building. They may as well put a bunch of viruses in their downloads area. Finding answers to the many many different errors is a rewardless task. After finally resorting to...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

public string HTMLEncodeSpecialChars(string text){ System.Text.StringBuilder sb = new System.Text.StringBuilder(); foreach (char c in text){ if(c>127) // special chars sb.Append(String.Format("&a... else sb.Append(c); } return sb.ToString();}...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

This error occurs within IIS 6 when you try to start your web site and it has not been assigned to a valid application pool. This usually happens when the default app pool has been deleted. HTH Tim
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Check out these babies. Bloody marvellous!
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

If you're a plonker like me and have forgotten a password, you have 2 options: Call the 'aspnet_Membership_ResetPas... sproc. Simply update the aspnet_membership table manually by copying the password and passwordSalt column values from another user (whose password you know). Here's some code I used: declare @u uniqueidentifierset @u = (select userid from aspnet_users where username = 'userwhosepswdyouknow') UPDATE aspnet_MembershipSET [Password] = (select password from aspnet_membership where...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati