YAFLogo

barney3016
  • barney3016
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Hi All

I am fairly new to forum. I have succesfully installed the basic forum and used and am using it for a florida villa forum and I am impressed with how it works. the only problem is that the basic version limits what you can change and there are things like having yaf in the web address etc that I want to change.

I am therefore setting up a new forum and want to use the full version. BUT IT DOES NOT WORK OUT THE BOX

I ahve downloaded the latest version, I go to publish like the docs say to di but I cannot, I am using VS2008 and when it builds the site it fails. I have done nothing to the files other then open the downloaded zip file and tries to build it.

What is swrong? Surely the version i download without changing anythign should at least build??

Any assistance will be well recieved. There errors i get in Visual Studio are ... They all appear to be reference problems but I have tried to do references and no joy, surely the download file should include everything I need????????

Error 1 The type or namespace name 'CookComputing' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 22 7 C:\...\YetAnotherForum.NET\

Error 2 The type or namespace name 'XmlRpcClientProtocol' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 26 28 C:\...\YetAnotherForum.NET\

Error 3 The type or namespace name 'XmlRpcMethod' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 41 4 C:\...\YetAnotherForum.NET\

Error 4 The type or namespace name 'XmlRpcMethod' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 58 4 C:\...\YetAnotherForum.NET\

Error 5 The type or namespace name 'XmlRpcMethod' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 77 4 C:\...\YetAnotherForum.NET\

Error 6 The type or namespace name 'XmlRpcMethod' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 106 4 C:\...\YetAnotherForum.NET\

Error 7 The type or namespace name 'XmlRpcMethod' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 122 4 C:\...\YetAnotherForum.NET\

Error 8 The type or namespace name 'XmlRpcMissingMapping' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 133 4 C:\...\YetAnotherForum.NET\

Error 9 The type or namespace name 'XmlRpcMissingMapping' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 147 5 C:\...\YetAnotherForum.NET\

Error 10 The type or namespace name 'XmlRpcMember' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 148 5 C:\...\YetAnotherForum.NET\

Error 11 The type or namespace name 'XmlRpcMissingMapping' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 150 5 C:\...\YetAnotherForum.NET\

Error 12 The type or namespace name 'XmlRpcMember' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 151 5 C:\...\YetAnotherForum.NET\

Error 13 The type or namespace name 'XmlRpcMember' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 153 5 C:\...\YetAnotherForum.NET\

Error 14 The type or namespace name 'XmlRpcMember' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 157 5 C:\...\YetAnotherForum.NET\

Error 15 The type or namespace name 'XmlRpcMissingMapping' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 143 4 C:\...\YetAnotherForum.NET\

Sponsor
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
15 years ago
Copy CookComputing.XmlRpcV2.dll from Bin/Net3.5 to /Bin by hand.
barney3016
  • barney3016
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Hiya

thank you for that:) :cheesy: , that has got the errors down from 16 to 9. The only errors now are the ones below and all seem to be linked to the ScriptManager :?

Error 1 The name 'ScriptManager' does not exist in the current context C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Modules\PagePopupModule.cs 91 10 C:\...\YetAnotherForum.NET\

Error 3 The name 'ScriptManager' does not exist in the current context C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Editors\TinyMce.cs 43 4 C:\...\YetAnotherForum.NET\

Error 4 The name 'ScriptManager' does not exist in the current context C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Editors\TinyMce.cs 115 4 C:\...\YetAnotherForum.NET\

Error 5 The name 'ScriptManager' does not exist in the current context C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Editors\TinyMce.cs 121 4 C:\...\YetAnotherForum.NET\

Error 6 The name 'ScriptManager' does not exist in the current context C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Forum.cs 106 9 C:\...\YetAnotherForum.NET\

Error 7 The type or namespace name 'ScriptManager' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Forum.cs 109 5 C:\...\YetAnotherForum.NET\

Error 8 The type or namespace name 'ScriptManager' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Forum.cs 109 42 C:\...\YetAnotherForum.NET\

Error 9 The best overloaded method match for 'System.Web.UI.ControlCollection.Add(System.Web.UI.Control)' has some invalid arguments C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Forum.cs 112 5 C:\...\YetAnotherForum.NET\

Error 10 Argument '1': cannot convert from 'ScriptManager' to 'System.Web.UI.Control' C:\Users\Gtwebdesign\Desktop\YAF\YetAnotherForum.NET\App_Code\YAF\Forum.cs 112 24 C:\...\YetAnotherForum.NET\

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
15 years ago
Try the same with nStuff.UpdateControls.dll.

Look for missing dlls from Bin/Net3.5 in /Bin otherwise.

barney3016
  • barney3016
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Hi there

I have tried this but I am still getting the same error. What is confusing is that the same method fotr example that causes the error does not error in one of the other projects

ScriptManager.RegisterClientScriptInclude - This method works and is all fine in the DataPanel.cs file but not in any of the others. That one appears to be looking at System.Web.Ui.ScriptManager but if I try and link to this in the other projects it does not work??

Does this help??

barney3016
  • barney3016
  • 52.4% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Hi All

Sorted - Got there in the end. From my perspective once you download a new clean version of the fuller version of yaf there are 3 things you need to do in a basic setup for it to run and for other people reading this post and also banging their head against a wall they are

1. Move from the bin 3.5 folder into the bin the CookComputing.XmlRpcV2.dll file

2. Move from the bin 3.5 folder into the bin the nstuff.UpdateControls.dll file

3. Move a copy of the recomended-NET-web.config file into the root of the project after renaming the file to just web.config

Once these have been changed then the project will at least build. before installing etc you will need to set the database path in the db.config file of course.

I hope this helps others and thanks to the dev that posted the replies above

Cheers

ki
  • ki
  • 50.2% (Neutral)
  • YAF Forumling
12 years ago
The above suggestions did not help. I solved the issue by changing Target Framework from ".NET Framework 4 Client Profile" to ".NET Framework 4" in the project setting/Application. HTH