Hi,
Try changing (local) to the machine name\msde name (the default
install with vs.net is MachineName\VSdotNet). Second you are using a ,
where there should be a ;. Not sure if SSPI works with win98 might have to
replace integrated security = sspi; with user id = sa; password = 'your
password'; (blank by default should change if is)
Dim strConn As String
strConn = "Server = " & Environment.MachineName
strConn += "\VSdotNET; Database = ; Integrated Security = SSPI;"
conn = New SqlConnection(strConn)
Ken
-----------------------
"mt" <ml*@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hello everyone:
I am using vb.net 2002, msde2000 database, and windows 98,and i set up
..net framework 1.1 and MDAC 2.7 and msde2000
i have a problem,i want create database with vb.net on windows98,for my
sqlconnection string is "server=(local),database=,integrated
security=sspi" but when runtime sqlconnection exception "login fails" ,what ư must do?
Thanks