Tips and Tricks in a world of Mix

Archive for March, 2011

HttpContext.Current.User.Identity.Name is Empty

OS: windows 7 x64 bit

IIS: 7.5

run –> inetmgr –> click your website –> enter in features view Authentication –>




Enable Windows Authentication

Disable Anonymous Authentication


Pay attention that you did this definitions on your website specificly!!

Another solution is to add to web.config in the system.web section:

<authentication mode="Windows" />

   <deny users="?"/>


Now you”l get your Identity back!


(if you don’t have the right Authentication options then :

Turn Windows features on or off





Turn Windows features on or off  –> IIS –> WWWS –> Security –> Basic, Digest and Windows.


At the end restart your machine for the changes to take effect.

Now do the beginning of the post. )


The (SAMAccountName=) search filter is invalid

Starting a website got this error.



It means that Authentication level in IIS is not the right one .

It also means that probably you didn’t add all the needed features to IIS.

go to :

Start –> Control Panel –> Programs –>


HTTP Error 404.17 – Not Found (404.3) – Asp.Net mime types missing

OS: Windows 7 x64 bit

IIS : 7.5

You are opening your web site and there it is :


It’s coming with enigmatic messages like this :


So , if take a closer look , the only world that matters here is the “MIME” – that means that some handler of the pages you want to show is not installed properly on your IIS.

I was only trying to show


The web server process that was being debugged has been terminated

OS: Windows 7

IIS : 7.5

When you are starting to fall every 1.5 minute with a message

“The web server process that was being debugged has been terminated by Internet Information Services (IIS).  This can be avoided by configuring Application Pool ping settings in IIS.  See help for further details.”


It means that you need to configure the App Pool:

run –> inetmgr –> enter –> click on App Pool  -> right-click on App –> set Application Pool Defaults –> just change everything with (seconds) to 900 instead of 90.




It works!

Officejet 6500 & Windows 7 x64 bit – Printer setup fails to complete.

Printer: HP Officejet Pro 6500 All-in-One

OS: Windows 7 Enterprise (64-bit)

Driver Filename: OJ6500vE709_Full_14.exe

Wireless Network: DHCP Static IP assigned via MAC

Security: WPA with allowed MAC list

Problem: Detects Printer, but won’t install.

Note: Can add and use the printer with the default Windows 7 driver using the built in Windows 7 wizard.

Unacceptable Solutions: Using the built in Windows 7 driver and wizard or calling HP support.

Requested Solution: Install the supplied HP driver using their wizard?

Trouble Shooting Attempted: As per the Additional Information on the download page.  These steps failed.
If you encountered "Printer setup has failed to complete" error prompt, please do the following:

  1. Click "Next" to proceed with the software installation
  2. An "add a device" icon will be displayed on the desktop
  3. Go to MS Windows 7\Control Panel\Hardware and Sound\Devices and Printers folder
  4. Right click on the printer icon and click on "Remove device"
  5. Click "Yes" to confirm remove device
  6. Select/Highlight any of the Printer and Faxes icon, and select "Print server properties".
  7. Go to the drivers tab, select HP Officejet Pro 6500  Series and click "Remove"
  8. Select "Remove driver and driver package"
  9. Go to the desktop and click on the "add a device" shortcut to complete the software installation

Note: I would’ve put this in the Windows 7 & Printer forum, but I can’t post there….

1. Launch the ‘Add a Device – Officejet Pro 6500  Series’ shortcut.

Microsoft.Web.UI.WebControls.DLL missing !

New place , new computer , new errors !

Downloaded working project from TFS and got a big fat error.

Searched all over .. (more…)

The Northwind and pubs sample databases into Sql Server 2008

Download the databases


Install the msi file.

The DB-es are installed in your C:\SQL Server 2000 Sample Databases

You can either move the MDF files to Sql Server 2008 DB Directory , or use it from the original installation folder. C:\SQL Server 2000 Sample Databases

Enter Management Studio


Right Click on Databases and Attach..


Press Ok and Ok .

Do it with each MDF you want to use and you’re done .

Tag Cloud

%d bloggers like this: