YAFLogo

yauson
  • yauson
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
2009-12-09T10:03:35Z
Hi,

Here is my error after installation:

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'YAF' could not be found (are you missing a using directive or an assembly reference?)

Source Error:

[No relevant source lines]

Source File: d:\hosting\3092817\html\web.config Line: 122

-------

app.config

-->

<add key="YAF.FileRoot" value="~/forum"/>

<!--

******************************************************************

** Optional AppRoot ** Defaults to: "~/" **

If YAF forum URL is different than the Application Root, specify

it manually here. Do NOT include server information.

e.g. ~/forum

-->

<add key="YAF.AppRoot" value="~/" />

Does anything set wrongly?

Sponsor
yauson
  • yauson
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
2009-12-09T10:05:36Z
If I move all things from forum into root, it would probably work~~

Does anyone know why?

Elvan
  • Elvan
  • 51.2% (Neutral)
  • YAF Forumling
2010-01-23T18:55:38Z
Hello,

Did you find a solution for your problem? I have the same problem:

I have forum in subfolder /Forum. On local machine everything works fine. When I move to production server I get an error : Compiler Error Message: CS0246: The type or namespace name 'YAF' could not be found (are you missing a using directive or an assembly reference?)

My app.config has following lines:

<add key="YAF.FileRoot" value="~/forum"/>

<add key="YAF.AppRoot" value="~/Forum" /> (I tried with these lines, without these lines with the same result)

When I moved the whole forum from subfolder Forum to root - everything started to work, but I do need this forum to be in subfolder Forum.

What is wrong with my configuration? Anybody can help, please? It's urgent.

Thank you.

version 1.9.4