Can't publish the project to local IIS

  1. Avatar of AAziz

    I'm trying to publish the project to an IIS. I have followed the instructions but it gives me white page. I give the Network services to DB and IIS pool but still response with white page. in addition I want to know if I want the way how to change the DB.

  2. Avatar of Mantas

    Hello AAziz,

    You can change database connection string in your Web.config section, under <connectionStrings> tag.

    If the page appears to be empty, you need to enable detailed errors to see what's wrong

  3. Avatar of AAziz

    I did everything but still showing white page ..

  4. Avatar of Mantas

    Which version of MVC does your project use? Formally we support 4.0 and there may be issues with newer versions

  5. Avatar of Abdulaziz

    I know that and the one I tried with is v4.0

  6. Avatar of Tom

    Same problem. works fine with IIS Express. Will not run on local IIS. Tried all options including host file setup. Unable to find Register page on load.

  7. Avatar of Mantas

    Well, this looks strange. Have you followed all the instructions in the documentation under Setup development environment. Is the application folder and the database accessible to application pool's identity?

  8. Avatar of Tom

    I did . App pool is running under my account . I am admin on the box and have access to db and folder.

    host entry: 127.0.0.1 bettercms.local

    http://bettercms.local

    you will get this error

    Server Error in Application "BETTERCMS.LOCAL" Internet Information Services 7.5 Error Summary HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory. Detailed Error Information Module DirectoryListingModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x00000000 Requested URL http://bettercms.local:80/ Physical Path C:\Projects\MyProjects\MembersOnlyMVC Logon Method Anonymous Logon User Anonymous Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server. Things you can try: If you do not want to enable directory browsing, ensure that a default document is configured and that the file exists. Enable directory browsing using IIS Manager. Open IIS Manager. In the Features view, double-click Directory Browsing. On the Directory Browsing page, in the Actions pane, click Enable. Verify that the configuration/system.webServer/directoryBrowse@enabled attribute is set to true in the site or application configuration file. Links and More Information This error occurs when a document is not specified in the URL, no default document is specified for the Web site or application, and directory listing is not enabled for the Web site or application. This setting m

  9. Avatar of Tom

    Ok. it worked with External Host. thanks

  10. Avatar of Elena

    How did you make work on and External Host? I have my IIS in a remote machine on the network I usually publish under file system option, but it doesn't woir for my CMS project.

* Mandatory
* Mandatory
* Mandatory

Verify that you are human