Human in the cloud...
Browse by Tags
Tagged Content List
Viewing the User Token from Visual Studio 2010 Debugger
When you’re debugging security related things, sometimes you need to take a look at the thread identities user token. When you’re inside of Visual Studio 2010 – in the watch windows you enter ‘$user’ and you’ll get the same as when in windbg with !token –n
6 Dec 2011
MiniProfiler– A simple but effective mini-profiler for ASP.NET MVC and ASP.NET.
Once in a while a good tool that I find out about that helps me developing solutions comes in real handy. MiniProfiler is one of those tools. Developed by the StackOverflow folks it’s available in source or binary, and NuGet packages Take a look http://code.google.com/p/mvc-mini-profiler/ http...
18 Sep 2011
Hosted Service as a Windows Azure CDN Origin Tips
The Windows Azure Content Delivery Network (CDN) helps improve the solution experience by putting content closer to the end-user, enhances availability, geo-distribution, scalability, lower latency delivery, and performance. If that’s the goal we want to be sure that when we instantiate the source of...
10 Jul 2011
Who needs reflector? ILSpy to the rescue..
Reflector has been invaluable over the years. I’m torn about the idea it’s become a paid for tool, and by all means folks should be compensated for great work. Not sure where Lutz is in the cash flow. But, the ICSharpCode guys have released ILSpy at www.ILSpy.com ( http://wiki.sharpdevelop...
5 May 2011
Getting Office Web Apps to run on a Domain controller - AppServerHost.exe
I recall we had a similar issue when running document conversion services. If you’re attempting Word or PowerPoint viewing and you see errors in the event log regarding AppServerHost.exe – you need to enable non-sandboxing. http://blogs.msdn.com/b/opal/archive/2010/04/25/faq-sharepoint-2010-rtm...
14 Apr 2011
Differences when Running with OutputCache managed module under ASP.NET IIS7.x with Cache-control header
This post is to report some differences when using MVC or IHttpHandlers if you’re attempting to set the Cache-control : max-age or s-maxage value under IIS7.x using the HttpResponse.Cache methods. [UPDATE]: 2011-3-14 – The missing piece was calling Response.Cache.SetSlidingExpiration(true) as follows...
14 Mar 2011
AD FS 2.0: Troubleshooting Event 364 and ThrowExceptionForHRInternal / NullReferenceException
Ran into a situation today where after AD FS federation server was installed, configured and up & running, “all of a sudden” it stopped working. Turned out that another installer that affected the default web site, also seemingly affected the AppPools associated to all Applications under the...
4 Mar 2011
Azure VS Tools and SDK - systray already running…
If you are getting a message when you start the Compute Emulator “Systray already running…” from within Visual Studio one fix is to check what the image name is loading is. For some reason, on 2 of my machines the image was loading with the 8.3 format. This caused the logic in the VS tools to not...
2 Mar 2011
Visual Studio 2010 Setup Projects and x64 Support
I was taking the Windows Azure CmdLets project and getting it into an MSI just to make it easier to deploy in a nice package. I ran into problems with the Setup project not being able to properly establish the right registry settings for an x64 environment. Even though you set the target platform...
21 Dec 2010
Capturing Feedback in IE9
IE9 adds a nice feature - “Send Feedback” – which, helps you gather a report, even launches the “Problem Step Recorder” (PSR) tool that comes with Windows 7/2008R2 ***. The PSR tool is also usable outside of this feedback and is an optional capture that can be added to the feedback report...
17 Sep 2010
Making Web Client requests behave from .NET or in reality misbehave – ignoring Certificate Issues from HttpWebRequest
Many times, especially during development, you could have certificates that are out of date, aren’t singed by any real authority (makecert, etc.), or even don’t match the host name that the request is issued against, but you want to test, etc. One example is if you want to run Fiddler to get a good over...
5 Sep 2010
Can’t see the AppFabric Directory on x64 systems…
This is one I have to jot down. If you’re using tools like Reflector, or just want to open up any of the files in the c:\windows\system32\AppFabric directory, you’ll run into some issues – like, the tool that you’re using complaining that “can’t find c:\windows\system32\appfabric…” errors. On x64...
25 Jun 2010
Hyper-V Update List for Windows Server 2008 R2
Anytime you’re running the Hyper-V role, is a good place to check for any updates that may be affecting either performance or basic troubleshooting. Hyper-V Update List for Windows Server 2008 R2
19 Jun 2010
Spaces in type attribute for Behavior Extension Configuration Issues
If you’ve deployed your WCF Behavior Extension, and you get a Configuration Error, it might just be you’re lacking a space between your “Type” name and the “Assembly” name. You'll get the following error message: Verify that the extension is registered in the extension collection at system.serviceModel...
10 Jun 2010
AppFabric – where are all the monitoring events?
When you’ve just gone through a setup of AppFabric and you’ve got some WF/WCF things happening, if you start looking at the Dashboard and you see nothing, it might be as simple as restarting SQL Agent. I generally don’t reboot my system for several days and after installing AppFabric the SQL Agent jobs...
10 Jun 2010
Fixing my SQL Directory NTFS ACLS
I run my development server by boot to VHD (Windows Server 2008 R2 x64). In that instance, I also have an attached VHD (I attach via script at boot up time using Task Scheduler). That VHD I have my SQL instances installed. So, the other day, acting hasty, I chmod my ACLS – wow, what a day...
12 Mar 2010
No, your local admin account is NOT a SQL sysadmin – automatically
There have been many times that I’ve been handed a SQL instance that doesn’t allow me to do much with it even though the IT Admin for the machine have indicated they’ve done the install and your AD account is part of the Local Admin group. By default, in SQL 2008 local admin’s are not part of the sysadmin...
25 Jan 2010
Don’t get caught with long Account Names!!
This has bitten me a couple of times. This error surfaced yesterday when running a scripted install with psconfig.exe – the error that appears in the log is: LookupAccountName failed to get the SID for account <domain>\LONG AC NAME > 20 chars When setting up SharePoint, we usually have...
7 Jan 2010
Make sure you copy the correct web.config…
During an installation issue, a client followed the TechNet article ( http://technet.microsoft.com/en-us/library/cc298447.aspx ) and those instructions are misleading. It indicates to copy the “web.config” to the Layouts directory – what if fails to specify is it should be the “layoutsweb.config” file...
16 Dec 2009
Page 1 of 1 (19 items)
© 2014 Microsoft Corporation.
Privacy & Cookies