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

September 2005 Entries

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

To import a previously exported certificate (.pfx file) 1) Open MMC console for managing certificates. If you do not have a console shortcut (.msc) setup then: Add MMC snap-in for certificates: 1.1) Start - Run - enter: mmc 1.2) Within MMC console, select File - Add/Remove Snap-in 1.3) Click Add… 1.4) Select Certificates in list and click Add 1.5) Select Computer account 1.6) Click Next, then Finish 1.7) Once you're back at the MMC console you can save this console setting to a .msc file. 2)...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

What a pile of b-grade sh*t - you download & install a fresh install of mysql... then open the manual to get this message. So I try downloading a new copy from the mysql web site - under Documentation (duh)... this time the help file loads... and shows the table of contents.. but no details (Page cannot be found error). Hell, even the old v3 versions had help files that worked - what a pile of sh*t - no wonder it's free :-p t
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Those of you wanting to know how to remove this annoying version on IE - click here. However, if you are as unfortunate as myself, and have had another user has install it (IE 7 beta) on your PC, then you will get this error: "Internet Explorer 7 Beta 1 cannot be uninstalled from this user account. Please log on to the same user account from which it was installed and try again." Even if you belong to the local administrators group. Brilliant! *** Update: For those of you wanting a far superior browser...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

When trying to run/debug my ASP.Net web app from VS.NET (2003) I get this error: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged. This was caused because I had renamed the virtual dir that the project resides in - and because of this IIS had decided to revert the dir from an application to a dir. To resolve simply make it an app again via the IIS Management tool: Within the IIS management tool, select your virtual dir. Right-click...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

If your ASP.NET app requires a client certificates (in my case in an HTTP Module doing authentication) then you will get this error when you first open the project within VS.NET (2003): The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://iblongsw70991.gb.ad... 'A certificate is required to complete the client authentication'. This seems to be a bug with VS.NET - the workaround is to click OK to the error...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

I got this error (and serveral variations of it while trying to fix it) when trying to open an ASP.NET (.Net 1.1) web app in VS.NET (2003) (on an XP Pro box): Unable to open Web Project 'TestW'. The file path 'C:\inetpub\wwwroot\TestW' does not correspond to the URL 'http://Localhost:/TestW'. The two need to map to the same server location. HTTP Error 403: Access Forbidden This was caused by two problems: I had added a certificate to the server (IIS 5) - and the cert specified my full machine domain...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

If you get http error 500 it is often caused because your app (in our case an ASP.NET app) has shit itself. To see more details of the actual error, within IE, you can turn off 'friendly' http errors: Within IE select Tools - Options Select the Advanced tab Make sure the 'Show friendly HTTP error messages' option is unchecked. HTH Tim
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati