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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:33:52+00:00 2026-05-24T23:33:52+00:00

I just set up my machine to code Windows Azure apps in Visual Studio

  • 0

I just set up my machine to code Windows Azure apps in Visual Studio 2010. I have a machine at work, which works fine. The machines are both 64-bit Windows 7. I run as administator at work. At home I installed most of the VS and .NET components as normal user, but I’m running everything now as administrator, because I assume there could be some errors correlating to that.

Creating a standard Azure project with one web role gives me this:

“there was an error attaching the debugger to the IIS worker process
for URL http://127.0.0.1:5100/ for role instance ‘xyz’…”.

I searched Google 24 hours and tried most of the solutions, but none worked for me:

  • repairing .NET 4.0 (I didn’t uninstall it prior to reinstalling, but
    I will try to do so now)
  • setting the WebRole as Start Project works fine. It runs the webpage.
  • <system.web> <compilation debug="true" targetFramework="4.0" /> is set to true ( http://www.google.de/url?sa=t&source=web&cd=4&sqi=2&ved=0CDgQFjAD&url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F4541593%2Fazure-error-on-starting-with-multiple-web-role-projects&ei=RAhOTq27Fsv4sgaB_LSVAw&usg=AFQjCNFa6NveaRmUhBtEIus9vwK54VojKA)
  • there’s no httpModules to delete ( http://natacha-huguet-millot.tumblr.com/)
  • there’s only one v4.x directory in Windows\Microsoft.NET\Framework64 ( http://social.technet.microsoft.com/Forums/en-US/windowsazuredevelopment/thread/45e01c3d-7c16-4ca7-999b-46cb20b38c1d#0c118416-484a-413c-bd18-049033b1ccb8)
  • running aspnet_regiis.exe -r. succeeds but doesn’t work ( http://www.dotnetspark.com/kb/3720-error-attaching-debugger-windows-azure-sdk.aspx) neither does rebooting
  • looking for Visual Studio Web Debugger log shows this (also my section name=”httpErrors” overrideModeDefault in IIS is set to Allow; source: http://dunnry.com/blog/2011/07/14/HowToDiagnoseWindowsAzureErrorAttachingDebuggerErrors.aspx):
http://127.0.0.1:5100/debugattach.aspx 
Status code=403 (Forbidden) Protocol version=1.1 Cached=False
Content-Length=53 Content-Type=text/html; charset=utf-8 
Date=Fri, 19 Aug 2011 20:16:48 GMT Server=Microsoft-IIS/7.5
X-Powered-By=ASP.NET
/debugattach.aspx-application debugging not activated.

When I comment out the Sites-Tag in the ServiceDefinition.csdef I get the following error:

“unrecognized attribute ‘targetframework’. note that attribute names
are case-sensitive”

Here I also tried most solutions to be found on the internet:

  • setting the right .NET-Framework version in IIS-Manager (all application pools are set to 4.0, when starting the project, the error page shows framework 2.0 though, where can I change it?)
  • installing the newest .NET-Framework, I have 4.0.30319

None of them work.

If you have any advice, I will try it and list my result in this post.

  • 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-24T23:33:52+00:00Added an answer on May 24, 2026 at 11:33 pm

    The first question to ask is which version of Windows 7 are you running at home? I’m going to go out on a limb and guess that it’s Home Premium and at work you run Professional.

    The catch is that with Home Premium (an lesser edtions) you don’t have the option to install the necessary components to be able to debug in IIS. To confirm this, on your work computer go to Control Panel -> Programs and Features -> “Turn Windows features on or off” and have a look under the IIS option. You’ll see more there than you do at home.

    I have not found anywhere in the MS documentation on the differences between various editions of Windows 7 that this is the case. I’d be happy for someone to correct me on this though.

    To get around this issue is while running at home to change the project to run with Visual Studio Development Server (right click your project -> Properties -> Web) and make sure that you change it back to using IIS before you check in your code.

    Or you can buy an anytime upgrade for windows to Professional.

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

Sidebar

Related Questions

I have just set up ruby in Aptana studio and am getting the following
I have a WPF app which snaps to screen edges (I just set the
Consider the following code (written with Visual Studio 2010 and .NET 4.0) using System;
We have some code that must access low level windows XP os calls which
I have just set up cruise control.net on our build server, and I am
I've just set up a new build server with the Windows 2008 .NET 3.5
I have a CRON job php script that I just set up not too
I'm fairly new to WebService developement and have just set up my own webservice
I'm developing a Windows Forms Application in Visual Basic .NET with Visual Studio 2008.
I have just written a program to run as a Windows Service Application, GasMeterMonitoring;

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.