YAFLogo

dizzy0ny
  • dizzy0ny
  • 58.4% (Neutral)
  • YAF Forumling
15 years ago
I have loaded the VS2008 project. It did it's typical conversion stuff..

I now went on to try and compile this project and receiving a large number of errors pertaining to the the pages located in \YetAnotherForum.Net\pages. these errors all complain about the YAF server tag being used in those pages. Here is an example

Error	142	Unknown server tag 'YAF:LocalizedLabel'.	D:\Projects\Websites\YetAnotherForum.NET\controls\ProfileYourAccount.ascx	7	

I also tried building the controls project itself first and verified that the new dll is copied to the bin directory of the website project. That did not help.

I am not sure, but always thought that when you are suing custom controls, the must be defined in the aspx page itself. these pages do not seem to do that and that may be why the error is occurring. Any thoughts?

Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer Topic Starter
15 years ago
It's your web.config... needs to include the YAF.* namespaces. Look at the web.config provided in the YAF v1.9.3 project.
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer Topic Starter
15 years ago

Not sure if this would be on topic here, but a question for the developers. Why did you choose to go with writing custom user-role providers rather than just building off the built in ASP.NET ones?

juanp2 wrote:

Backwards compatibility with older YAF was impossible with the ASP.NET providers.

But you are FREE to use them if you want... it's not like the custom YAF providers are required. (only if you need backward compatibility.)

dizzy0ny
  • dizzy0ny
  • 58.4% (Neutral)
  • YAF Forumling
15 years ago

It's your web.config... needs to include the YAF.* namespaces. Look at the web.config provided in the YAF v1.9.3 project.

Jaben wrote:

Ah..beautiful. I assumed the web.config that was part of the source would have the appropriate settings. I basically cut and paste the settings in dev-recommended-web.config to web.config and now i am able to compile.

I also copied that to my main website that is hosting the YAF forum and of root for app.config, db.config, URLRewriter.config, mail.config.

I get further but then i try to browser to the forum i see this.

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

Parser Error Message: Unknown server tag 'YAF:Forum'.

Source Error:

Line 18: YetAnotherForum

Line 19:

Line 20:

Line 21:

Line 22:

Source File: /forum/YetAnotherForum.NET/Default.aspx Line: 20

dizzy0ny
  • dizzy0ny
  • 58.4% (Neutral)
  • YAF Forumling
15 years ago
that should read 'I also copied that to my main website that is hosting the YAF forum and ofcourse changed the root for entries that references app.config, db.config, URLRewriter.config, mail.config.'
dizzy0ny
  • dizzy0ny
  • 58.4% (Neutral)
  • YAF Forumling
15 years ago
An thoughts on the above issue? I most likely is related to the web.config again i imagine, but i cant figure out why. All the dlls have been copied to the main website's bin.

I merged the YAF web.config with the main sites config. But still i am getting this error. I am wondering which line in the Web.Config helps the app 'know' about 'YAF:Forum' control?

dizzy0ny
  • dizzy0ny
  • 58.4% (Neutral)
  • YAF Forumling
15 years ago
In previous versions of yaf, we had a "root" element that allowed us to indicate where the root of YAF files were. In the latest beta version, where does this element go and does it still exist?
Jaben
  • Jaben
  • 100% (Exalted)
  • YAF Developer Topic Starter
15 years ago
You need to copy the /App_Code directory to the application root including the .cs files in there.
ash360
  • ash360
  • 100% (Exalted)
  • YAF Commander
15 years ago
hi folks

where can i download 1.9.3 RC1 from

thank you in advanced


Visit my Forums: FORUMZ360.com 
Mek
  • Mek
  • 100% (Exalted)
  • YAF Developer
15 years ago
Patience, my young padawan.


UserPostedImage

"It's a case of RTFM.. the only problem being we don't have a manual!"

When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon 🙂 )

ash360
  • ash360
  • 100% (Exalted)
  • YAF Commander
15 years ago
patience it is
Visit my Forums: FORUMZ360.com 
VagyokC4
  • VagyokC4
  • 63.8% (Friendly)
  • YAF Forumling
15 years ago

YAF v1.9.3 BETA ( Dated 7/3/2008 )

BETA SOFTWARE: USE AT YOUR OWN RISK

July 3rd Update:

Jaben: Added Admin Password Reset function for User Editor.

Jaben wrote:

Where do I find this functionality. I am unable to find in the User Control Panal... (I simply merged my older source version with the latest release)

I can find the new UserControl in the source, but the site doesn't seem to be calling it.

Any help would be appreciated.

VagyokC4
  • VagyokC4
  • 63.8% (Friendly)
  • YAF Forumling
15 years ago

YAF v1.9.3 BETA ( Dated 7/3/2008 )

BETA SOFTWARE: USE AT YOUR OWN RISK

July 3rd Update:

Jaben: Added Admin Password Reset function for User Editor.

VagyokC4 wrote:

Where do I find this functionality. I am unable to find in the User Control Panal... (I simply merged my older source version with the latest release)

I can find the new UserControl in the source, but the site doesn't seem to be calling it.

Any help would be appreciated.

Jaben wrote:

Ok,

I tried to copy the source over again... (I think there was a problem with the merge functionality)

Now I see more new items, and when compiling I get the following error:

Error 1 'YAF.Controls.PMView' does not contain a definition for 'FromQueryString' G:\!DEV\DCLV\!YAF\YetAnotherForum.NET\pages\cp_pm.ascx.cs 63 24 G:\...\YetAnotherForum.NET\

Any ideas how to fix this so I can compile???

VagyokC4
  • VagyokC4
  • 63.8% (Friendly)
  • YAF Forumling
15 years ago

YAF v1.9.3 BETA ( Dated 7/3/2008 )

BETA SOFTWARE: USE AT YOUR OWN RISK

July 3rd Update:

Jaben: Added Admin Password Reset function for User Editor.

VagyokC4 wrote:

Where do I find this functionality. I am unable to find in the User Control Panal... (I simply merged my older source version with the latest release)

I can find the new UserControl in the source, but the site doesn't seem to be calling it.

Any help would be appreciated.

VagyokC4 wrote:

Ok,

I tried to copy the source over again... (I think there was a problem with the merge functionality)

Now I see more new items, and when compiling I get the following error:

Error 1 'YAF.Controls.PMView' does not contain a definition for 'FromQueryString' G:\!DEV\DCLV\!YAF\YetAnotherForum.NET\pages\cp_pm.ascx.cs 63 24 G:\...\YetAnotherForum.NET\

Any ideas how to fix this so I can compile???

Jaben wrote:

Ok.. Ignore these last few posts... The problem was with WinRar trying to merge my older source with the newer source... Once I extracted to new folder, and then merged the files all seems to compile 🙂 Sorry for the posts...