Integrating YAF 1.9.5.5 with Azure

旧城冷巷雨未停 提交于 2019-12-25 00:21:56

问题


I have a problem with integrating YAF 1.9.5.5 to azure 'web role'.

I successfully added forum to my page and configured config as recommended.

  <%@ Page MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" ValidateRequest="false" Inherits="System.Web.Mvc.ViewPage<dynamic>"%>

<%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>

<asp:Content ID="SupportTitle" ContentPlaceHolderID="TitleContent" runat="server">
Support
</asp:Content>
<asp:Content ID="SupportContent" ContentPlaceHolderID="MainContent" runat="server">

<form id="form1" runat="server" enctype="multipart/form-data">
<YAF:Forum runat="server" ID="forum" BoardID="1" />
</form>
</asp:Content>

When I run 'web role' the forum successfully displayed, but all actions is not working. For example when I click "collapsible , new topic, post response" buttons I have no result, just refreshes page

Can anyone help me with this??

Best regards, Stepan.


回答1:


Out-of-box yaf.net doesn't support SQL Azure.

Follow this detailed guide on how to install yaf.net on Windows Azure in my blog.




回答2:


It sounds like the script files are not downloading correctly or something like that. Have you looked at the html that gets downloaded to see if it looks correct? Maybe compare your site to another YAF site to see what is missing.



来源:https://stackoverflow.com/questions/10949783/integrating-yaf-1-9-5-5-with-azure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!