So you open EMC 2010 and you are presented with the following error : -

“The WS-Management service cannot process the request. The user load quota of 1000 requests per 2 seconds has been exceeded. Send future requests at a slower rate or raise the quota for this user. The next request from this user will not be approved for at least 2 milliseconds.”

and from power shell you receive something like the following :-

“The attempt to connect to http://servername.domain.local/powershell using Kerberos authetication failed: Connecting to remote server failed with the following error message: The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has been exceeded. Send future request at a slower rate or raise the system quota. The next request from this user will not be approve for at least 1522693632 milliseconds. For more information see the about Remote_Troubleshooting”

The resolution to this is simple, you can either restart the server or run iisreset from an evaluated command prompt.

Close EMC and reopen and you should be good to go. :-)

I’m developing a web application in asp.net and I wanted to know what the URL I was running on, for example www.domain.com.  I hate hard coding things or making assumptions.  Also when uploading to different servers, it would mean things should just work and we all like it when things actually do just work. :-)

So here’s how you do it : Request.Url.GetLeftPart(UriPartial.Authority)

Always so simply, when you know how.

 

 

taskmgr

You may of noticed on Windows Server 2012, when looking at the performance tab in task manager…. that the local disk’s are missing.   This is due to performance reasons as stated by Microsoft:-

The Disk counter has been removed from the Performance tab in Windows Server 2012.  This is because there is significant performance impact to collect Disk metrics on a Server due to the overhead Task Manager may cause in querying each Disk IO for each process/thread on individual disk.  Disk metrics are very useful while troubleshooting performance related issues on the server.  An easier way to check Disk metrics is to use Resource Monitor.

Full article here.

You can enable by opening a command prompt with elevated rights and typing the following command: diskperf -y

Close Task Manager if you have it open and relaunch  you can do this from the command line by typing taskmgr, you will now notice the disk’s have appeared.   You can disable again, by typing: diskperf -n.  Which we would recommend as it’s the default and only enable for troubleshooting.

I can’t take credit for finding this little gem, it was a colleague of mine.  :-)

 

I had an issue the other day when a user couldn’t open a image attachment within an email, when they tried to open the email, they would receive the following error:

com-surrogate-has-stopped-working

 

After Googling the error and finding solutions regarding Nero and Video Codec’s, which didn’t seem correct to me, so after doing some further digging, the issue was with the Windows Photo Viewer, I then found this article  which resolved the issue.

The resolution is to replace the Windows Photo View Files, with a working set.

1. Copy “C:\Program Files\Windows Photo Viewer” from a working or healthy PC, via USB, Network or you can download from here.

2. Open your “C:\Program Files”.

3. Rename “Windows Photo Viewer” to “Windows Photo Viewer.Broken”

4. Copy healthy “Windows Photo Viewer” folder from step 1  into “C:\Program Files”, so there will be “C:\Program Files\Windows Photo Viewer” folder with usual files.

5. Open your image, check that everything works.

6. Reboot.

7. Delete “Windows Photo Viewer.Broken” folder.

Skype is coming to Outlook.com in the UK today.   More information can be found over on the outlook.com blog. I really like outlook.com since switching from gmail a couple of weeks ago. I think this is great news.

It’s also great to see Microsoft updating it’s products more and more regularly these days and long may it continue.