When I re-build the entire project there's no errors. My connectionstring looks like this:
<connectionStrings>
<remove name="umbracoDbDSN" />
<add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
<!-- Important: If you're upgrading Umbraco, do not clear the connection string / provider name during your web.config merge. -->
</connectionStrings>
I had this error before and the issue for me was that on the web.config the setting for umbracoUseSSL was set to true instead of false, hope this helps
Can't access administration locally (port removed from URL)
Hi guys,
I'm running Umbraco 7.11.1
Not too long ago I added https certificate through Unoeuro to my site. It worked just great, I also used this snippet to redirect to the https:
However, when I open the site in VS Community 2017 and attempt to access http://localhost:52242/umbraco it removes the port and attemps to access https://localhost/umbraco which of course returns an error.
I attempted to remove the snippet provided above and re-build my solution but with no success.
The way I run my site is through visual studio itself, not through the IIS.
Any idea why I can't access the database locally?
// Mike
Hi MBE
When you say rebuild the solution locally, are you saying the build fails, or does it build but you can't access the database ?
If it fails to build then please provide the error message(s) returned from Visual Studio.
If it does build, have you got the right dB connection parameters for your local database ?
Cheers, Nigel
Hi Nigel,
Thank you for helping me out.
When I re-build the entire project there's no errors. My connectionstring looks like this:
But the thing is, when I access the website locally it works perfectly fine at http://localhost:52242/default.aspx, the site is shown.
But when I access http://localhost:52242/umbraco it strips the port and goes to HTTPS as shown here: https://localhost/umbraco
I can't seem to figure out what causes Umbraco to redirect to HTTPS and without the port.
// Mike
Hi MBE
Have you tried different browsers (Chrome can be a bit of a kleptomaniac with URL's) or incognito ?
Nigel
Hi there,
I had this error before and the issue for me was that on the web.config the setting for umbracoUseSSL was set to true instead of false, hope this helps
That did it! Thanks for the help guys! :)
Wow!it worked for me as well, thanks a lot.
is working on a reply...