Welcome Guest Search | Active Topics | Log In | Register

New Ney Another Form installation Options · View
balochbaahand
#1 Posted : Thursday, October 23, 2008 9:53:56 AM
Rank: Advanced Member


Joined: 10/23/2008
Posts: 32
Location: Bahrain
i created a folder in my root folder and named it as forum inside this folder i pasted the yetanotherforum files,
i changed default.config to web.config.
i corrected the connection string to my mssql database..
when i try to browse the install/default.aspx
i get the following error can you please help...
**************************************

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 16: <compilation defaultLanguage="c#" debug="false"/>
Line 17: <pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>
Line 18: <authentication mode="Forms">
Line 19: <forms name=".YAFNET_Authentication" timeout="525600" />
Line 20: </authentication>




Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
test2005
#2 Posted : Thursday, October 23, 2008 10:08:23 AM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 927
Location: Italy

Try using the default setting.

Code:

<authentication mode="Forms">
    <forms name=".YAFNET_Authentication" protection="All" timeout="43200" cookieless="UseCookies"/>
</authentication>


.....the man in black fled across the desert..........and the gunslinger followed.....

balochbaahand
#3 Posted : Thursday, October 23, 2008 12:15:35 PM
Rank: Advanced Member


Joined: 10/23/2008
Posts: 32
Location: Bahrain
Hey,
Thanks for your reply.. i tried what you told me i still get the same error..
i changed default.config to web.config is that ok.. or is there anything else that i have to do thanks..
test2005
#4 Posted : Friday, October 24, 2008 8:59:35 AM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 927
Location: Italy

Sorry, didn't see the full message. The error you getting is IIS related. Your running YAF in a virtual directory, which is fine, but you need to configure YAF as though it was in a "physical" sub-directory. The problem is in your web.config file, but not where the error is pointing to. If that helps at all.

Depending upon the server, configuring virtual directories can be tricky. Most causes for this error are "ApplicationName" entries not matching.

As far as changing default.config to web.config, whatever gets it working! My advise is get it running localy first. Then move it to the server. Your almost sure it's configuration problems then.


.....the man in black fled across the desert..........and the gunslinger followed.....

balochbaahand
#5 Posted : Friday, October 24, 2008 10:20:19 AM
Rank: Advanced Member


Joined: 10/23/2008
Posts: 32
Location: Bahrain
Thanks alot for replying i fixed the problem it was coz i did not put the web.config and the yaf.config in the root folder thanks alot
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.072 seconds.

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