Archive : Tips and Tricks

Visual Studio Debug Problem with IE8

1
Digg me

Thanks to  : Abdulla AbdelHaq
Source : http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx
 
How VS debugger could be crashed with IE8?
If you opened multiple instances of IE8 and you attempt to debug your project, you mostly will have the issue where VS debugger just stops and ignores your break points!
Why was that?
Well, IE 8 has a feature called Loosely-Coupled Internet Explorer (LCIE) which results in IE running across multiple processes. 
http://www.microsoft.com/windows/internet-explorer/beta/readiness/developers-existing.aspx#lcie
Older versions of the Visual Studio Debugger get confused by this and cannot figure out how to attach to the correct process. 
To overcome this issue, you need to disable the process growth feature of LCIE by follow the below steps:
1)  Open RegEdit
2)  Browse to HKEY_LOCALMACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
3)  Add a dword under this key called TabProcGrowth
4)  Set TabProcGrowth to 0
 If you run into the same problem on Vista or newer, you will also need to turn off protected mode.
And then go a head and start debugging your code.

Outlook Cached Exchange Mode

1
Digg me

When a new email address or Distribution list is created, the email address or distribution list may not be visible in Outlook.

Its because Outlook may be running in Cached mode.

Tools  > Options > Mail Setup
 
Click on Email Accounts
 
Double click your Email Account
 
UnCheck Use Cached Exchange Mode box
 
Click Next
 
Click Close
 
Open New Email, try the new email address to verify its seen.

Follow the same steps and Check the box to Use the Cached Exchange Mode.

Read more on benefits of using Cached Exchange Mode

Manage Terminal Services Session

2
Digg me

To Manage Terminal Services Session first

Query the Server 192.168.2.5

c:\>qwinsta /server:192.168.2.5

SESSIONNAME
USERNAME
ID
STATE
TYPE
DEVICE

console
 
0
Conn
wdcon

rdp-tcp
 
65536
Listen
rdpwd
 

rdp-tcp#470
user1
1
Active
rdpwd
 

rdp-tcp#471
user2
3
Active
rdpwd
 

                                                    
To remove User1, issue the following command

c:>rwindsta /server:192.168.2.5 1

More info..

http://www.notes411.com/dominosource/tips.nsf/0/2913BC501C9F874D802571AA004E9580!opendocument

http://weblogs.asp.net/owscott/archive/2003/12/30/46776.aspx

Related Post : Too Many Users Connected

http://www.gchandra.com/scripts/index.php/2008/07/20/windows-remote-desktop-too-many-users-connected-rdp/

Unable to instantiate XML DOM document : SSIS 2005

0
Digg me

SSIS 2005 Business Intelligence
Unable to instantiate XML DOM document, please verify that MSXML binaries are properly installed and registered.
 Other variations are  Failed to save package file “.dtsx” with error 0x8002801D “Library not registered.”

The reason you see this error is because MSXML got corrupted.

The fix is

1. Close Studio / Business Intelligence

2. Download Latest MSXML 4.0 (sp3)  as of today.

3. Install it. Done

2a. Some cases you may need to install MSXML 6.0.