Hi,
I try to connect to MSDE using software writing in C#. When I test this
software in Win XP it works properly but when I try on Win 98 it crash.
Situation:
1. Win XP, MSDE, connecting to local server and to server on Win 98
machine (works), this server hasn't instance name set (default),
2. Win 98, MSDE, connecting local show me error with connection
parameter (I got message "Invalid connection" when I use SqlConnection
component from C# or "..Instance name.." when I use OleDbConnection
component), this server has instance name e.g. MyName, when I connect to
this server from machine with win XP it works properly.
--
*Best regards,*
Klaudiusz Bryja 3 2895
Hi
Windows 98 has some restrictions see: http://msdn.microsoft.com/library/de...r_sa2_1660.asp
To reference a default instance use "(local)" (without the quotes) or the
computer name: http://msdn.microsoft.com/library/de...ar_cs_9okz.asp
You may want to connect with osql to make sure the connection can be made.
Posting your connection string may be useful!
John
"bryja_klaudiusz[at]poczta[dot]fm" <dl*@zmyly.pl> wrote in message
news:ca**********@atlantis.news.tpi.pl... Hi,
I try to connect to MSDE using software writing in C#. When I test this software in Win XP it works properly but when I try on Win 98 it crash.
Situation: 1. Win XP, MSDE, connecting to local server and to server on Win 98 machine (works), this server hasn't instance name set (default), 2. Win 98, MSDE, connecting local show me error with connection parameter (I got message "Invalid connection" when I use SqlConnection component from C# or "..Instance name.." when I use OleDbConnection component), this server has instance name e.g. MyName, when I connect to this server from machine with win XP it works properly.
-- *Best regards,* Klaudiusz Bryja
Hi,
Connection.ConnectionString =
"Server=(local);Database=DB_Name;Trusted_Connectio n=false;User
ID=sa;Pwd=1234;Persist Security Info=true"; Hi
Windows 98 has some restrictions see: http://msdn.microsoft.com/library/de...r_sa2_1660.asp
To reference a default instance use "(local)" (without the quotes) or the computer name: http://msdn.microsoft.com/library/de...ar_cs_9okz.asp
You may want to connect with osql to make sure the connection can be made.
Posting your connection string may be useful!
John
"bryja_klaudiusz[at]poczta[dot]fm" <dl*@zmyly.pl> wrote in message news:ca**********@atlantis.news.tpi.pl...
Hi,
I try to connect to MSDE using software writing in C#. When I test this software in Win XP it works properly but when I try on Win 98 it crash.
Situation: 1. Win XP, MSDE, connecting to local server and to server on Win 98 machine (works), this server hasn't instance name set (default), 2. Win 98, MSDE, connecting local show me error with connection parameter (I got message "Invalid connection" when I use SqlConnection component from C# or "..Instance name.." when I use OleDbConnection component), this server has instance name e.g. MyName, when I connect to this server from machine with win XP it works properly.
-- *Best regards,* Klaudiusz Bryja
--
*Pozdrawiam,*
Klaudiusz Bryja
ICQ#94940293
"bryja_klaudiusz[at]poczta[dot]fm" <dl*@zmyly.pl> wrote in message news:<ca**********@atlantis.news.tpi.pl>... Hi,
I try to connect to MSDE using software writing in C#. When I test this software in Win XP it works properly but when I try on Win 98 it crash.
Situation: 1. Win XP, MSDE, connecting to local server and to server on Win 98 machine (works), this server hasn't instance name set (default), 2. Win 98, MSDE, connecting local show me error with connection parameter (I got message "Invalid connection" when I use SqlConnection component from C# or "..Instance name.." when I use OleDbConnection component), this server has instance name e.g. MyName, when I connect to this server from machine with win XP it works properly.
This may be helpful: http://support.microsoft.com/default...&Product=sql2k
As a basic test, you could try connecting locally with
isql.exe/osql.exe on the Windows 98 box; if that works successfully,
then you should probably look at your application connection
parameters. If it doesn't work, then please post the full command line
you tried, and also the exact error message you see. As far as I know,
Windows 98 only supports TCP/IP and multiprotocol connections, so you
might have to check that your code doesn't try to use named pipes in
some situations.
Simon This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Marek Powichrowski |
last post by:
Hi all,
I have the the problem with logging to MSDE using SQL-DMO interface. On the
W2K with LoginSecure=TRUE everything is OK (connect is made without any
parameters)
But when...
|
by: Igor Solodovnikov |
last post by:
Hi.
I am trying to automatically backup transaction log when error 9002
happened. So i have created appropriate job and alert to catch this error.
I have two instances of sql server under Windows...
|
by: noname |
last post by:
MSDE 2000 Release A installed under windows 2000 pro will not
communicate with SQL Server Manager nor MS Access on peer computer.
Can someone help?
Have set DISABLENETWORKPROTOCOLS=0 at install...
|
by: *no spam* |
last post by:
I want to move my Access 2K database into MSDE. The Access Upsizing
Wizard crashes (a known bug wi A2K), so I'm using the following
suggested method:
Access --> New --> Project (Existing...
|
by: Markus Graf |
last post by:
Hi all
I'v got a Windows XP Pro SP1 Box with MSDE sql2k SP3. The installation
was not the problem, but if i would connect with a client like dbamgr2k
or the MS Enterprise client, the client...
|
by: kaps |
last post by:
Hi,
I have Installed MSDE 2000 on Windows 98 SE box After REBOOT MSDE
service is running.
I am not able to connect to the MSDE in WIndows Authentication mode
while using Login ( sa ) / password...
|
by: Lou Arnold |
last post by:
Why isn't a database created on the MSDE??
Network: Two Win2K Pro machines connected as peers. (No domains.) MS
Access is on X, MSDE2000A is on H.
MS Access is run under: Windows...
|
by: Paul Aspinall |
last post by:
Hi
I want to package my C# winforms app, to be deployed with MSDE, as easily as
possible for the end user.
I want to create an MSI or Installshield (prefer MSI), to setup my C# app,
together...
|
by: Anthony P. Mancini |
last post by:
Does anyone know how to make the MSDE do
SQL authentication ? It appears to authenticate
using Windows at all times.
Thanks,
Anthony
|
by: David Lozzi |
last post by:
Howdy!
I have a question for all you smarties... I have a ASP.Net application
running on Windows 2000 Professional and MSDE, same box. While running the
application, users will randomly receive...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |