YAFLogo

Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
4 years ago
Hello,

I migrated my YAF forum and database to a new host and it won't start up (runtime errors).

Is there any information available that has a 'must do' list of things I need to modify to get this to work properly on a new server?

Regards,

Hashy

Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
4 years ago
Can you post the full error message? I think it's the best solution to solve the problem.
Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
4 years ago
Here are the errors...

 error1.JPG You have insufficient rights to see the content.

 error2.JPG You have insufficient rights to see the content.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
4 years ago
Did you have customErrors enabled? if yes open the web.config and change the line..

from

<customErrors defaultRedirect="Error.aspx" mode="RemoteOnly"/>

to

<customErrors defaultRedirect="Error.aspx" mode="Off"/>
Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
4 years ago
Thank you for your help!

 error3.JPG You have insufficient rights to see the content.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
4 years ago
Okay the error is message is self explaining, you need to setup the folder as application in IIS on the server.

Quote:

Is there any information available that has a 'must do' list of things I need to modify to get this to work properly on a new server?

The Steps are similar as you would do a new installation, except you don't create a new database

https://github.com/YAFNET/YAFNET/wiki/Installation 

Step 2. is the step you need to do.

Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
4 years ago
Indeed!

I'm sorry to bother you with such a simple mistake. When I tried to create a virtual directory it said that 'a physical directory already exists with that name and will become inaccessible'. That kinda freaked me out so that's why I'm here...

So after your post above I went ahead and created it anyway and now it works!

THANK YOU! :cheesy: