YAFLogo

ccrolley
  • ccrolley
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Hello Everyone, and thanks for all of the helpful stuff I've found here so far.

I'm having a couple of recurring issues I can't get solved, and I hope you can help me out.

Configuration: Windows XP, VS2008, SQL Server, IIS 5.1, Cassini Web Server for VS2008.

Application BUILDS and WORKS perfectly with forums in a subdirectory when created as a Website in VS2008.

(Example: http://localhost/test/forums compiles and runs.)

Application DOES NOT build when I create a Web Application Project and do exactly the same things.

Application DOES NOT build when I DO NOT put forums in a subdirectory.

Result in both failure cases: Error 5

The type or namespace name 'Editor' does not exist in the namespace 'YAF' (are you missing an assembly reference?)

All dlls are in place (bin), all files in place (app_code), all references are in place.

I can't believe I'm the only one to experience this. Anyone know what I'm doing wrong?

Thanks,

Charles

Sponsor
tlapse
  • tlapse
  • 53.6% (Neutral)
  • YAF Forumling
15 years ago
I just ran into the same problem. Where is Yaf.editor?
jshepler
15 years ago
It takes a little more work to get yaf converted to a web application project. There are a couple of wiki articles and more than a couple forum posts that talk about it. One of the things you have to do is modify some stuff in the section in the web.config, specifically:

<add tagPrefix="YAF" namespace="YAF.Classes" assembly="Portal" />
<add tagPrefix="YAF" namespace="YAF" assembly="Portal" />
<add tagPrefix="editor" namespace="YAF.Editor" assembly="Portal" />

You have to specify the WAP's assembly name that these controls are in (Portal in my example).


not jsheLPer