Search code examples
asp.net-mvciisasp.net-web-api-routingblogengine.net

Blogengine localhost working, server not


Blogengine works perfectly on localhost, but when I transfer it to the server, setting App_Data to read/write, I cannot save settings, user info, actually anything but adding new pages. I downloaded the blog using WebMatrix and uploaded it to the server without any changes.

When I test what is happening when I press "save" that is what I get from chrome:

Settings/Api | PUT | 404 Not found | text/html | angular.js:7889 Script

If I GET the same API everything is okay.


Solution

  • i had same issue: first of all make sure you website iis setting is on 4.0(Integrated Pipleline) you can do under extensions section of your website setting on your hosting control panel. first:

    enter image description here

    and also make sure you remove WebDav module and handler in your web.config:

     <modules>
             <remove name="WebDAVModule" />
     </modules>
     <handlers>
             <remove name="WebDAV" />
     </handlers>