473,383 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

login fails

mt
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

Nov 20 '05 #1
8 1152
Cor
Hi Mt,

Here are 2 sites with connection strings, take a look for that first.
http://www.connectionstrings.com/

http://www.able-consulting.com/ADO_Conn.htm

I hope this helps a little bit?

Cor
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?

Nov 20 '05 #2
I suggest you put the connector onto the form and use the wizard to make
your string for you, its easier that way. Once you have the right connection
string you can remove the connector and code it yourself.
OHM
Nov 20 '05 #3
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

Nov 20 '05 #4
* "mt" <ml*@hotmail.com> scripsit:
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?


<http://www.connectionstrings.com>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #5
On Fri, 7 Nov 2003 10:47:13 +0200, mt wrote:
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


In addition to what the others have posted, I would point out that VB.Net
2002 cannot use the .Net framework 1.1. So if you're trying to use any 1.1
features in your code, it wont work correctly.

--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
Nov 20 '05 #6
Hi OHM,

Try this link and tell me what's wrong with what you see!
http://tinyurl.com/u5g4

Regards,
Fergus
Nov 20 '05 #7
OK, fair enough, thanks for the pointer !

Regards OHM

Fergus Cooney wrote:
Hi OHM,

Try this link and tell me what's wrong with what you see!
http://tinyurl.com/u5g4

Regards,
Fergus

Nov 20 '05 #8
Good morning OHM,

No worries. We can't have your pearls being misplaced by Google! ;-)

Regards,
Fergus
Nov 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Shor Erez | last post by:
Hi, I have an ASP application using Forms authentication. On my development web server everything works and login is successful, but when I move my application to the production server the login...
0
by: kevincw01 | last post by:
There doesnt seem to be a reliable support channel for libgmail so i figured this group might have some people who could help. I have the latest version(from cvs) of libgmail.py, lgconstants.py...
2
by: Nans | last post by:
One basic ASP.NET database issue…. I have a c# app running on a iis6 on one win2k3 adv servermachine & database on other win2k server machine…(in the same domain) Using windows authentication in...
0
by: Mr.KisS | last post by:
Hello. I'm under Windows XP PRO SP1, IIS 5.1 ans SQL SERVER 2005 Express. When i try to open a connexion with : <connectionStrings> <add name="AppCnxStr"...
2
by: Mr.KisS | last post by:
Hello. I'm under Windows XP PRO SP1, IIS 5.1 ans SQL SERVER 2005 Express. When i try to open a connexion with : <connectionStrings> <add name="AppCnxStr"...
1
by: Mythran | last post by:
I keep getting the exception, "Cannot open database requested in login 'dbblah'. Login fails. Login failed for 'domain\user'". I have ASPNET setup as the user in IIS, identity impersonate is true...
18
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site...
10
by: Pete | last post by:
I have used Visual Studio 2005 to create a website. I set up standard login page using standard procedures. Nothing fancy or out of the ordinary, just standard procedures described in any "Login...
0
by: gopim | last post by:
Cannot open database requested in login 'constant'. Login fails. Login failed for user user1. some times i got this error in my website . how to solve this problem very urgent
1
by: mrkarthic | last post by:
We are using SQL Server 2005 Express Edition. It has been observed that sometimes our application crashes and from the logs recovered the following sql exception was found. "Cannot open database...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.