devbridge / BetterCMS

A publishing focused and developer friendly .NET Open Source CMS.
GNU Lesser General Public License v3.0
375 stars 151 forks source link

Issue after publishing #1541

Open net4u opened 8 years ago

net4u commented 8 years ago

Hi, I come back after some time to BetterCMS and I encounter some issues. I chose 2.0.6 from releases, I build solution from VS2015 (I have to state here that I change at project properties the server properties, choosing IIS Express instead of external host (http://bettercms.sandbox.mvc4.local/)), I made an empty DB on my test SQL server, I run the SandboxMVC4 project, the DB is populated and all is working. After this I publish the project on my test web server (I try both Release and then Debug), I create there an application on IIS (that is bind as http://better.mydomain.com) and when I point to this in a browser it seems to me that is try to populate again the DB (maybe not, is what I think), redirect to 500 error page, and rise an error logged in Win2012 server mainly saying that "Login failed for user 'BetterCmsUser985'". But in my config file the connection is declared using the default "sa" user. Any hints about how to solve this?

off-topic 1: when running from VS I made some pages, I managed accordingly the Menu, but I did not find any way to insert the menu in a(ny) page.

off-topic 2: I see that many objects in Better CMS allow to declare custom CSS properties and scripts, but how to reference CSS files and JS (e.g. for global allowing Bootstrap), since I did not find the usual Content, Scripts and Fonts folders in project?

Regards