Discussion:
Personal web site template
(too old to reply)
Jac Tremblay
2010-01-05 21:11:01 UTC
Permalink
Hi,
When I create a new web site from the "Personal web site" template provided
with VS.NET, it does not work. The error says that the connection to SQL
Server has a problem (the whole text is in French).
I know that the site is built with a simple SQL Server database to store
albums and photos. So I created one and added it to the project. I used the
.sql files to create the tables and other objects necessary to run the
project but nothing will do. The error is still there. What else can I do?
Here are the first 3 lines in the pile:
*****
[SqlException (0x80131904): Une erreur... Translation: An error occured with
the connection to SQL Server. The server cannot be found or is not
accessible... (provider: SQL Network Interfaces, error: 26 - Error in finding
the server or the specified instance)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection) +4846887

System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj) +194
*****
Thanks.
--
Jac Tremblay
Nathan Sokalski
2010-01-06 17:02:46 UTC
Permalink
No offense to you or anyone else, but in my opinion, it is best not to use
the Personal Web Site Template. Some of the reasons I say this are because
you don't always know what all the already created components and settings
are, and sometimes you don't want them even when you do know what they are,
therefore adding the extra work of removing or changing extra stuff. Also, I
feel that if somebody doesn't know enough to build their site from scratch,
then they shouldn't be using fancy software like Visual Studio that was
intended for developers and might be better off using one of those free
sites that creates a site for you or have your page generated by something
like Office. Yes, these solutions create pretty crappy and low-quality
pages, but that's usually what you'll end up creating with Visual Studio if
you don't know how to use it (once again, no offense to you or anyone else,
we all didn't know how to use it when we first started). Good Luck!
--
Nathan Sokalski
***@hotmail.com
http://www.nathansokalski.com/
Post by Jac Tremblay
Hi,
When I create a new web site from the "Personal web site" template provided
with VS.NET, it does not work. The error says that the connection to SQL
Server has a problem (the whole text is in French).
I know that the site is built with a simple SQL Server database to store
albums and photos. So I created one and added it to the project. I used the
.sql files to create the tables and other objects necessary to run the
project but nothing will do. The error is still there. What else can I do?
*****
[SqlException (0x80131904): Une erreur... Translation: An error occured with
the connection to SQL Server. The server cannot be found or is not
accessible... (provider: SQL Network Interfaces, error: 26 - Error in finding
the server or the specified instance)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException
exception, Boolean breakConnection) +4846887
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj) +194
*****
Thanks.
--
Jac Tremblay
Loading...