When installing SQL Server 2008, if the privilege, Debug Programs,  is not enabled for the user doing the install, the install fails un-gracefully.  You may also get a message that says ‘Access Denied’.  To set the privilege, do the following:

  1. Click: [Start] >> [Administrative Tools] >> [Local Security Policy]
  2. Navigate to: Security Settings>>Local Policies>>User Right Assignment>>Debug Programs
  3. Add the user doing the install to the list.
  4. Once you have made this change, cold boot your computer and check that the change was successful.

If you already loaded SQL Server Express or any other version of SQL Server 2008, and this check reveals that ADMIN is the only entry with the permission, you must completely un-install SQL Server Express 2008 and any other related SQL services installed along with it from control panel, by using the Add/Remove Programs, then cold boot your computer and make sure no services are left in place.

You may then re-install SQL Server with the correct  permissions.

 

I just discovered an addon to Microsoft Windows to make it really easy to type in Arabic. Install Microsoft Maren and you can type Arabic using roman characters. So for example, the words “Saba7 el 7’eir” will map to “الخير صباح” meaning good morning in Arabic. There are other alternatives such as Yamli and Google ta3reeb, but they only work in web based applications. Maren works in a number of applications, including Word.

 

We have a laptop running Windows XP and recently it started to go really slow.  I went through and looked at the processes that were running using Task Manager and got rid of the ones that were not needed.  That did not seem to solve the problem, so I downloaded ProcessExplorer.  It showed that Hardware Interrupts were using a high amount of the CPU.

Turns out ATA/IDE controllers will often revert back to PIO mode instead of Ultra-DMA.  (MS KB article on the problem here.)

To see if you have the problem, check the controller’s Primary and Secondary IDE settings: Device Manager -> IDE ATA/ATAPI controllers -> Primary or Secondary IDE Channel -> Properties -> Advanced Settings.  Look at the Current Transfer Mode field.  If it’s “PIO” then you have the wrong setting and you’ll need to uninstall the driver, reboot and let XP reinstall the driver.

After doing this, the problem went away.

 

I was working with a program which worked perfectly fine in Windows XP, but when I tried to run it in Windows 2003 Server, I got the following error:

The application failed to initialize properly (0XC0000005). Click OK to terminate the application.

This problem is generated by Microsoft’s Data execution prevention (DEP) . For more information, reference Microsoft Technet
Any application that is not registered with DEP will receive an exception with status code STATUS_ACCESS_VIOLATION (0xC0000005).

To get around the problem, follow this procedure:

The following procedure describes how to manually configure DEP on the computer:

  1. Click Start, click Control Panel, and then double-click System.
  2. Click the Advanced tab. Then, under Performance, click Settings.
  3. Click the Data Execution Prevention tab.
  4. Click Turn on DEP for essential Windows programs and services only to select the OptIn policy.
  5. Click Turn on DEP for all programs and services except those I select to select the OptOut policy.
  6. If you selected the OptOut policy, click Add and add the applications that you do not want to use DEP with.

After adding my application to the list that do not use DEP, it started working.



Get Adobe Flash playerPlugin by wpburn.com wordpress themes
© 2011 Ibrahim Shafi Suffusion theme by Sayontan Sinha