myLittleTools Community Forum

Welcome Guest Search | Active Topics | Members | Log In | Register

Completly lost Options · View
fusioncorp
Posted: Monday, September 10, 2007 5:18:35 PM
Rank: Newbie
Groups: Member

Joined: 9/10/2007
Posts: 1
Points: 0
Location: Kentucky
Hello,

I have a situation, I am trying to get a web site up and running on my server that requires sql. The company that designed the site gave me the web.config file and everything but for some reason I can not get this site to run.

I am new to this side of things and am completely lost. Here are the steps that I took.. One, the site is uploaded to my sever. Two, I had the bak files uploaded to mylittle server. Three, I have the web.config uploaded. So I am still getting error messages. I feel like I am missing a huge step here can anyone help me out. Here is my web.config

<?xml version="1.0"?>

<configuration>

<appSettings/>

<connectionStrings>
<add name="SqlConnectionString" connectionString="Data Source=; Initial Catalog=; User ID=; Password=; Enlist=false;" />
</connectionStrings>

<system.web>

<authentication mode="Forms">
<forms defaultUrl="~/admin/" loginUrl="~/login.aspx" protection="All" slidingExpiration="true" timeout="90">
<credentials passwordFormat="MD5">
<user name="wrgfirm" password="5adbcf0079e5a4a4df9e88d246ff4c30" />
<user name="cmiller" password="42edb33986ed2389c4b5c329173832cf" />
</credentials>
</forms>
</authentication>

<compilation debug="false" explicit="true" strict="true" />

<customErrors defaultRedirect="error.aspx" mode="On">
<error statusCode="404" redirect="error.aspx?err=404" />
</customErrors>

<pages autoEventWireup="false" theme="Classic" />

</system.web>

<location path="admin">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

</configuration>


Anything would be great!
elian
Posted: Monday, September 10, 2007 5:47:03 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
1. Did you install or restore your database on the server ?
2.
Code:
<add name="SqlConnectionString" connectionString="Data Source=; Initial Catalog=; User ID=; Password=; Enlist=false;" />

You must specify the datasource, initial catalog, user id and password or your connection to the db server will always fail.

Hope this helps
Users browsing this topic
Guest


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.

Main Forum RSS : RSS

Theme created by myLittleTools
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.