When i have cloned my project to my local machine, and entered it through my local IIS evrything is fine and dandy.
The I'm trying to install my theme on my local machine, after that's finnished I would like to have the changes to my live site, for example the content types that was created after i installed the theme.
So i push everything to my repository, but now i can't even access my site, because i am getting the following stack trace.
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons). It
could, however, be viewed by browsers running on the local server
machine.
Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrors> tag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrors> tag should then have its
"mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a
custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrors> configuration tag to point to a custom error
page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
I can't access backoffice or anything atm. on my live site. Is there any one that have any idea what's wrong?
Thanks in advance!
That would be nice, but i cant event get to the backoffice...
I tried change it in the .config file and the push it with git. Everything looks ok in Git bash. But no update on my site...
I currently have this in my .config file:
Oh and every time you push something to your live site Umbraco Cloud forces debug to be false and customErrors to be remoteOnly, so your only option is to do this switch through the portal!
I actually got a actual error. Isn't it strange the error don't appear on my local site?
Now i have a Compilation error...
Line 2: using System.Collections.Generic;
Line 3: using System.Web.Mvc;
Line 4: using createsend_dotnet;
Line 5: using USNStarterKit.USNModels;
Line 6: using Umbraco.Web;
It complains on Line 4.
The type or namespace name 'createsend_dotnet' could not be found (are you missing a using directive or an assembly reference?)
I assume there is either a .dll file that's not pushed, because other wise it shouldn't be working on my local machine.
Error when deploying to live site
Hi i am trying to get Umbraco cloud to work.
When i have cloned my project to my local machine, and entered it through my local IIS evrything is fine and dandy.
The I'm trying to install my theme on my local machine, after that's finnished I would like to have the changes to my live site, for example the content types that was created after i installed the theme.
So i push everything to my repository, but now i can't even access my site, because i am getting the following stack trace.
I can't access backoffice or anything atm. on my live site. Is there any one that have any idea what's wrong? Thanks in advance!
To see the actual error, you can set debug to true and custom errors off, in your web.config.
The Umbraco Cloud portal has a handy switch for that:
That would be nice, but i cant event get to the backoffice... I tried change it in the .config file and the push it with git. Everything looks ok in Git bash. But no update on my site... I currently have this in my .config file:
The screenshot above is from https://s1.umbraco.io - there you can enable Debug Mode so you can see what the actual error in your website is.
Oh and every time you push something to your live site Umbraco Cloud forces
debug
to befalse
andcustomErrors
to beremoteOnly
, so your only option is to do this switch through the portal!Thanks! That's a lot better!
I actually got a actual error. Isn't it strange the error don't appear on my local site?
Now i have a Compilation error...
It complains on Line 4.
I assume there is either a .dll file that's not pushed, because other wise it shouldn't be working on my local machine.
Hi Robin,
Marc from uSkinned here. There are a number of dlls that you need to deploy to Umbraco Cloud which are required for your uSkinned Theme to work.
Please download the installation readme file for your theme available via your members area. This lists the files that should be included.
Cheers,
Marc
Hi again, i did as you mentioned. After i added the .dll files everything worked like a charm! Thanks!
That could probably solve my issue. I'll try that and get back to you with the result! Thanks!
Great, can you mark my post as the correct answer?
Cheers,
Marc
is working on a reply...