Azure CloudService with OSFamily="3" RRS feed

  • Question

  • I have a azure cloud service with OS Family="1" and it uses .Net Framework 4.0.Everything works as expected.Now i migrated the application to .Net 4.5 and deployed in azure using OS Family="3".Everything works fine in my local environment.But when i deployed it in azure it is very slow and in most cases it displays - INVALID HTTP RESPONSE.I coudn't figure out what the problem is.Kindly help me fix this.Thanks in advance.
    Monday, March 3, 2014 1:12 PM

All replies

  • Hi,
    Based on your description, you changed two things,.
    1) Used .Net Framework 4.5 instead of .Net Framework 4.0,
    2) Changed OS Family to “3”, in other words, select windows server 2012 R2 as your operating system family.
    After doing that, your deployment becomes very slow and sometimes displays “INVALID HTTP RESPONSE”. From my experience, in order to find out what causes this issue, I suggest you change one thing each time. Thus there may be important information for us to give further help.
    Best Regards

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, March 4, 2014 3:10 AM
  • Hi,

    I cant do one thing at a time in this case.Because I previously used OSFamily = "1". But After migrating to .Net 4.5 I have to move to OSFamily ="3". Because  .Net 4.5 is not supported in OSFamily = "1".

    Tuesday, March 4, 2014 9:37 AM
  • What do you have in your cloud service? Is there anything unusual? What is in the RoleEntryPoint? Are there any custom IIS configs or startup scripts etc.? Is there anything interesting in your .cscfg or .csdef files?
    Tuesday, March 4, 2014 2:32 PM
  • Its a simple MVC 4.0 Web application.We dont have anything in RoleEntryPoint and we dont have any specific IIS Config.
    Wednesday, March 5, 2014 6:52 AM
  • OK - that's good - should be easy then.

    Where does this "INVALID HTTP RESPONSE" message show up and when does it show up?

    Wednesday, March 5, 2014 2:30 PM
  • Refer this 


    We can run commands during deployment, which installs the required .NET frameworks on cloud service instances

    Many Thanks Deepak

    Tuesday, April 11, 2017 11:24 AM