Chrome 25 Slow Over RDP

February 25th, 2013 No comments

After installing Chrome 25 on my laptop (Win 7 x64) that I access over RDP, I noticed a significant browser performance degradation. Just clicking on the “Customise and control Google Chrome” would respond in about a few seconds.

Googled and found a couple of options that totally solved the problem.

1. Top RDP Enhancement Tweak – MinSendInterval. Make sure to set the value to 10 as decimal not hex

2. Navigate to chrome://flags/ and set “GPU compositing on all pages” to “Disabled”

Chrome_GPU_Composing_Setting

Here’s more info on RDP tuning.

After all this Chrome now  flies over RDP.

Categories: SysAdmin Tags:

Windows 7 Explorer Refresh Bug

December 23rd, 2010 2 comments

Yes, I got “bitten” by this bug too ;)

If you google for “Windows 7 Explorer Refresh Bug”, you’ll get the picture. The problem seems to be very wide-spread. I, too, read many posts and tried different suggested solutions. In my case they just did not help.

The way I solved this issue on my PC (Windows 7 x64 Professional) was by deleting “Network Location” entries to places that are no longer accessible.

On the above picture you can see that at some point I added two Network Location items to shares on the machine with IP address 192.168.2.3, the machine was on line at the time. Later, this machine went off-line and this caused Explorer not to refresh itself when folders were modified – created, deleted or re-named.

After I deleted the inaccessible locations, logged off and logged in, the problem got resolved.

Hope it will help somebody else.

Categories: SysAdmin Tags:

The Components Required to Enumerate Web References Are Not Installed

December 20th, 2010 1 comment

I think that if you spend enough time writing code in Visual Studio, sooner or later you will come across this error.

vs-error

I got this error after changing WCF reference configuration to include generation of asynchronous methods

config-wcf-reg-dlg

Next time I went to update references, the error pops up. Cleaning up the solution or deleting all temp files VS creates did not help. What actually solved this problem was starting IDE at the command prompt with ResetSkipPkgs switch like so:

devenv /ResetSkipPkgs
Categories: Visual Studio Tags:

Page_Load Even Fired Twice in Google Chrome

May 9th, 2010 No comments

I came across this issue on a fairly complex page – user controls added dynamically, UpdatePanels, plenty of AJAX… etc.

It was one of the suggestions from StackOverflow that helped me solve this problem. In my case additional Page events firing twice was due to blank values for the “src” property of one of the “img” elements in resulting HTML mark-up.

Categories: Client Side Tags:

Network Authentication Level for RDP in XP SP3

April 1st, 2010 No comments

When you try to use RDP and get an error saying that “Network Authentication Level  is not supported by your computer”, enable CredSSP by following this KB http://support.microsoft.com/kb/951608/

Thanks go to SoonerAl and his post on dslreports site that I hit when searching for a solution.

Categories: SysAdmin Tags:

Setting Up IIS on Windows 7

March 24th, 2010 No comments

This is a “must-read” article that helped me understand how to set directory permissions when using new “pass-through authentication” Application Pool Identities.

The most important part from my point of view was finding the name of the account used by an App Pool
which is  – “IIS AppPool\DefaultAppPool“.

You will need to change “DefaultAppPool” to the name of the appropriate application pool.

Categories: IIS 7 Tags:

Windows 7 – Limit for Nonpaged Pool Allocations Error 2017

March 21st, 2010 1 comment

I was syncing some data between my main machine Server 2003 x64 and Windows 7 x64 on my laptop using SyncBackSE. After the sync finished the log displayed plenty of errors. I checked Windows 7 event log – quite a few errors

“The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.”

SyncBackSE, the program I use, was just copying my Dev directory to Win 7 laptop, yet Win 7 seemed to be “choking”.

A quick search brought me to a good post describing that Win 7 “needs to be told that it can act as a server” by changing a Registry setting.

http://alan.lamielle.net/2009/09/03/windows-7-nonpaged-pool-srv-error-2017

I think the author was too nice ;) Win 7 acts as a server out of the box, after all it allows you to share its resources. Perhaps in the pursuit for more “efficient” OS, the OS vendor decided to reduce the amount of resources allocated to “real needs” in favour of allocating them to “fancy things” like “aero desktop” and some media features?

Categories: SysAdmin Tags:

VMware 6.0 on Linux Memory Allocation Issue

August 21st, 2008 No comments

This is just a quick note to let you know that Linux version of VMware 6.0 will not give you a warning message when you set a size of memory for a virtual machine higher than what your host has installed.

So, when you start that virtual machine

  • your host Linux OS will get hung
  • your vm will show “Unable to load profile …” error (assuming it runs Windows OS)
  • and you probably will have to “cold-boot” your box

What led me to this outrageous experiment was the fact that Gnome Monitor was not showing reduction in RAM when I was running a virtual machine. Initially I thought that VMware was not using the host’s RAM at all creating a large page file instead. So, I bumped up the vm RAM beyond the physical RAM on host and it soon showed up.

Thanks for reading.

Categories: Linux Tags:

The Project Location Is Not Trusted

September 8th, 2007 No comments

Like many other developers I came across this problem when running projects from network shares. Unfortunately following MSDN solution did not solve the problem for me :(

However, Chris Dunaway (a member of MSDN Forums), posted this caspol line that worked just fine

caspol -m -ag All_Code -url file://server/share/* FullTrust -n SecurityGroupName

MSDN solution adds a new code group as a child of LocalIntranet_Zone, so this didn’t work for me. However, the line above adds a new code group to All_Code node and this I believe fixed the problem.

Now, whether I open a solution from a UNC path or a mapped network drive of the added file://server/share/* path, I have no  “The Project Location Is Not Trusted” warning.

PS
I was using VS2005 SP1 running on Vista Bussines Edition

Categories: Visual Studio Tags:

SqlCacheDependency and CommandNotification Rule

August 23rd, 2007 No comments

Continuing with my study using AppDev.com course, I feel compelled to mention two crucial steps in setting up “Query Notification” when using database caching techniques. I spent almost two days trying to get this techique to work! Thanks to AppDev it works now.

After adding

<%@ OutputCache SqlDependency="CommandNotification" Duration="9999999" VaryByParam="None" %>

there are two things that we must get right for this setup to work:

1. Establishing the target table and writing a correct query, as outlined in this MSDN article.

2. Configuring Service Broker as listed below

USE YourDatabaseName;

– Ensure compatibility with SQL Server 2005
EXECUTE sp_dbcmptlevel ‘Northwind’,90;

– Enable Service Broker
IF NOT EXISTS (SELECT * FROM sys.databases
WHERE name = YourDatabaseName AND is_broker_enabled = 1)
BEGIN
ALTER DATABASE Northwind SET ENABLE_BROKER
WITH ROLLBACK AFTER 5 SECONDS;
– Set Trustworthy
ALTER DATABASE Northwind SET TRUSTWORTHY ON;
END;
GO

– Create an encryption key for Service Broker
IF NOT EXISTS
(SELECT * FROM sys.symmetric_keys
WHERE symmetric_key_id = 101)
CREATE MASTER KEY ENCRYPTION BY PASSWORD = N‘t0psecret’;
GO

– Create a Service Broker endpoint
CREATE ENDPOINT BrokerEndpoint
STATE = STARTED
AS TCP ( LISTENER_PORT = 4037 )
FOR SERVICE_BROKER ( AUTHENTICATION = WINDOWS );
GO

select * from sys.dm_qn_subscriptions

It’s easy when you know ;)

Categories: Asp.Net Tags:
highslide for wordpress