I've made a website using most of the code found in the Wrox website.
ANd i've tried uploading it to my own website.
I'm having big problems with the login control.
It seems to use it's own database which is fair enough, but I can't find the connection string for it anywhere.
Upshot of this is that I copied all the files accross to my webiste, the front page works fine, but when I try and log in I get the following error
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[SqlException (0x80131904): 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)]
System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection) +734995
System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj) +188
My webhosts say that I would need to create the database on the webserver blah blah blah. All fine with me but the main issue is that I can't see where in the login control you can point it to this new database.
Any help would be very much appreciated. I am loathe to have to write my own login manager when one is provided, but if i can't get it to work on a real website, what use is it.
IF i sound negative it's because i've been banging my head against a brick wall with the website support people.