putting ASP.NET C# website online

  • Thread starter Thread starter Mark Jones
  • Start date Start date
M

Mark Jones

I've recently put a data-driven website that uses C# online but am having a
few problems getting it to work properly. On the first page is a login form
that works perfectly on my localhost but doesn't on the external hosting - I
keep getting a default 'login failed' response when I put in details that I
know exist within the database. The only piece of code that has changed is
the connection string which was originally:

"Data Source=localhost;User ID=MARKSCOMPUTERaspnet;password=;Initial
Catalog=Mymatesdata2;Integrated Security=true"



And, for the purposes of the external hosting, is now:



"Data Source=meandmymates;User ID=***********;password=********;Initial
Catalog=Mymatesdata;Integrated Security=true"



Where the Data Source is the Microsoft SQL Server DSN, the database is
called Mymatesdata and the user id and password are definitely correct - can
anyone see anything wrong with this?



Mark Jones
 
are you sure the sql server at your hosting company is set for windows or
mixed mode and that the domain account you're using is a user in sql?

r.
 
Back
Top