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 3607824
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:25:29+00:00 2026-05-18T21:25:29+00:00

I have a brand new VS2010 installed on a Win2008R2 machine. I started getting

  • 0

I have a brand new VS2010 installed on a Win2008R2 machine.
I started getting this error when debugging a WCF service project:

“Attempted to read or write protected
memory. This is often an indication
that other memory is corrupt.”

When I started developing a web site a week later, this became consistent – I can’t debug it.
The stack dump reads:

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.Run(ExecutionContext
executionContext, ContextCallback
callback, Object state, Boolean
ignoreSyncCtx) at
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at
System.Threading.ThreadPoolWorkQueue.Dispatch()
at
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

I tried searching online, and some recommend turning off the “Suppress JIT Optimizations” in the Debugging options – this dos not seem to make a difference.

Clearly the problem is with the built in web server. But am I doing something wrong? Is there something I can do? Or is this a known bug?

Thanks for your time,

Guy

Update 12/31: Today I tried using CassiniDev as a replacement to the original VS2010 WebServer – exact same result. My suspicion is that there’s some internal conflict between VS2010, Windows Server 2008R2 and maybe the fact that it’s a 64 bit OS. I switched to using IIS as my debug server – and that seems to work, with some annoying side effects.

My conclusion: do not use a 64 bit server system as your dev machine. Develop on 32bit – deploy to 64bit.

Side conclusion: there are some scenarios Microsoft’s QA doesn’t test.

  • 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-05-18T21:25:29+00:00Added an answer on May 18, 2026 at 9:25 pm

    Well, here’s the sad truth, and I verified it with someone who works for Microsoft, with these very same technologies. I just triggered some sort of Cassini bug. He suggested I try installing VS2010 SP1 beta (which I cannot do since my code is due in production). His other suggestion was to try IIS Express. MS is trying to move people over to IIS Express and provides it as part of their web platform installer – so it stands to reason they will not be spending too much time plugging Cassini bugs.

    Since I was using a 2008 server, I just added IIS (takes less than a minute), created a virtual directory (the VS project page allows you to do it with one button click) and I’m now successfully debugging on IIS. Not the result I wanted, but you can’t always get what you want 🙂

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

Sidebar

Related Questions

I have created a brand new WCF Service. I created this service by just
Ok so this is a brand new snag I have run into. I am
I am brand new to Subversion and have been told that this is the
I have just downloaded jQuery 1.7 for a brand new project I'm starting. After
I have a brand new Rails 3.1rc4 project. After generating a scaffold, migrating and
I am brand new to WCF, and have limited experience coding against web services.
I have VS2008 and VS2010 on brand new Win7. Can I install VS2005 afterwards
I have a brand new computer installed with .net Framework 4. I have a
Warning: I am brand new to NHibernate! I have a User object. This User
I have a brand new install of Mac OS 10.7.2. I have installed SVN

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.