16,022,413 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13474292 (Top 5 by date)
Member 13474292
31-May-24 20:04pm
View
Mr. Kreskowiak, you have my great thanks! The old grey matter just isn't turning over like it once was for me! This has allowed me to push my project over the finish line! It may sound dated, but in my eyes, "You are DA MAN!"
Member 13474292
31-May-24 12:09pm
View
I also tried this with no joy:
Dim sConnection As String = "Server=.\SQLExpress;Database=MusicCollection;Trusted_Connection=True;"
My Google-fu is failing me!
Member 13474292
31-May-24 12:06pm
View
Well, stuck again! Apparently connection strings have also changed. This is what I used to use (and which still works in my old code):
Dim sConnection As String = "Data Source=" + System.Environment.MachineName + "\SQLEXPRESS;Initial Catalog=MusicCollection;Integrated Security=True"
When I use that now, I get this error:
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
Any ideas on how to connect to my local SQLExpress instance?
Damn! I used to know all this stuff!
Member 13474292
31-May-24 11:50am
View
Thank you, sir! This has allowed me to continue to work on my little data migration project. Boy! You leave the industry for six or seven years and they have the nerve to go changing things!
Member 13474292
30-May-24 19:41pm
View
The target framework is .NET 6.0. I suspect you're right about not having a reference to the appropriate library but I'm not sure where to look. It's been 7 years since I've retired and I sometimes think I've forgotten more than I ever learned! Other than the Imports statement, I can't think how to reference a library that would include support for working with SQL Server. Simply adding a reference to System.Data.SQLite.dll was enough to get me going with the output but the input from SQL Server not working is making me feel stupid!