First publish and trouble with connection string

Discussion in 'Getting started' started by jalle007, Aug 17, 2012.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I was searching for ASP.NET hosting to test my aplicaiton and finally fond discountasp.net
    after trouble with using aspspider.org I found your site very intuitive.


    Code:
         <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
        <add name="Database1Entities" connectionString="metadata=res://*/Models.Users.csdl|res://*/Models.Users.ssdl|res://*/Models.Users.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.\SQLEXPRESS;attachdbfilename=|DataDirectory|\Database1.mdf;integrated security=True;user instance=True;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
        <!--<add name="Database1ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database1.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />-->
        <add name="Database1ConnectionString" connectionString="Data Source=webmatrix2rc.discountasp.net;Initial Catalog=DB_user387;User ID=user387;Password=gip4f8m4;Integrated Security=False;" providerName="System.Data.SqlClient" />
    and here is the URL to my app
    http://user387.webmatrix2rc.discountasp.net/Account/Register
    You see the error if you try to register , which is :
    Sorry, an error occurred while processing your request.

    Could you please help :rolleyes: ?
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You are trying to connect to a SQL Express database. I suspect that's where the error occurs.
     
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