error occurred on new setup

Snitz™ Forums .NET Core
https://www.reddick.co.uk/mvc/Topic/Posts/4840?pagenum=1
5/5/2024

Topic


sadra
error occurred on new setup
10/10/2018


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


cool thumbsUp
sadra
10/10/2018


Problem Solved...
thumbsUp
HuwR
10/10/2018


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


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


At what point do you get the error?
What database SQL/MySQL?
Did it complete the setup process without issues?
© 2016-2024 Snitz™ Forums MVC