error occurred on new setup - Posted (1934 Views)
Average Member
/Mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 348
starstarstar
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
[ltrf][url='"http://english.khamenei.ir/Opinions/Imam_mahdi"]Who is Imam Mahdi? Is he the Savior promised by all religions?[/url][/ltrf][rtlf][green]اللهم عجل لولیک الفرج[/green][/rtlf]
 Sort direction, for dates DESC means newest first    Page size 
Posted
Forum Administrator
/Mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4376
starstarstarstarstar
cool thumbsUp
Posted
Average Member
/Mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 348
starstarstar
Problem Solved...
thumbsUp
Posted
Forum Administrator
/Mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4376
starstarstarstarstar
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?
Posted
Average Member
/Mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 348
starstarstar
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.

Posted
Forum Administrator
/Mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4376
starstarstarstarstar
At what point do you get the error?
What database SQL/MySQL?
Did it complete the setup process without issues?