Geeks With Blogs

Tim Huffam Dotting the I and crossing the T of I.T. September 2005 Entries
Resetting DNN or asp.net membership password and password salt
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 ......

Posted On Wednesday, September 28, 2005 7:31 PM

Importing previously exported certificate for IIS
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) ......

Posted On Tuesday, September 27, 2005 12:47 PM

Cannot open the file: mk:@MKITStore:C:\Program Files\MySQL\MySQL Server 4.1\Docs\manual.chm

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

Posted On Thursday, September 22, 2005 7:48 PM

Uninstall IE 7
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 ......

Posted On Friday, September 16, 2005 12:14 PM

Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
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 ......

Posted On Wednesday, September 14, 2005 8:52 AM

The Web server reported the following error when attempting to create or open the Web project located at the following URL: '...'. 'A certificate is required to complete the client authentication'.
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 ......

Posted On Thursday, September 8, 2005 2:24 PM

Unable to open Web Project '...'. The file path '...' does not correspond to the URL '...'. The two need to map to the same server location. HTTP Error 403: Access Forbidden
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 ......

Posted On Thursday, September 8, 2005 12:16 PM

HTTP 500 - Internal server error: - how to show more details of the actual error

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:

  1. Within IE select Tools - Options
  2. Select the Advanced tab
  3. Make sure the 'Show friendly HTTP error messages' option is unchecked.

 

HTH

Tim

Posted On Thursday, September 1, 2005 6:14 AM

Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net