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

  • Home
  • SEARCH
  • 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 8822705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:10:16+00:00 2026-06-14T06:10:16+00:00

I followed the Getting Started with Windows Azure Caching and I keep getting System.Runtime.InteropServices.SEHException:

  • 0

I followed the Getting Started with Windows Azure Caching and I keep getting System.Runtime.InteropServices.SEHException: External component has thrown an exception on the line:

var myCache = new DataCache("default");

I’ve got the WindowsAzure1 project set as startup project. I’m trying to access the cache from an MVC API Project while running in debug, but it keeps erroring out. Does anyone know what I might be doing wrong? Thanks.

  • 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-14T06:10:17+00:00Added an answer on June 14, 2026 at 6:10 am

    I just had exactly the same error except it was happening on App startup rather than on hitting a specific command. After a number of hours and doing many different tutorials I finally traced it to the fact that my project was no longer running in the emulator.

    ie. For Caching (including session state using the cache) in Azure Projects you must debug in the emulator. For me I was hitting f5 on the cloud project. For some odd reason this stopped working.
    To fix under the solution properties -> Common properties -> startup. Select “single startup project” – select your Azure Cloud project.
    Then hit f5 on your azure project to start.

    This fixed for us. We actually got a new error error that the [cache cluster role name] was not found in the deployment. Once I saw this error it was an easy fix by replacing [cache cluster role name] with our Cache Worker role name.

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

Sidebar

Related Questions

I am trying to follow the Getting Started with Windows Azure Toolkit for iOS
I've followed the NServiceBus getting started guide to the letter, with the only change
I followed the sitemap activation steps on the django site but i keep getting
So followed all the basic tutorials. Am using Zend 1.8 but i keep getting
I am new WCF programming, I did followed series of Getting Started tutorials from
I'm just getting started with Backbone and ran through a tutorial. I followed along
I tried to login using facebook followed the facebook tutorial in https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ to implement
I'm just getting started with Android app development on a Mac, and I keep
First of all, I've followed Getting Started: Building and Running Clang . In particular,
I've followed the getting started guide to deploy a nodejs application to heroku: https://devcenter.heroku.com/articles/nodejs

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.