Visual Web Developer Express with SP1 crashing when switching to design mode
<p>I've just recently upgraded to using Visual Studio express editions with service pack 1.  Previously I was using the express editions minus the service pack.  The IDE for C++ and C# run fine for me but when running the Visual Web Developer IDE I get a crash when trying to switch to design mode on any page I attempt it on.</p>

<p>I have been able to track down the particular line and module this crash is occurring in.  Its from the file afxcrit.cpp from the DLL fpacutl.dll.  The relevant function where the crash is occurring is as follows...</p>

<pre><code>void AFXAPI AfxLockGlobals(int nLockType)
{
    ENSURE((UINT)nLockType &lt; CRIT_MAX);

    // intialize global state, if necessary
    if (!_afxCriticalInit)
    {
     AfxCriticalInit();
     ASSERT(_afxCriticalInit);
    }

    // initialize specific resource if necessary
    if (!_afxLockInit[nLockType])
    {
     EnterCriticalSection(&amp;_afxLockInitLock);
     if (!_afxLockInit[nLockType])
     {
      InitializeCriticalSection(&amp;_afxResourceLock[nLockType]);
      VERIFY(++_afxLockInit[nLockType]);
     }
     LeaveCriticalSection(&amp;_afxLockInitLock);
    }

    // lock specific resource
    EnterCriticalSection(&amp;_afxResourceLock[nLockType]); // &lt;--- CRASH HERE !!!
#ifdef _DEBUG
    ASSERT(++_afxResourceLocked[nLockType] &gt; 0);
#endif
}
</code></pre>

<p>Any help/thoughts is greatly appreciated.</p>
