error occurred on new setup

Snitz™ .NET Core
https://www.reddick.co.uk/mvc/Topic/Posts/4840?pagenum=1
Jul 09, 2025 12:01

Topic


sadra
error occurred on new setup
Oct 10, 2018 11:19


This error occurred on new setup

An error has occurred. Please contact the system administrator.
Controller: Home
Action: Index
Exception: Object reference not set to an instance of an object.
Return to Forum

 

Replies ...


HuwR
10/10/2018 12:04:12 PM..ToLocalTime().ToForumDisplay()


At what point do you get the error? What database SQL/MySQL? Did it complete the setup process without issues?
sadra
10/10/2018 5:14:41 PM..ToLocalTime().ToForumDisplay()


At what point do you get the error? What database SQL/MySQL? Did it complete the setup process without issues?نوشته شده توسط HuwR

1. MS SQL
2. After finished setup and when go to home index.
HuwR
10/10/2018 5:50:05 PM..ToLocalTime().ToForumDisplay()


nice and helpful error smile Open your web.config file and look for these tags
Code:

    <compilation debug="true" targetFramework="4.5.2" />
<customErrors mode="Off" defaultRedirect="~/Error">
<error statusCode="403" redirect="~/Error/Forbidden" />
<error statusCode="404" redirect="~/Error/NotFound" />
</customErrors>
Set the values for debug and mode as above, restart iis and try again, do you get any different error?
sadra
10/10/2018 5:59:01 PM..ToLocalTime().ToForumDisplay()


Problem Solved... thumbsUp
HuwR
10/10/2018 6:12:13 PM..ToLocalTime().ToForumDisplay()


cool thumbsUp
© 2016-2025 Snitz™ Forums MVC