Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8121855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:38:15+00:00 2026-06-06T05:38:15+00:00

I installed Visual Studio 2012 Ultimate RC this morning after learning about IntelliTrace at

  • 0

I installed Visual Studio 2012 Ultimate RC this morning after learning about IntelliTrace at TechEd last week. We currently use VS 2010 Professional, so using the 2012 RC was my only easy option for testing out IntelliTrace.

I opened up VS 2012 Ultimate RC and opened a MVC 3 project that was written in VS 2010. IntelliTrace runs fine if I have it set to “IntelliTrace events only”. If I set it to “IntelliTrace events and call information” however, I get an exception when starting the debugger:

System.Reflection.TargetInvocationException was unhandled
HResult=-2146232828
Message=Exception has been thrown by the target of an invocation.
Source=mscorlib
StackTrace:
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at System.Web.HttpApplication.InvokeMethodWithAssert(MethodInfo method, Int32 paramCount, Object eventSource, EventArgs eventArgs)
   at System.Web.HttpApplication.ProcessSpecialRequest(HttpContext context, MethodInfo method, Int32 paramCount, Object eventSource, EventArgs eventArgs, HttpSessionState session)
   at System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext context)
   at System.Web.HttpApplicationFactory.EnsureAppStartCalled(HttpContext context)
   at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)
   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
   at System.Web.HttpRuntime.ProcessRequestNow(HttpWorkerRequest wr)
   at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
   at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
   at Microsoft.VisualStudio.WebHost.Request.Process()
   at Microsoft.VisualStudio.WebHost.Host.ProcessRequest(Connection conn)
   at Microsoft.VisualStudio.WebHost.Host.ProcessRequest(Connection conn)
   at Microsoft.VisualStudio.WebHost.Server.OnSocketAccept(Object acceptedSocket)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
InnerException: System.AccessViolationException
   HResult=-2147467261
   Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   StackTrace:
   InnerException: 

The problem seems to be somewhere in the function entry to Microsoft.VisualStudio.WebHost.Server.OnSocketAccept. I have no idea what this is though.

I played around some and found that:

  • The problem doesn’t occur if I open a web forms project that was created in VS 2010.
  • The problem doesn’t occur if I create a new MVC 3 project in VS 2012 RC.
  • The problem only occurs if I open a MVC 3 project that was created in VS 2010.

I’m stumped as to how to try and fix this other than creating a new project in VS 2012 RC and copying all of the code over, which I’d rather not do for every project we have. It could be a bug in VS 2012 RC, I don’t know. I’ll also note that I’m also getting an error saying “Cannot find or open the PDB file” that appears with the last event in the IntelliTrace output, but not sure if it’s connected. Any help would be awesome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:38:17+00:00Added an answer on June 6, 2026 at 5:38 am

    It seems like you are hitting a bug we recently fixed in Intellitrace, but I can’t be sure only by looking at the call stack. Can you have a try and let me know whether you can hit the exception when not debugging on “Web Development Server”?

    To use IIS server instead of Web Development Server, please open project property, select Web tab, then select “Use local IIS Web Server”. Web Development Server is selected by default in project created by VS2010, but the default for VS2012 created project is “IIS Server”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed the new Visual Studio 2012 Ultimate. I have created a Test
I installed Visual Studio 11 (developer preview edition) last week, since then, the build
I just installed Visual Studio 2012 RC and tried to run a service with
I have installed Visual Studio 2012 RC. I would like to find any example
I am using Visual studio 2011 beta with the april 2012 update installed .I
Installed Visual Studio Web Developer 2010 Express from the ISO available from this page:
I recently installed Visual Studio 2010 (Ultimate edition, final version released in April), and
I recently downloaded and installed Visual Studio 2012 RC and made a program with
I've installed Visual Studio C++ Express 2012 and want to use it's compiler with
My development machine is running Windows 7 Ultimate x64. I installed Visual Studio 2010

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.