Total newbie first site problems please help

Discussion in 'ASP.NET WebServices' started by Bruce, Apr 20, 2006.

  1. Bruce

    Bruce DiscountASP.NET Staff

    based on the error message, your application is trying to connect to a database located on the server where the application reside.

    It will work on your computer because your computer probably has a SQL server installed.

    For this to work on our server, you'll need to move the data to our SQL server and update your connection string accordingly.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  2. hi all,

    I am totally new to this so forgive my question if the answer is simple /emoticons/confused.gif

    I have just created my first e-commerce site in ASP.NET using Visual Studio.NET 2003, everything works fine on my local machine, however when i came to upload to the web host i get this error:

    Specified SQL server not found: Server=(local)\NetSDK

    i have included the stack trace at the base of this post.

    I have used an MSDE database for the application. As i say i am a total newbie so any help is much appreciated.

    Many Thanks for any help.

    Stack Trace:

    [SqlException: Specified SQL server not found: Server=(local)\NetSDK]
    System.Data.SqlClient.ConnectionPool.CreateConnection() +402
    System.Data.SqlClient.ConnectionPool.UserCreateRequest() +151
    System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +386
    System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +370
    System.Data.SqlClient.SqlConnection.Open() +386
    JAGImprintables.Catalog.GetDepartments() in C:\MyCommerceSite\JAGImprintables\BusinessObjects\Catalog.vb:157
    JAGImprintables.DepartmentsList.Page_Load(Object sender, EventArgs e) in C:\MyCommerceSite\JAGImprintables\UserControls\DepartmentsList.ascx.vb:40
    System.Web.UI.Control.OnLoad(EventArgs e) +67
    System.Web.UI.Control.LoadRecursive() +35
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Control.LoadRecursive() +98
    System.Web.UI.Page.ProcessRequestMain() +750
     
  3. Hi

    Thanks all is sorted now

    Thanks for your help
     

Share This Page