M
Markus Freitag
Guest
Hello,
big problem.
I developed it under VS2017, C#. Everything works with the studio. Not on the client side anymore.
I use this connectionstring. Is not the file.
Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=TestDB;Integrated Security=True;Connect
Timeout=30;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;
MultiSubnetFailover=False
All OK, I get the data.
On Client site nothing work.
What is the correct connection string?
I have to copy the file and then place the link. How do I do this correctly? How do I get the connection string. This is
from google.
Data Source=(localdb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|TestDB.mdf;
Integrated Security=True
My goal is to make a connection to the TestDB.mdf file on client PC.
What is there to do? What do I need to install?
The easiest way is I create the database with VS2017 and however I can copy the connection string to clipboard.
C:\Users\Freitag\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB
I have SQL Express, so I develop the application. Afterwards it goes to the client. What and how must I deliver?
Is there a straightforward description anywhere?
I've asked in the past, now I have to change something and I can't do it anymore. Please help me again. Thanks in advance.
Tip 1
Past question 1
Past question 2Tip 2Greeting Markus.
Continue reading...
big problem.
I developed it under VS2017, C#. Everything works with the studio. Not on the client side anymore.
I use this connectionstring. Is not the file.
Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=TestDB;Integrated Security=True;Connect
Timeout=30;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;
MultiSubnetFailover=False
All OK, I get the data.
On Client site nothing work.
What is the correct connection string?
I have to copy the file and then place the link. How do I do this correctly? How do I get the connection string. This is
from google.
Data Source=(localdb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|TestDB.mdf;
Integrated Security=True
My goal is to make a connection to the TestDB.mdf file on client PC.
What is there to do? What do I need to install?
The easiest way is I create the database with VS2017 and however I can copy the connection string to clipboard.
C:\Users\Freitag\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances\MSSQLLocalDB
I have SQL Express, so I develop the application. Afterwards it goes to the client. What and how must I deliver?
Is there a straightforward description anywhere?
I've asked in the past, now I have to change something and I can't do it anymore. Please help me again. Thanks in advance.
Tip 1
Past question 1
Past question 2Tip 2Greeting Markus.
Continue reading...