A
Alan Silver
Hello,
I discovered the MSDN design templates[1] yesterday and have been
looking at them.
I have a problem with the Personal template. I don't have SQL Server
Express loaded, as I already have SQL Server 2000, and use that instead.
All of the other samples work fine with this when you change the
connection string, but the Personal sample fails to start. The error
is...
"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)"
and comes on the line...
return HttpContext.Current.Profile["StylesheetTheme"].ToString();
This sounds like the problem is to do with personalisation. I guess that
it is trying to connect to SQL Server Express to get the personalisation
data, but failing because there isn't an SSE installation.
Anyone any idea how to get around this and get the template working.
Can't personlisation be done with an Access database? If so, is there a
simple way to modify this template to do that instead?
Thanks for any help. If you haven't seen these template, I recommend
them.
[1]
http://msdn.microsoft.com/asp.net/reference/design/templates/default.aspx
I discovered the MSDN design templates[1] yesterday and have been
looking at them.
I have a problem with the Personal template. I don't have SQL Server
Express loaded, as I already have SQL Server 2000, and use that instead.
All of the other samples work fine with this when you change the
connection string, but the Personal sample fails to start. The error
is...
"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)"
and comes on the line...
return HttpContext.Current.Profile["StylesheetTheme"].ToString();
This sounds like the problem is to do with personalisation. I guess that
it is trying to connect to SQL Server Express to get the personalisation
data, but failing because there isn't an SSE installation.
Anyone any idea how to get around this and get the template working.
Can't personlisation be done with an Access database? If so, is there a
simple way to modify this template to do that instead?
Thanks for any help. If you haven't seen these template, I recommend
them.
[1]
http://msdn.microsoft.com/asp.net/reference/design/templates/default.aspx