YAFLogo

trumso
  • trumso
  • 70.4% (Friendly)
  • YAF Lover Topic Starter
9 years ago
Dear all,

I got this error when running install/default.aspx on my website first time following Installation instruction first time.

Server Error in '/' Application.

Runtime Error

Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.

Could you please tell me what I need to do now?

Many thanks

Sponsor
trumso
  • trumso
  • 70.4% (Friendly)
  • YAF Lover Topic Starter
9 years ago
I did go around and find out that the application "Runtime error" is often occurred on the GoDaddy server. Here is where I uploading YAF on the server. Could any one tell me how I have to edit YAF.AppRoot key following Step 4C on installation instruction? Thanks

UserPostedImage

trumso
  • trumso
  • 70.4% (Friendly)
  • YAF Lover Topic Starter
9 years ago
Double post
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago
Please turn off custom errors in the web.config

<customErrors mode="Off" />

Then you should see the real error.

trumso
  • trumso
  • 70.4% (Friendly)
  • YAF Lover Topic Starter
9 years ago

Please turn off custom errors in the web.config

<customErrors mode="Off" />

Then you should see the real error.

Originally Posted by: tha_watcha 

Dear tha_watcha,

Thanks for your advice.

Here is the error message I got after turn off custom errors. Since I'm a newbie for asp.net & yaf.net, I appreciate if you can instruct me more detail how to correct them all.

Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Source File: G:\PleskVhosts\xxxx.com\httpdocs\yaforum\web.config Line: 32

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (G:\PleskVhosts\xxxx.com\httpdocs\yaforum\web.config line 82)

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (G:\PleskVhosts\xxxx.com\httpdocs\yaforum\web.config line 100)

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (G:\PleskVhosts\xxxx.com\httpdocs\yaforum\web.config line 113)

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (G:\PleskVhosts\xxxx.com\httpdocs\yaforum\web.config line 129)

PS. I'm buying an Economy Package on GoDaddy, and they request me to upgrade to a Virtual Dedicated or Fully Dedicated server if I want to run YAF.NET on their servers. If not, I need to custom install the application as it is not part of the Application Manager. Do you think it's possible for me?

I'm trying to find the technical specifications on this application. From what I can find, everything should work, except for the section where you have to alter an Application Pool. In order to gain access to the Application Pool configuration you would need to purchase .

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
9 years ago
Check the error message it already contains the problem and the solution

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

You need to make sure that the folder is set as application in your iis, or in your case in the hosting panel.

PS. I'm buying an Economy Package on GoDaddy, and they request me to upgrade to a Virtual Dedicated or Fully Dedicated server if I want to run YAF.NET on their servers. If not, I need to custom install the application as it is not part of the Application Manager. Do you think it's possible for me?

You need a hosting package that included asp.net and ms sql server, if your package supports that then you are good go.

trumso
  • trumso
  • 70.4% (Friendly)
  • YAF Lover Topic Starter
9 years ago
I did come to here and don't know how to continue. Could you please check your PM and instruct me how I need to do next?

UserPostedImage UserPostedImage

Thanks

trumso
  • trumso
  • 70.4% (Friendly)
  • YAF Lover Topic Starter
9 years ago
Dear tha_watcha,

Please ignore my PM. I can run my YAF.NET forum now.

I really appreciate for all your support.