Shawn Cicoria

Human in the cloud...

Browse by Tags

Tagged Content List
  • Blog Post: 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  
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
Page 1 of 1 (19 items)