My website log in problem

Discussion in 'ASP.NET 2.0' started by ie1jch, Feb 14, 2006.

  1. My website have a log in function. When I develop itusing the VWD, it worked fine. after I uploaded I've got the following message when I try to log in as a user. Please help. Thanks

    Server Error in '/' Application.


    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
     
  2. The first place I would look is your connection string. Be sure your connection string is pointing to the live sql server.


    Joel Thoms

    DiscountASP.NET
    http://www.DiscountASP.NET
     
  3. you may want to use this trick to replace your 'LocalSqlServer' string if you're using any of the new 2.0 components

     

Share This Page