• khoacoi
  • 50.6% (Neutral)
  • YAF Forumling Topic Starter
15 years ago
Hi YetAnotherForum,
I'm a new member.
I've been created file web.config (copy from default.config)
<?xml version="1.0"?>
		<section name="yafnet" type="yaf.SectionHandler,yaf"/>
    <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" />

	<yafnet configSource="yafnet.config"/>
	<rewriter configSource="urlrewriter.config"/>
      <add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" name="UrlRewriter" />
		<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" />
		<customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/>
		<!--trace enabled="true" pageOutput="true"/-->
		<xhtmlConformance mode="Legacy"/></system.web>

and modified yatnet.config
	<connstr>user id=phaplua_forum;pwd=password;data source=mssql12.ixwebhosting.com;initial catalog=phaplua_forum;timeout=90</connstr>
	<!-- Enable URL Rewriting -->
	<!-- Enable these to use a custom user class "provider" -->

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

        <customErrors mode="Off"/>

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 -->

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

Please help me!
Thanks !!

  • mtranda
  • 51.8% (Neutral)
  • YAF Forumling
15 years ago
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.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button