Installing BlogEngineDotnet with IIS 7 integrated Mode

Discussion in 'Windows / IIS' started by soemoe, Oct 28, 2008.

  1. Hi all,
    How can i install blogengine.net on discountasp.net using IIS 7 integrated mode? Now, my blog is up and running but I have to use Classic mode. According to this post, I need to run this command to run in Integrated mode;

    %systemroot%\system32\inetsrv\APPCMD.EXE migrate config 'BlogSiteName/'

    but i don't think i can run that in DSAP.

    Thanks in advance,
    Soe Moe
     
  2. Soe,

    I don't think we can run APPCMD.EXE on our shared hosting environment. This compromises the security on our shared hosting environment which can compromise the other accounts.

    I checked around the internet that relates to this issue, and found this forum post from BlogEngine.Net itself. When I try installing blogengine.net I too got the 500 Internal Server Error and changed my pipeline to Classic mode, but doing this means that I can't take some of the advantages of Integrated mode. I'm sure there is a work around to this. Hope this link helps. I be playing with this application on my end and see what work around I can find.

    http://www.codeplex.com/blogengine/Thread/View.aspx?ThreadId=21124

    rcp
    DiscountASP.NET
    www.DiscountASP.NET
     
  3. I've done a bit of sniffing around myself, and found another page offering a similar suggestion for getting BlogEngine up and running with IIS 7 and Integrated Mode:

    neovolve.com/post/2008/10/03/Getting-BENet-to-support-IIS7-and-the-integrated-pipeline.aspx

    BlogEngine was installed as a subdirectory Web Application, and the corresponding web.config file had the following copied from the article:

    This seems to do the job, although I'm still tweaking things to run with the IIS 7 URL Rewriter extension before going live.

    Hope this helps.
     
  4. Hi Daryl,
    Thanks, now it works. :)
     

Share This Page