fuel9 / DisplayMonkey

Display Monkey digital signage solution
Other
126 stars 50 forks source link

Object reference not set to an instance of an object #127

Open TreyPahl opened 5 years ago

TreyPahl commented 5 years ago

I am trying to install DM on Windows 10 v. 1903 All of the prerequisites install properly and are configured to match an install I have on a different version. When I try to reach localhost/displaymonkey I get the following errors:

Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.] DisplayMonkey.DataAccess.get_ConnectionString() +89 DisplayMonkey.DataAccess.ConnectionWrap(SqlCommand cmd, Action action) +60 DisplayMonkey.Display.get_AutoLoadMode() +165 DisplayMonkey._Default.Page_Load(Object sender, EventArgs e) +118 System.Web.UI.Control.OnLoad(EventArgs e) +107 System.Web.UI.Control.LoadRecursive() +89 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1606

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.3752.0

psined1 commented 4 years ago

Sounds like your DMM database connection string is either corrupt or missing. The connection string can be found in web.config file.