Note that there are some explanatory texts on larger screens.

plurals
  1. POConfiguration Error: <compilation debug="true" targetFramework="4.0"> ASP.NET MVC3
    text
    copied!<p>I'm trying to deploy my website on somee.com but keeps getting this error<br/><br/> <img src="https://i.stack.imgur.com/QT9h9.png" alt="enter image description here"> </p> <p>I've tried googling and it says I have to change my App Pool to ASP.NET 4.0. I've tried that already but with no luck:( <br/><br/> <strong>Informations:</strong> </p> <p>-My site was coded in 4.0 Framework<br/> -I'm using .NET Framework v4.0 Integrated<br/> -I have checked needed things already in Windows Features<br/> -Im using ASP.NET MVC3<br/> -I already typed cd C:\Windows\Microsoft.NET\Framework64\v4.0.30319 then aspnet_regiis -ir to cmd<br/> -64 bit OS<br/><br/></p> <p><strong>This is the steps how I publish my site</strong></p> <ol> <li><p>First I manually added this things to my Reference then changed the Copy Local to True</p> <p>Microsoft.Web.Infrastructure<br/> System.Web.Helpers<br/> System.Web.Mvc<br/> System.Web.Razor<br/> System.Web.WebPages<br/> System.Web.WebPages.Deployment<br/> System.Web.WebPages.Razor<br/></p></li> <li><p>I Editted this on my Web Config</p> <p><code>&lt;configuration&gt;</code><br/> <code>&lt;system.web&gt;</code><br/> <code>&lt;customErrors mode="Off"/&gt;</code><br/> <code>&lt;compilation debug="true" targetFramework="4.0"/&gt;</code><br/> <code>&lt;authentication mode="None"/&gt;</code><br/> <code>&lt;/system.web&gt;</code><br/> <code>&lt;/configuration&gt;</code><br/></p></li> <li><p>I add Deployable Dependencies that created _bin_deployableAssemblies which have this inside<br/><br/></p> <p>Microsoft.Web.Infrastructure.dll<br/> System.Web.Helpers.dll<br/> System.Web.Mvc.dll<br/> System.Web.Razor.dll<br/> System.Web.WebPages.dll<br/> System.Web.WebPages.Deployment.dll<br/> System.Web.WebPages.Razor.dll<br/></p></li> <li><p>I then click Publish and have this settings<br/><br/> <strong>This is how I Publish is this ok or I have to change something here?</strong> <img src="https://i.stack.imgur.com/4J2VI.png" alt="enter image description here"><br/><br/></p></li> <li><p>I went to my IIS Manager. I right click on Default Web site Under Sites and choose Add Application with this settings <img src="https://i.stack.imgur.com/hpsf1.png" alt="enter image description here"></p></li> <li><p>This resulted to this<br/> <img src="https://i.stack.imgur.com/G97NF.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/4IE4H.png" alt="enter image description here"></p></li> <li><p>I went to C:/inetpub/wwwroot and sees this files<br/> <img src="https://i.stack.imgur.com/WcLRB.png" alt="enter image description here"></p></li> <li><p>I then compressed it as zip then uploaded it in my account in somee.com then checked my site and now I'm getting the Configuration Error above.<br/><br/> <strong>ABOVE IS MY UPDATED QUESTION I REPUBLISHED MY SITE AND INCLUDED STEPS HOW I PUBLISHED IT . I INCLUDED IT SO THAT YOU GUYS COULD SUGGEST IF I'M DOING SOMETHING WRONG ON HOW I'M PUBLISHING MY SITE AND COULD BE THE REASON OF THE ERROR ABOVE. THANKS IN ADVANCE :)</strong></p> <p><br/> My site works fine in the iis of the localhost of my machine it only gets that error when deployed on the internet. Btw I'm following the tutorials from these sites <a href="http://drew-prog.blogspot.com/2011/01/how-to-deploy-aspnet-mvc-3-app-to-web.html" rel="noreferrer">How to Deploy an ASP.NET MVC 3 App to Web Hosting with "\bin Deployment"</a> <a href="http://ofps.oreilly.com/titles/9781449320317/ch_Deployment.html#SelectIISApplicationPoolDialog" rel="noreferrer">Programming ASP.NET MVC 4 Chapter 19. Deployment</a> <a href="http://www.youtube.com/watch?v=JXp30_yxyLM" rel="noreferrer">Deployment ASP.NET MVC 3 project to IIS and somee</a><br/><br/> <strong>Question: What could be the cause of this issue :(</strong> It's my first time to deploy a website on the internet. Hopefully you could help me guys.. If you need more info please tell me. <br/><br/></p></li> </ol> <p><strong>My IIS Manager</strong> <img src="https://i.stack.imgur.com/aA6PA.png" alt="enter image description here"><br/><br/> <strong>My configuration</strong> <img src="https://i.stack.imgur.com/4kqVo.png" alt="enter image description here"><br/><br/></p> <p><strong>or could this be the reason of my issue?</strong><br/><br/> <img src="https://i.stack.imgur.com/0yn8E.png" alt="enter image description here"><br/><br/> </p> <hr> <p><strong>OK THIS PROBLEM WAS SOLVED. I FOUND OUT THERE'S NO PROBLEM ON MY SETTINGS. THE PROBLEM IS ON THE SETTINGS OF THE WEBHOSTING SITE. I CHANGED THE ASP.NET VERSION FROM 2.0 TO 4.0 BUT FORGOT TO CLICK THE UPDATE BUTTON :( I FEEL BAD I HAVEN'T REALIZED THAT. I'M NOW FACING ANOTHER ERROR BUT IT HAS NOTHING TO DO WITH THIS QUESTION. THANKS GUYS FOR TRYING TO HELP ME :)</strong></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload