jintoppy
  •  jintoppy
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2009-12-10T02:41:06Z
Hi all,

First of all, thanks for looking into this issue. I have downloaded YAF-v1.9.3-FINAL-BIN-NET35. I want to integrate the yaf to exisiting web application. I created a subfolder "Forum" in my webapplication and added all the yaf files to it. Moved all the bin to the application root bin folder and also moved the YAF folder in App_Code to the root, since App_Code not works in web application as far as I understood. Also, moved the db.config, mail.config,app.config, UrlRewriter.config files to the root. Changed the value of "YAF.Root" to ~/Forum, YAF.BaseUrl to ~/Forum in app.config. Also, added the database and smtp configurations in db.config and mail.config respectively. But, when I compile I get 822 errors, mostly due to the compilation problem or something. One error is "The type or namespace name 'Classes' does not exist in the namespace 'YAF' (are you missing an assembly reference?)". Another is "The type or namespace name 'PageLinks' does not exist in the namespace 'YAF.Controls' (are you missing an assembly reference?)".

Please help me on this. I tried adding YAF-v1.9.3-FINAL-SRC instead of the bin. But, that also giving errors. I have converted all to web application by right clicking on the project and selecting, "Convert to Web Application"

Your help is much appreciated, as I am trying to find the solution for 2 days.
Sponsor
bbobb
  •  bbobb
  • 100% (Exalted)
  • YAF Developer
2009-12-10T09:41:56Z
It's not related to YAF bugs as you changed source code. This problem was discussed earlier and a solution was offered too, use search.
jintoppy
  •  jintoppy
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2009-12-10T11:36:28Z
bbobb wrote:

It's not related to YAF bugs as you changed source code. This problem was discussed earlier and a solution was offered too, use search.



I haven't made any change on the source. I have changed the values in app.config as specified by the installation instruction of YAF site itself.
bbobb
  •  bbobb
  • 100% (Exalted)
  • YAF Developer
2009-12-10T11:55:37Z
jintoppy wrote:

bbobb wrote:

It's not related to YAF bugs as you changed source code. This problem was discussed earlier and a solution was offered too, use search.



I haven't made any change on the source. I have changed the values in app.config as specified by the installation instruction of YAF site itself.



jintoppy wrote:

I have converted all to web application by right clicking on the project and selecting, "Convert to Web Application"



jintoppy
  •  jintoppy
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2009-12-10T12:04:40Z
Is there would be any source change by converting to web application? I did like that, since I saw that in one forum, when I was not getting the YAF working. I am trying to integrate YAF to a web application. Thats why, I tried this way. If this is not correct, please advise me the steps for integrating YAF to the web application project.
jintoppy
  •  jintoppy
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
2009-12-10T12:21:30Z
I think, I have done like this. Differences I found was, YAF.Root key has given the value /{0}/Forum which I gave ~/Forum. Also, there is YAF.AppRoot key extra. I suppose, it may be required for another version, since I could not find this value in app.config in the YAF-v1.9.3-FINAL-BIN-NET35. Anyway, I have added that too. But, still I am getting the same number of errors. Please advise, if I missed anything.

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