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