YAFLogo

Gearcam
  • Gearcam
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Hi i ham trying to install YAF in a folder of the root directory of my website called "forum"

I have uploaded all the files into this directory

I have copied the Bin and APP_code directories to the root of my website

I have copied the web.config file to the root of my website

I have ammended app.config to

but nothing on my website now works i get error 500

MY isp has said

Your website shows Error500. I suggest you to check the codes in your Web.config file if it includes the following tags:

If so, please comment those tags out in your script by starting the section with

Which i have done it still will not work

Help

Regards

Steve

Sponsor
squirrel
12 years ago
HTTP-500 errors are usually displayed when servers are configured not to display 'full errors'. You will need to get the host to not display 'generic' errors. Then you will get the ASP.NET error. You will most likely have to turn off "Custom Errors" in your web.config as well to find out truly what is going wrong.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend 
Gearcam
  • Gearcam
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
ok all that done now during setup i get

serviceLocator cannot be null

Parameter name: serviceLocator

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: serviceLocator cannot be null

Parameter name: serviceLocator

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentNullException: serviceLocator cannot be null

Parameter name: serviceLocator]

YAF.Types.CodeContracts.ArgumentNotNull(T obj, String argumentName) +72

YAF.Types.Interfaces.IServiceLocatorExtensions.Get(IServiceLocator serviceLocator) +26

YAF.Classes.Data.MsSqlDbAccess.get_Current() +16

YAF.Install._default.Page_Init(Object sender, EventArgs e) +9

System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14

System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35

System.Web.UI.Control.OnInit(EventArgs e) +99

System.Web.UI.Page.OnInit(EventArgs e) +12

System.Web.UI.Control.InitRecursive(Control namingContainer) +333

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

when i try to run the setup

??

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer
12 years ago
You're missing YAF.NET libraries in your root /bin directory.
dudboy
  • dudboy
  • 51.2% (Neutral)
  • YAF Forumling
12 years ago
I am also trying to run this forum outside of the root directory and getting this error

Line 25:

Line 26:

Line 27:

Line 28:

Line 29:

I have done everything the set up advises and have the bin files in the root of the web hosting and not /forum

Any help apreciated

squirrel
12 years ago

I am also trying to run this forum outside of the root directory and getting this error

Line 25:

Line 26:

Line 27:

Line 28:

Line 29:

I have done everything the set up advises and have the bin files in the root of the web hosting and not /forum

Any help apreciated

Originally Posted by: dudboy 

I'm not actually seeing an error pointed out in the above code. We would need to see the full error response to help.


If you can't find it using the forum search, try my signature link -- searches this site using Google: Google is my Friend