YAFLogo

Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
2018-01-26T22:56:34Z
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.0 RC 2
2018-01-26T23:43:04Z
Can you post the full error message? I think it's the best solution to solve the problem.
UserPostedImage
Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
2018-01-26T23:57:27Z
Here are the errors...

error1.JPG

Click to View Image71 View(s)

error2.JPG

Click to View Image65 View(s)

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.0 RC 2
2018-01-27T16:28:52Z
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"/>

UserPostedImage
Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
2018-01-27T17:56:35Z
Thank you for your help!

error3.JPG

Click to View Image64 View(s)

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.0 RC 2
2018-01-28T01:35:12Z
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.


UserPostedImage
Nahash5150
  • Nahash5150
  • 57.8% (Neutral)
  • YAF Camper Topic Starter
2018-01-28T02:16:10Z
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:

Users browsing this topic