M
Mircea Pleteriu
Hi all,
I've implemented a .NET Windows Forms application with VS 2005 and .NET
Framework 2.0 which must be deployed on Windows 98 platform. The MSDE will
be installed on Win98 as the SQL Server to which the app will connect.
On the Win98 platform I've installed .NET Framework redistributable package
and the MSDE and then I've set up the database (which my app will use) by
running a script with the OSQL tool.
All fina by now.
But surprize... even if the db can be access and browsed with the osql
tool... the .net app cannot connect to the database. It throws the following
exception message:
System.Data.SqlClient.SqlException: An error has occurred while establishing
a connection to the server. When connection 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: Named Pipes Provider, error: 4- -
Could not open a connection to SQL Server).
Do you have any idea where the problem could be?
I mention that my app runs successfuly on Windows XP/2000 with MSDE
installed.
Mircea,
I've implemented a .NET Windows Forms application with VS 2005 and .NET
Framework 2.0 which must be deployed on Windows 98 platform. The MSDE will
be installed on Win98 as the SQL Server to which the app will connect.
On the Win98 platform I've installed .NET Framework redistributable package
and the MSDE and then I've set up the database (which my app will use) by
running a script with the OSQL tool.
All fina by now.
But surprize... even if the db can be access and browsed with the osql
tool... the .net app cannot connect to the database. It throws the following
exception message:
System.Data.SqlClient.SqlException: An error has occurred while establishing
a connection to the server. When connection 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: Named Pipes Provider, error: 4- -
Could not open a connection to SQL Server).
Do you have any idea where the problem could be?
I mention that my app runs successfuly on Windows XP/2000 with MSDE
installed.
Mircea,