Gearcam
  • Posts: 2
  • Joined: 01/01/2012
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 <add key="YAF.FileRoot" value="~/forum"/>

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:
<httpHandlers> <httpModules>

If so, please comment those tags out in your script by starting the section with <!-- and ending the section with -->

Which i have done it still will not work

Help

Regards

Steve
Sponsor
squirrel
  • Posts: 925
  • Joined: 14/01/2010
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
  • Posts: 2
  • Joined: 01/01/2012
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
  • Posts: 2544
  • Joined: 09/10/2004
You're missing YAF.NET libraries in your root /bin directory.
dudboy
  • Posts: 2
  • Joined: 29/01/2012
I am also trying to run this forum outside of the root directory and getting this error

Line 25: <globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
Line 26: <!--<globalization culture="en-US" uiCulture="en" fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->
Line 27: <authentication mode="Forms">
Line 28: <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/>
Line 29: </authentication>

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
  • Posts: 925
  • Joined: 14/01/2010
Originally Posted by: dudboy

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

Line 25: <globalization culture="en-US" uiCulture="en" requestEncoding="UTF-8" responseEncoding="UTF-8" fileEncoding="UTF-8" />
Line 26: <!--<globalization culture="en-US" uiCulture="en" fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->
Line 27: <authentication mode="Forms">
Line 28: <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/>
Line 29: </authentication>

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



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 
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved