YAFLogo

jintoppy
  • jintoppy
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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
15 years ago
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
15 years ago

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.

bbobb wrote:

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
15 years ago

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 wrote:

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 wrote:

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

jintoppy wrote:

jintoppy
  • jintoppy
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
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
15 years ago
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.