Friday, March 30, 2012

Assembly Cache Viewer - Install Failed - Server 2008 GAC

q: when we try to copy a .dll file into the GAC on Server 2008, we get an error.  Assembly Cache Viewer - Install Failed  / Access is denied:



a: With UAC enabled, the fastest and easiest way to install a .dll file into the Windows Server 2008 GAC is:

  1. log out.  Log back in using the actual local administrator account.
  2. open two copies of Windows Explorer (one at the location of the dll) and (one at c:\windows\assembly) 
  3. drag the file from one window to the other.

Thursday, March 22, 2012

Windows XP goes into standby when no one is logged in

q:  Issue reported that a Windows XP Desktop continues to run while a user is logged in, active or not.  But if they system is rebooted, or the user logs out, it goes into standby after 15min.

a:  This is an issue of Power registry settings associated with the default user

  • Open the Registry (regedit)
  • navigate to HKEY_USERS\.DEFAULT\Control Panel\PowerCfg
  • Notice the value of CurrentPowerPolicy = 1
  • Expand PowerCfg\PowerPolicies and select 1 - notice the name is "Portable/Laptop"
  • Navigate to PowerCfg\PowerPolicies and select 3 - notice the name is "Always On"
  • Navigate back up to PowerCfg and change CurrentPowerPolicy from 1 to 3 
  • Reboot

Saturday, March 17, 2012

Vista Desktop reports issues with Internet Explorer

q: Why does our newly re-built Vista Desktop report issues with Internet explorer:

  • Internet Explorer cannot open the Internet site http://<Web site>.com. Operation aborted.

a: Microsoft says it is because of issues with IE7.  Simply upgrade to IE8 and it will go away.

  • http://support.microsoft.com/kb/927917
  • This problem occurs because a child container HTML element contains script that tries to modify the parent container element of the child container. The script tries to modify the parent container element by using either the innerHTML method or the appendChild method.
  • Note: Chances are, if you're still using IE7 you need considerably more updates than just IE8 so run Windows Updates repeatedly until it says you're up to date.

Wednesday, March 7, 2012

LDAP DN Path to an OU in Active Directory



Q: I need the LDAP DN path to an Organizational Unit in Active Directory where I have objects stored.

A: Try this:
  1. run ldp
  2. click connection / connect 
  3. Server: <hostname of a domain controller> / OK
  4. Click connection / Bind
  5. Leave the default of (X) Bind as currently logged on user selected / OK
  6. Click View / Tree / BaseDN: <leave blank> / OK
  7. Expand the root of the tree
  8. navigate to the OU that contains the objects you need
  9. Right click on that Object in the left pane and select Copy DN
  10. OU=Employees,OU=HQ,DC=mycompany,DC=local

Monday, March 5, 2012

Display ADFS 2.0 Forms Authentication Login Page Instead of Windows Authentication Prompt

Q: At the direction of Microsoft Support, we recently implemented Claims Based Authentication via ADFS in front of our CRM 2011 server. However, now when we try to use ADFS for our SharePoint instance, even after following the SAML Provider articles, we are still prompted with an Integrated Authentication popup message. And in Chrome we are unable to authenticate to SharePoint using this popup authentication window. A: Oh man - Richard Wilson is the hero for today. He wrote this very very simple article showing you how to re-order the authentication types and TADA. Thanks Rick! http://www.richardawilson.com/2010/10/adfs-20-login-page.html