Welcome Guest Search | Active Topics | Log In | Register

help me config forum before install Options · View
khoacoi
#1 Posted : Monday, September 15, 2008 4:22:23 PM

Rank: YAF Forumling


Joined: 9/15/2008
Posts: 1
Location: vietnam
Hi YetAnotherForum,
I'm a new member.
I've been created file web.config (copy from default.config)
Code:
<?xml version="1.0"?>
<configuration>
    <configSections>
        <section name="yafnet" type="yaf.SectionHandler,yaf"/>
    <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />
    </configSections>

    <yafnet configSource="yafnet.config"/>
    <rewriter configSource="urlrewriter.config"/>

    <system.web>
    <httpModules>
      <add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" name="UrlRewriter" />
    </httpModules>   
        <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
        <compilation defaultLanguage="c#" debug="false"/>
        <pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>
        <authentication mode="Forms">
            <forms name=".YAFNET_Authentication" timeout="525600" />
        </authentication>
        <customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/>
        <!--trace enabled="true" pageOutput="true"/-->
        <xhtmlConformance mode="Legacy"/></system.web>
</configuration>


and modified yatnet.config
Code:
<yafnet>
    <connstr>user id=phaplua_forum;pwd=password;data source=mssql12.ixwebhosting.com;initial catalog=phaplua_forum;timeout=90</connstr>
    <uploaddir>~/upload/</uploaddir>
    <boardid>1</boardid>
    <!-- Enable URL Rewriting -->
    <enableurlrewriting>false</enableurlrewriting>
    <!--logtomail>email=;server=;user=;pass=;</logtomail-->
    <!--categoryid>1</categoryid-->
    <!-- Enable these to use a custom user class "provider" -->
    <!--CustomUserAssembly>TinyGecko.YAFIntegration.dll</CustomUserAssembly>
    <CustomUserClass>TinyGecko.YAFIntegration.yafUserClass</CustomUserClass-->
</yafnet>


but I still have problem in Application:
Code:
<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>


Please help me!
Thanks !!
mtranda
#2 Posted : Saturday, November 08, 2008 11:07:30 AM

Rank: YAF Forumling


Joined: 11/6/2008
Posts: 3
Can you please modify your web.config file to CustomErrors="Off" instead of "RemoteOnly" and then mention what the error is ? Right now the actual error is hidden by the default error page and it's not relevant.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.044 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET