Welcome Guest Search | Active Topics | Log In | Register

Help with a new install Options · View
ShadowGod
#1 Posted : Thursday, May 15, 2008 9:24:14 PM

Rank: YAF Forumling


Joined: 5/15/2008
Posts: 6
Location: Connecticut
I just downloaded a copy to try and set up a forum on my personal website. I have Windows hosting with Network Solutions. I uploaded all the files into a directory on my web server.

My first problem is trying to create a database on my web site. I login to my account manager on Network Solutions, and go to the database manager to create a SQL Server 2005 database for my forum.

It asks for a DSN (Data Source Name), what do I put in for that?

Does the DSN and the Database Name have to match something in one of the config files?

Thanks for the help!

EDIT:

Perhaps this is a bit vague ... So here is exactly what I've been doing:

1) My hosting provider (Network Solutions) lets me setup a MS SQL 2005 database. I went there and setup a database using the Database Name "yaf_forum", the DSN "ds_yaf" (my host defines DSN as "The name you will use in your HTML code to reference the database."Wink, and a name and password. My database also has a "server ip" address.

So considering it's a MSSQL 2005 database and I have all those pieces of information, what would the connection string be? I tried a bunch at connectionstrings.com but none worked.

EDIT 2:

Ok here's the error I am getting now:

Server Error in '/' Application.


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 18: <compilation defaultLanguage="c#" debug="false"/>
Line 19: <pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>
Line 20: <authentication mode="Forms">
Line 21: <forms name=".YAFNET_Authentication" timeout="525600" />
Line 22: </authentication>


Source File: E:\0\1\11\52\1500867\user\1614561\htdocs\forum\web.config Line: 20



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210



Any ideas?


-ShadowGod
ShadowGod
#2 Posted : Friday, May 16, 2008 6:51:42 AM

Rank: YAF Forumling


Joined: 5/15/2008
Posts: 6
Location: Connecticut
Ok I think I solved all my errors (so far) and got to the installation screen, for everyone elses benefit, here is what I had to do:

1) Had to move (not copy) the entire /bin directory and the web.config, yafnet.config, and UrlRewriter.config files from my /forum directory to the root directory.

2) Had to edit the web.config file to add requirePermission="false" in two places, right after section name="yafnet" and also right after section name="rewriter".
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 beta | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.089 seconds.

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