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

none
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/

2 com
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.

2 com
1
Digg me

To find out Windows Server Name using IP

Goto Command Prompt (Start > Run > cmd>

C:> nbtstat -A  <<ip address>>

(remember upper case A)

Note (added on mar 31st)

this works on all versions of windows

http://www.computerhope.com/nbtstat.htm

2 com
0
Digg me

Created a quick HTML page to find the font size mapping between various units (em, px, pt)

The font size looks uniform  in FF 3 and Chrome. (Images attached)

Font Size Comparison Table

Font Size Comparison Table

In IE.. you see it by yourself.

none
2
Digg me

IE8 Beta 2 and Asp.net Menu Control rendering issues

If your code works on IE 6,7 and Firefox even on chrome it may not work on IE8. The reason being Microsoft suddenly woke up and started to be strict with design and style standards.

For styles not working the way it should or DHTML not appearing on screen the problem is inline styling. IE 8 doesnt parse the code if its inline styling.

So the simple fix is move all the style=” “  to stylesheet class

This is better way to clean your code too.

6 com
2
Digg me

I found this Freebie (not great interface though) which helped me to cleanup my stylesheet.

http://www.dotnetsurfers.com/Blog/ct.ashx?id=5eb69d72-b844-412a-9da2-ac8f21b5a714&url=http%3a%2f%2fwww.dotnetsurfers.com%2futils%2fcsscleaner.zip

Word of caution

By default this looks for .aspx,.ascx,.master files.

So before removing the unused class, please search the entire solution to make sure you haven’t used them in code behind files.

object.cssclass = “cssclassname”

Happy Style Cleaning !

none
1
Digg me

When your project becomes big, deployment becomes very very painful.

If you are copying files manually from Development to Testing and from Testing to Production Server(s) its a nightmare.

I tried the setup project and it was time consuming to configure and make sure you have added all the related references for testing and production.

Finally went to good old DOS command (xCopy – suggested by Microsoft). Initially I was skeptical as it will copy the entire folder structure from development to testing or Production.

After reading more about xCopy realised it has very bunch of handy parameters which does our job exactly the way we wanted it to do.

Create A .bat file say Dev2Test.bat Click here to download file

1. @ECHO OFF
2. CLS
3. REM /S : Subdirectories
4. REM /Q : Quiet Donot display Filenames
5. REM /R : Overwrites Read Only File
6. REM /Y : Supress Prompting When Overwriting Existing File
7. REM /I : If Destination doesn’t Exist and copying more than One File, its assumed as DIRECTORY.

8. ECHO ‘Processing Local 2 Testing : Complete’
9. ECHO ‘Make sure Testing Server Directory is Mapped as Y:’
10. net use Y: \\yourserver.address

11. ECHO ‘Copying Local To Testing Directory… Please wait …….’

12. XCOPY C:\ProjectFolder Y:\ProjectFolder  /S /Q /R /Y /I  /EXCLUDE:ExcludeList.txt

13. ECHO ‘* * * * * * Copying Completed * * * * * * * *’
14. PAUSE

Lines 1 – 11 are self explanatory

Line 12 is the one which does the Magic

/Exclude:ExcludeList.txt Click here to download

contains all the extensions and folders which you want to exclude while copying.

One entry per line.

In my Excludelist.txt I have excluded the following files and folders.

.vb  - Code
.scc  - Visual Source Safe
.user  - Visual Source Safe
.vspscc  - Visual Source Safe
.resx  - Resource
.suo  - Visual Source Safe
.config  - web.config file (as it could be different for each environment)
.xml  - If you use GhostDoc for documentation
.sln  - Solution File
.vssscc  - Visual Source Safe
.pdb  - Gets created along with DLL (for production you dont need this)
.myapp  - Visual Studio File
.settings  - Visual Studio File
\My Project - Visual Studio Folder
\obj  - VS Folder
\bin  - As Visual Studio creates \bin for every subproject you create, I want to exclude this too.

I also have another Batch file which copies only the main Bin folder from Development to Testing / Production.

If you use XML Files, or Config Files then separate Batch files will be useful so that things dont get messed up.

none
5
Digg me

In a multi user environment you may see this message when other users forget to disconnect their connection.

To override this problem, you can use the following command from command prompt

START > RUN > mstsc /console

(some services may fail when you login this way.)

After logging in, goto Terminal Services and delete/remove the idle sessions.

Logoff and then connect the normal way.

one
0
Digg me

This is popular question asked in many tech forums / QA pages.

Simplest way to turn Off the Right Click is

Add the atttibute   onContextMenu = “return false”

Ex :

<body onContextMenu=”return false”>

Tested this on

IE 5.0 and above / Firefox 2.0 and above.

PS: This doesn’t alert users with any warning or error messages when they right click. By warning them we dont want to rub their ego to find a solution.

none

Archives

Tags