« Previous Next »

Thread: <deployment retail="true"/> takes IIS7 down

Last post 11-07-2009 3:00 AM by anilr. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 10-27-2009, 10:25 AM

    • stitz
    • Not Ranked
    • Joined on 06-14-2007, 3:43 PM
    • Posts 5

    <deployment retail="true"/> takes IIS7 down

    Hello Everyone, I have a fresh 64 bit server 2008 box with IIS7 on it and I am trying to set <deployment retail="true"/>. Because the server is 64 bit, I have two folder paths with .net framework stuff. Framework and Framework64. This also means that I have 2 machine configs. If I add the retail="true" to the 32bit machine config nothing happens. If I add the same line to the 64 bit machine config, all of websites on this IIS7 server (2 sites) crash and give me a 503 error. I did a restart and the sites are still down.

    Has anyone successfully used the retail="True" in a 64 bit senario? If so, please help!!

    Thanks,

    Dave

     

  • 10-27-2009, 1:55 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: <deployment retail="true"/> takes IIS7 down

    Anything in the eventlog related to the error?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-27-2009, 6:16 PM In reply to

    • stitz
    • Not Ranked
    • Joined on 06-14-2007, 3:43 PM
    • Posts 5

    Re: <deployment retail="true"/> takes IIS7 down

    Good suggestion. I should have thought of that. Here is what I found:

     

    The worker process for application pool 'NAMEOFMYDOMAIN.org' encountered an error 'Configuration file is not well-formed XML

    ' trying to read global module configuration data from file '\\?\C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\machine.config', line number '144'. Worker process startup aborted.

    I placed the deployment retail="true" tag just inside the system.web. Is that not the place to put it? Any thoughts?

  • 10-27-2009, 7:02 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: <deployment retail="true"/> takes IIS7 down

    Looks like you made the file invalid xml when you edited it - it is impossible to say what you did without you showing us the file fragment after you edited it.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-27-2009, 7:06 PM In reply to

    • stitz
    • Not Ranked
    • Joined on 06-14-2007, 3:43 PM
    • Posts 5

    Re: <deployment retail="true"/> takes IIS7 down

    The only thing I added was the <deployment retail="true"/> line and I made sure it was not within any other lines. It should not have made it invalid though. I will try placing it somewhere else.

  • 10-27-2009, 7:08 PM In reply to

    • stitz
    • Not Ranked
    • Joined on 06-14-2007, 3:43 PM
    • Posts 5

    Re: <deployment retail="true"/> takes IIS7 down

    ok I added the same line but put it infront of the <processModel autoConfig="true"/> line rather just after it and it seems to be working now!! Thanks for your help.

  • 10-27-2009, 9:37 PM In reply to

    Re: <deployment retail="true"/> takes IIS7 down

    Would you mind posting a snippet of the layout you used? 

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 11-05-2009, 5:25 PM In reply to

    • stitz
    • Not Ranked
    • Joined on 06-14-2007, 3:43 PM
    • Posts 5

    Re: <deployment retail="true"/> takes IIS7 down

    So it turns out that I was able to add the retail=true to my machine.config but it appears to not be taking effect as my sites are still operating in debug mode. Anyone else see this?

  • 11-07-2009, 3:00 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: <deployment retail="true"/> takes IIS7 down

    You will be better off asking this question over at forums.asp.net

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (9 items)
Microsoft Communities