I am attempting to get YAF and umbraco to work together. The tutorials I found online are out of date. I can get umbraco to work just fine by itself and the same for YAF but not together. Has anyone had any success in getting the two to work together in the last few months. I am using the latest versions of both. Every time I attempt it, I get a different error. Most recently YAF is looking for the umbraco DLL's in the /yaf folder. If I place them there, they crash IIS
I forgot to remove YAF as an application so I fixed the dll problem but now this is the error I was getting before:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
Line 23: <img src="~/yaf/images/YAFLogo.jpg" runat="server" alt="YetAnotherForum" id="imgBanner" /><br/> Line 24: <form id="form1" runat="server" enctype="multipart/form-data"> Line 25: <YAF:Forum runat="server" ID="yafForum" /> Line 26: </form> Line 27: </body>
I have a feeling that YAF's db is not initalizing or somethning.
I'm stuck with the same error trying to combine Umbraco 4.5.1 and YAF.Net 1.9.4
I analyzed the stack trace and it seems the problem is located in the YAF.Modules Namespace Function FindModules which loops through all assamblies and modules and returns a list of all types.
I don't think it's a problem with the database as the install function works fine and YAF can successfully connect to the database.
Still I'm not sure what causes the problem, I'm pretty new to umbraco and have done several projects with YAF.Net, but YAF.Net has changed a lot since the last version and I have still some issues getting used to the new structure.
I believe I got it working - or at least I get something displayed ;-)
I haven't thoroughly testet it though ...
I ran into several issues I haven't thought of before so I will post several problems I had so maybe someone can fix his issues faster ;-)
Make sure your YAF installtion is really accessible. I know this sounds kind of odd, but I had to alter YAF.FileRoot and YAF.AppRoot several times until I got it up and running again - see app.config). The best way to test this is to overwrite your main web.config (the one from Umbraco with the default web.config from YAF.Net and see if you get the forum running in the subfolder (or folder structure)
For test purposes you might have to temporarily remove Form.browser from your App_Browser directory as this file caused a lot of parsing errors when I only ran YAF.Net (which is pretty clear as we do not have the right references)
Remove Umbraco Channels path="umbraco/channels.aspx" path="umbraco/channels/word.aspx" from the web.config as they use a different CookComputing.XmlRpcV2.dll than YAF.Net does (apparently Umbraco uses still a pretty old version)
The current web.config I'm running both apps from uses the Umbraco Membership Provider and seems to work pretty good, although I haven't tested it thoroughly yet. I started with the YAF.Net web.config - edited the paths to the config files - and added the stuff from the Umbraco web.config section by section just to be sure I really know what's going on.
I hope this helps!
BTW: This solution worked for me for Umbraco Version 4.5.1 and YAF.Net 1.9.4
The solution isn't perfect, but I believe it's a starting point!
Here is my web.config, it still has a lot of comments in it, but I wanted to make sure I have everything in it if I want to make some changes. (YAF is installed in the subfolder \Yaf\ )
The Dashboard seems to have some issues when the channels are removed. So now I'm trying to get some redirect binding to work which should allow both dlls to be used by the same application, I let you know if I find a solution (if you have the same problem)
I have the same issue. Now I also have There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined with your web.config
I ended up using the <remove> command in the web config to remove those before referencing them. I still end up getting "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. " when I connect to YAF.
Sorry for constantly ranting about this but I almost have it working. I undid 5 hours of messing up and got the /yaf/ folder to finally work. I had the wrong version of that dll in the bin folder. Have you had any luck embedding yaf into your umbraco site so it is has the umbraco navigation?
That is the only thing that is not working for me right now
sorry that I haven't posted earlier but I believe we are in a slightly different time zone ;-)
Actually I haven't had any problems with the Scriptresource section, I just updated all .Net 3.5 / .Net 2.0 references from YAF.Net to .Net 4.0. As the framework is downwards compatible - at least most of it - it should work, and it does for me ...
The only tricky thing is the urlrewriter which has to be modified so YAF.Net finds all the websites which are nested into the umbraco pages.
Could you explain which section you believe causes the error and how this affacts the website navigation?
The Cook**.dll file is causing the issues. If I place the version from yaf (2.4.0.0) into the root (umbraco's) bin folder Everything works except the navigation in hte admin /umbraco section
If you have msn messenger: [email protected] aol: drmmrkid2 yahoo: drmmrkid or gmail: [email protected] this might go quicker. I could then post the solution here :)
If you have msn messenger: [email protected] aol: drmmrkid2 yahoo: drmmrkid or gmail: [email protected] this might go quicker. I could then post the solution here :)
I encountered the problem you are referring to yesterday. I posted the solution about 5 posts earlier I believe.
You have to use the old Cook*.dll in your bin folder and uncomment the channels which are referring to it. Now the admin interface should be working fine but the forum does not as it uses a different dll version. Copy the newer Cook*.dll to your GAC folder (I believe it's version 2.4 and the GAC folder is located in WINDOWS_DIR\Assemblies). The last step should be that you have to remove the channel references for the yaf subdirectory. I posted a web.config part a few posts earlier which should do the trick
I forgot to deploy to the GAC. That now allows me to have the /yaf/ folder and everything else work. I only have one more issue. I added the <yaf:forums> tag to a new document called forums.aspx and I am getting this error:
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] DNA.UI.ClientScriptManager.RegisterScriptsOnPagePreRenderComplete(Object sender, EventArgs e) +379 System.EventHandler.Invoke(Object sender, EventArgs e) +0 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4526
Are you trying to embed your boards into your site?
I have to admit I'm not quite sure which script is causing your error, I didn't encounter that error and my board is working fine as far as I can tell. A problem might be the urlrewriter which has to be configured properly for the board to work.
Could you tell me which parts are working for you? Does the forum get displayed or do you always get the error you have mentioned?
Next I have a content page "myForum" which uses the template forum in the runway page. (Additionally I installed the top navigation module to have easy access. So when I access my.example.org/myForum.aspx the upper template gets executed and the forum rendered.
The most interesting line in my UrlRewriting.config is:
Well I gave it a quick test and it seems that the DNA.dll (DotNetAge) is causing the error while setting up some script. I'm afraid I cannot help you with this right now as I'm not familiar with this functionality from YAF.Net. (I believe that this dll was implemented in YAF.Net in 1.9.3 or 1.9.4 as I did not encounter it in earlier versions.
I added <add name="YafRewrite" virtualUrl="forums.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/default.aspx?$1" ignoreCase="true" /> to my config/UrlRewriting.config and it mostly works. My theme however is not copying over. Essently it is just redirecting to /yaf/
Matthias was able to get it working for himself and I was as well. www.sirianconsortium.com is how it ended up. You ende up compying most of the YAF files into the root directory instead of leaving them in the /yaf/ folder. Visis http://stackoverflow.com/questions/3383595/umbraco-and-yaf this to see the summary if you don't feel like reading this entire board post.
The way I got the skin working was by copying the theme masterpage and using that and putting the board stuff in it then placing that in its own file. Not ideal but it worked
I got everything to work just fine and didn't had to copy anything to the umbraco folder. Everything is inside the Yaf folder.
The skin problem I just had was a misconfiguration. Forgot to had the path in the <add key="YAF.AppRoot" value="/YAF" />
I was misleaded when I read the info in the app.config stating that this should point to the bin and App_Code root... but UrlRewriting takes care of this.
I guess everything is perfect integrated, even the umbracoMembership. Just have to tune up my registration form in umbraco to set avatar url and a few other things.
No. I did a blank umbraco install and created a custom template for the project.
But the only requirement I didn't see it documented by anyone else was the runat="server" tag in the head section... The rest worked like I read everywhere...
Hi guys, Thanks to everyone in the forum discussion for helping me integrate YAF into Umbraco. I've built a pretty seemless integration sharing the same Membership provider.
The problem I've finally run into is that when I update "profile" information inside YAF such as Birthday, Location, and Interests; that information is only saved until I upload a new dll or change the web.config. This might be because the information is only stored in the cache and not ever getting to the dbo.yaf_prov_Profile table. I looked into the dbo.yaf_prov_Profile table after saving my profile information and it was still empty. The dbo.yaf_prov_Application table does contain the application name that I choose in the web.config but I'm thinking that It's my web.config settings that are causing the issue.
Here are the web.config settings I have that may be the issue:
hi, i recently started working with yaf and umbraco and i could really use some help with the config file..
so far i have gotten yaf up and running and umbraco, i can login but i cant register for some reason...
when i attempt to register i get:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
i tried an old config file with just umbraco with my site and i could log in using the membership provider without a problem. so im guessing its one of the settings in the web.config file that i changed
I really could do with some help, I have been pulling my hair out for a couple of days now. I am new to Umbraco and have never used YAF before, but the project I am working requires me to integrate the two.
I am using Umbraco 4.5.2 and have downloaded YAF 1.9.5 (binary version). My Umbraco project is an ASP.NET web application, I don't know if that is a problem when integrating YAF?
Is there any documentation anywhere that will help me integrate 1.9.5 YAF (Binary version or source, I don't really care) into Umbraco 4.5.2 Web Application.
The scenario I am looking for is on my Umbraco site I use ASP.NET login controls for users to login (I have this working as it stands) - the forum then sits inside a directory mysite.com/yaf.
To start, the best thing is probably to download the yaf source and change the assemblies to 4.0 if you are using that and try to build it. You will have to work out the errors tho.
After playing so much in YAF with Umbraco, i thinks it is much better if we are using nForum. It is integrated and definetely sufficient for daily forum :)
Umbraco and YAF
I am attempting to get YAF and umbraco to work together. The tutorials I found online are out of date. I can get umbraco to work just fine by itself and the same for YAF but not together. Has anyone had any success in getting the two to work together in the last few months. I am using the latest versions of both. Every time I attempt it, I get a different error. Most recently YAF is looking for the umbraco DLL's in the /yaf folder. If I place them there, they crash IIS
I forgot to remove YAF as an application so I fixed the dll problem but now this is the error I was getting before:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Source Error:
Line 23: <img src="~/yaf/images/YAFLogo.jpg" runat="server" alt="YetAnotherForum" id="imgBanner" /><br/>
Line 24: <form id="form1" runat="server" enctype="multipart/form-data">
Line 25: <YAF:Forum runat="server" ID="yafForum" />
Line 26: </form>
Line 27: </body>
I have a feeling that YAF's db is not initalizing or somethning.
Hi,
I'm stuck with the same error trying to combine Umbraco 4.5.1 and YAF.Net 1.9.4
I analyzed the stack trace and it seems the problem is located in the YAF.Modules Namespace Function FindModules which loops through all assamblies and modules and returns a list of all types.
I don't think it's a problem with the database as the install function works fine and YAF can successfully connect to the database.
Still I'm not sure what causes the problem, I'm pretty new to umbraco and have done several projects with YAF.Net, but YAF.Net has changed a lot since the last version and I have still some issues getting used to the new structure.
Anybody has some pointers where to start from?
Greetz
Hi,
I believe I got it working - or at least I get something displayed ;-)
I haven't thoroughly testet it though ...
I ran into several issues I haven't thought of before so I will post several problems I had so maybe someone can fix his issues faster ;-)
The current web.config I'm running both apps from uses the Umbraco Membership Provider and seems to work pretty good, although I haven't tested it thoroughly yet. I started with the YAF.Net web.config - edited the paths to the config files - and added the stuff from the Umbraco web.config section by section just to be sure I really know what's going on.
I hope this helps!
BTW: This solution worked for me for Umbraco Version 4.5.1 and YAF.Net 1.9.4
Greetz
Would you mind pasting your web.config? Thank you :)
**EDIT**
That seemed to work. Now I just need to work out a few bugs
Hi,
I'm glad to hear that it is working!
The solution isn't perfect, but I believe it's a starting point!
Here is my web.config, it still has a lot of comments in it, but I wanted to make sure I have everything in it if I want to make some changes. (YAF is installed in the subfolder \Yaf\ )
The Dashboard seems to have some issues when the channels are removed. So now I'm trying to get some redirect binding to work which should allow both dlls to be used by the same application, I let you know if I find a solution (if you have the same problem)
Greetz
I have the same issue. Now I also have There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined with your web.config
Ok,
another update. Now I'm using the old CookComputing.XmlRpcV2.dll (which is shipped with Umbraco 4.5.1) and added the channels to the main web.config.
I added the newer version of CookComputing.XmlRpcV2.dll to the GAC of the server - just in case - and created a web.config file in the yaf directory:
Now both the forum and the dashboard are working - as far as I can see, hope this helps!
Greetz
I am still getting that same error. What am I doing wrong?
If I remove this Umbraco works but then YAF is busted
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=2.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
What Application Pool are you using? .NET 4.0?
I ended up using the <remove> command in the web config to remove those before referencing them. I still end up getting "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. " when I connect to YAF.
Sorry for constantly ranting about this but I almost have it working. I undid 5 hours of messing up and got the /yaf/ folder to finally work. I had the wrong version of that dll in the bin folder. Have you had any luck embedding yaf into your umbraco site so it is has the umbraco navigation?
That is the only thing that is not working for me right now
Hi,
sorry that I haven't posted earlier but I believe we are in a slightly different time zone ;-)
Actually I haven't had any problems with the Scriptresource section, I just updated all .Net 3.5 / .Net 2.0 references from YAF.Net to .Net 4.0. As the framework is downwards compatible - at least most of it - it should work, and it does for me ...
The only tricky thing is the urlrewriter which has to be modified so YAF.Net finds all the websites which are nested into the umbraco pages.
Could you explain which section you believe causes the error and how this affacts the website navigation?
The Cook**.dll file is causing the issues. If I place the version from yaf (2.4.0.0) into the root (umbraco's) bin folder Everything works except the navigation in hte admin /umbraco section
If you have msn messenger: [email protected] aol: drmmrkid2 yahoo: drmmrkid or gmail: [email protected] this might go quicker. I could then post the solution here :)
If you have msn messenger: [email protected] aol: drmmrkid2 yahoo: drmmrkid or gmail: [email protected] this might go quicker. I could then post the solution here :)
Hi,
I encountered the problem you are referring to yesterday. I posted the solution about 5 posts earlier I believe.
You have to use the old Cook*.dll in your bin folder and uncomment the channels which are referring to it. Now the admin interface should be working fine but the forum does not as it uses a different dll version. Copy the newer Cook*.dll to your GAC folder (I believe it's version 2.4 and the GAC folder is located in WINDOWS_DIR\Assemblies). The last step should be that you have to remove the channel references for the yaf subdirectory. I posted a web.config part a few posts earlier which should do the trick
Good luck!
I forgot to deploy to the GAC. That now allows me to have the /yaf/ folder and everything else work. I only have one more issue. I added the <yaf:forums> tag to a new document called forums.aspx and I am getting this error:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
DNA.UI.ClientScriptManager.RegisterScriptsOnPagePreRenderComplete(Object sender, EventArgs e) +379
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4526
Are you trying to embed your boards into your site?
I have to admit I'm not quite sure which script is causing your error, I didn't encounter that error and my board is working fine as far as I can tell. A problem might be the urlrewriter which has to be configured properly for the board to work.
Could you tell me which parts are working for you? Does the forum get displayed or do you always get the error you have mentioned?
If I go to mysite.com/YAF/ everything works. If I go to mysite.com/forums.aspx it does not work
Here is my forums.aspx:
<%@ Master Language="C#" MasterPageFile="~/masterpages/CWS_Master.master" AutoEventWireup="true" %>
<%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>
<script runat="server">
public void Page_Error( object sender, System.EventArgs e )
{
Exception x = Server.GetLastError();
YAF.Classes.Data.DB.eventlog_create(YafServices.InitializeDb.Initialized ? (int?)YafContext.Current.PageUserID : null , this, x );
YAF.Classes.Core.CreateMail.CreateLogEmail(x);
Response.Write(x.ToString());
}
</script>
<asp:content ContentPlaceHolderId="headerLinksContent" runat="server">
</asp:content>
<asp:content ContentPlaceHolderId="SideBarContent" runat="server">
<!-- XSLT Macro - Sub Navi -->
<umbraco:Macro Alias="CWS_SubNavi" runat="server"></umbraco:Macro>
</asp:content>
<asp:content ContentPlaceHolderId="ChildContent" runat="server">
<div class="content oneCol left clearfix">
<!-- One Column content -->
<h2 class="flashHeader">
<strong><umbraco:Item field="pageName" runat="server"></umbraco:Item>.</strong>
<umbraco:Item field="headerText" stripParagraph="true" runat="server"></umbraco:Item>
</h2>
<YAF:Forum runat="server" ID="forums"></YAF:Forum>
</div>
</asp:content>
I added this to my /config/UrlRewriting.config
<add name="YafFramehelperRewrite" virtualUrl="framehelper.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/framehelper.aspx?$1" ignoreCase="true" />
<add name="YafAdvancedRewrite" virtualUrl="advanced.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/advanced.aspx?$1" ignoreCase="true" />
<add name="YafErrorRewrite" virtualUrl="error.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/error.aspx?$1" ignoreCase="true" />
<add name="YafResourceRewrite" virtualUrl="resource.ashx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/resource.ashx?$1" ignoreCase="true" />
<add name="YafRewrite" virtualUrl="/yaf/default.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/forums.aspx?$1" ignoreCase="true" />
Ok, I'm not quite sure about your setup right now therefore I will try to explain my current setup to give you some leads:
I have a forum template which is nested in the Runway master with following code:
The div tag was added just for convenience.
Next I have a content page "myForum" which uses the template forum in the runway page. (Additionally I installed the top navigation module to have easy access. So when I access my.example.org/myForum.aspx the upper template gets executed and the forum rendered.
The most interesting line in my UrlRewriting.config is:
I hope this helps you!
If this doesn't give you the right hint to solve the problem I would like to know which setup you have, maybe we can find some config error that way.
It has something to do with the Umbraco Creative Website template
I do not have the Creative Website template installed right now, but I will give it a shot.
Well I gave it a quick test and it seems that the DNA.dll (DotNetAge) is causing the error while setting up some script. I'm afraid I cannot help you with this right now as I'm not familiar with this functionality from YAF.Net. (I believe that this dll was implemented in YAF.Net in 1.9.3 or 1.9.4 as I did not encounter it in earlier versions.
I added <add name="YafRewrite" virtualUrl="forums.aspx(.*)" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="/yaf/default.aspx?$1" ignoreCase="true" /> to my config/UrlRewriting.config and it mostly works. My theme however is not copying over. Essently it is just redirecting to /yaf/
Hi Mitchell,
Did you find the solution for that null exception in the DNA dll?
I'm having the exact same problem... My forum works fine if I open it in browser, but get an exception when I add it as a control inside Umbraco... :(
The string you added in UrlRewriting in your last answer doesn't change anything in my installation. Get the same null exception...
Getting crazy with this, cause don't know what else to try...
I'd be really glad if you could help me out in this...
Thanks!
Cheers,
João
Ok...
After banging my head around my living room for too long... and 5 minutes after I post this... Finally got it!
For those who care and have the same problem...
Put a runat="server" property in your template Head section. And you have to have a <title></title> or it will throw the null exception...
Now just have to figure out how to map the skin path!
João:
Matthias was able to get it working for himself and I was as well. www.sirianconsortium.com is how it ended up. You ende up compying most of the YAF files into the root directory instead of leaving them in the /yaf/ folder. Visis http://stackoverflow.com/questions/3383595/umbraco-and-yaf this to see the summary if you don't feel like reading this entire board post.
The way I got the skin working was by copying the theme masterpage and using that and putting the board stuff in it then placing that in its own file. Not ideal but it worked
Hi,
Thank you for your answer and help!
I got everything to work just fine and didn't had to copy anything to the umbraco folder. Everything is inside the Yaf folder.
The skin problem I just had was a misconfiguration. Forgot to had the path in the <add key="YAF.AppRoot" value="/YAF" />
I was misleaded when I read the info in the app.config stating that this should point to the bin and App_Code root... but UrlRewriting takes care of this.
I guess everything is perfect integrated, even the umbracoMembership. Just have to tune up my registration form in umbraco to set avatar url and a few other things.
This post was a really great help along with this one http://dawoe.blogspot.com/search/label/Umbraco
Hurray! ;)
Are you using the CWS theme?
No. I did a blank umbraco install and created a custom template for the project.
But the only requirement I didn't see it documented by anyone else was the runat="server" tag in the head section... The rest worked like I read everywhere...
Does anybody have trying the solution in latest Umbraco 4.5.2? it is work?
Thanks :)
Hi ridi,
It works just fine on 4.5.2.
Read the 3rd page of this thread and you have lots of resources you can look at.
If you stump at something, please let me know so I can try to help you.
João Pereira
Hi guys, Thanks to everyone in the forum discussion for helping me integrate YAF into Umbraco. I've built a pretty seemless integration sharing the same Membership provider.
The problem I've finally run into is that when I update "profile" information inside YAF such as Birthday, Location, and Interests; that information is only saved until I upload a new dll or change the web.config. This might be because the information is only stored in the cache and not ever getting to the dbo.yaf_prov_Profile table. I looked into the dbo.yaf_prov_Profile table after saving my profile information and it was still empty. The dbo.yaf_prov_Application table does contain the application name that I choose in the web.config but I'm thinking that It's my web.config settings that are causing the issue.
Here are the web.config settings I have that may be the issue:
Thanks for your help. I'm willing to share any information on how I was able to set up YAF in Umbraco.
I'm using YAF-v1.9.5-FINAL-SRC rebuilt in .NET 4.0 on Umbraco 4.5.2 (.NET 4.0) .
hi, i recently started working with yaf and umbraco and i could really use some help with the config file..
so far i have gotten yaf up and running and umbraco, i can login but i cant register for some reason...
when i attempt to register i get:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
i tried an old config file with just umbraco with my site and i could log in using the membership provider without a problem. so im guessing its one of the settings in the web.config file that i changed
Here is the current web.config file
any help is greatly appreciated.
http://forum.yetanotherforum.net/yaf_postsm35563_Default-YAF-Profile-Provider-with-ASP-NET-Membership-and-Role-Provider.aspx#post35563
That post helped my solve my profile issue.
This is what I landed on for my profile info in the web.config:
After that it still didn't work, I needed to run aspnet_regsql.exe on the database I was using to add my missing tables.
Robert, any luck with registration? Curious to know how you set up Yaf inside of umbraco and how you handle the UrlRewriting.config.
If you can narrow down your issue to a specific area, I might be able to help you.
Jon
Hi,
I really could do with some help, I have been pulling my hair out for a couple of days now. I am new to Umbraco and have never used YAF before, but the project I am working requires me to integrate the two.
I am using Umbraco 4.5.2 and have downloaded YAF 1.9.5 (binary version). My Umbraco project is an ASP.NET web application, I don't know if that is a problem when integrating YAF?
I orginally followed http://dawoe.blogspot.com/2009/02/intergrate-yet-another-forum-193rc2.html with version 1.9.3, which was working ok, but then was getting loads of build errors to do with YAF, in the end I completley broke my project to the point where I am starting again :-(
Is there any documentation anywhere that will help me integrate 1.9.5 YAF (Binary version or source, I don't really care) into Umbraco 4.5.2 Web Application.
The scenario I am looking for is on my Umbraco site I use ASP.NET login controls for users to login (I have this working as it stands) - the forum then sits inside a directory mysite.com/yaf.
Any help will be appreciated.
Cheers
Chris
To start, the best thing is probably to download the yaf source and change the assemblies to 4.0 if you are using that and try to build it. You will have to work out the errors tho.
After playing so much in YAF with Umbraco, i thinks it is much better if we are using nForum. It is integrated and definetely sufficient for daily forum :)
is working on a reply...