connection string for sql

Discussion in 'ASP.NET / ASP.NET Core' started by Rookie, Apr 29, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I am new at this so I am probably making a dumb mistake.

    In my web.config file the connection string that I state is:

    <appSettings>
    <add key='ConnectionString' value='Data Source=mssql08;Initial Catalog=DB_144071;User ID=*********;Password=**********'/>
    <add key='Data Source' value='mssql08'/>
    <add key='Initial Catalog' value='DB_144071'/>
    <add key='User ID' value='***********'/>
    <add key='Password' value='***********'/>
    <add key='schemaName' value=''/>
    </appSettings>

    I am getting a connection error that says the table does not exist or access is denied. I double checked the credentials that I used and it still errors out. I know this is not that much information but does anyone have any ideas for me to start. Oh and is there a why to set a schemaName in the database?

    thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    this is just the setting in the web.config.

    the doesn't guarantee how your application actually uses these data.

    Is this a canned application you downloaded from the net or did you build it yourself?

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Bruce,
    Thanks for the reply, I have been working on this over the past week and actually figured out what I did wrong. I have been biulding this in VS .NET and trying to move it to the server (which is not as easy as Dreamweaver). There were a bunch of paths that I needed to change after I moved it to the web server.

    Thank you for you post,
    Jon
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page