Build is still referencing local file directory on the remote server
In my latest build of my umbraco 7 site, I am getting the following server error
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
The following stack trace seems to indicate that it is looking for an object in a controller than is on the local machine I am using to build the site in MVS - after build I am then pushing it to a remote server.
The first few lines of the stack trace is:
[NullReferenceException: Object reference not set to an instance of an object.]
domain.co.uk.logic.Controllers.MembershipController.GetMyForm(Int32 currentNodeId, String currentUrl, EnMyAction formAction) in c:\Users\~user~\Documents\website\domain.co.uk.logic\Controllers\MembershipController.cs:324
Would anyone be able to shine a light on why this could be happening?
Build is still referencing local file directory on the remote server
In my latest build of my umbraco 7 site, I am getting the following server error
The following stack trace seems to indicate that it is looking for an object in a controller than is on the local machine I am using to build the site in MVS - after build I am then pushing it to a remote server.
The first few lines of the stack trace is:
Would anyone be able to shine a light on why this could be happening?
Thanks.
HI,
Are you building and publishing the site (with debug set to false?).
http://stackoverflow.com/questions/12281962/why-does-the-stack-trace-shows-my-development-files-path
Kind regards
Steve
Hey thanks, I've actually just this minute solved the underlying issue, it was a corrupted umbraco.config file.
is working on a reply...