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.
Can't publish the project to local IIS
You can change database connection string in your
If the page appears to be empty, you need to enable detailed errors to see what's wrong
I did everything but still showing white page ..
Which version of MVC does your project use? Formally we support 4.0 and there may be issues with newer versions
I know that and the one I tried with is v4.0
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.
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?
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
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
Ok. it worked with External Host. thanks
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.