Can SQL Server Express LocalDB be connected to remotely?
No, SQL Server Express LocalDB doesn't accept remote connections.
The idea with shared network folder might work, but only if you are able to make sure the LocalDB instance is shutdown before you try to copy the file. Also keep in mind that only one LocalDB instance can have any given database file open at the same time. and don't forget about the log files!
Additional security warning: unlike SQL Server Compact databases, SQL Server Express databases (including LocalDB ones) are not designed as secure data exchange format. For instance, they can contain malicious code in .NET assemblies embedded in them. So you should never open databases from untrusted source.
Maybe providing the customer with a simple tool that automates the backup process would be a better idea?
Connect localdb from production database
It is not possible to connect to a localDB from a different server.
If you need such connections you will be better with installing SQL Server Developer edition on a dev box.
Can't connect to my SQL Server Express from an ASP.NET web app
Found the solution on my own:
It's not enough to enable TCP in the Server Configuration Manager, you also have to SQL Server Network Configuration > Protocols for X > TCP > Properties > IP Adresses and set TCP Port to 1433 under IPAll.
Is it possible to put the LocalDb on WORKGROUP network and connect remotely with a C# application?
Not possible, just use SQL Server Express.
Localdb uses named pipes only.
Connecting to local SQL Server remotely
Finally Problem Solved.
Needed To do two Changes. first added port to connection
But there was something after long searching found out that i needed to change Port In IPALL section
Answering, that if anyone else might have issue like this might can get help from it. As i had issue related to it.
Many Thanks For Replies.
VB.NET Simultaneous connections LocalDB Database
LocalDB allows for unlimited (local) concurrent connections; see SQL Express v LocalDB v SQL Compact Edition
Your connections string appears to point to a shared drive. LocalDB doesn't accept remote connections. The idea with shared network folder might work (I doubt it though); keep in mind that only one LocalDB instance can have any given database file (and log file) open at the same time.
Alternatives: Simplified said, LocalDB's purpose is to be used locally for one application on one machine. If you need remote access you can use SQL Server (not the Express edition) or any other database.
Cannot use SQL server (LocalDB) after moving from IIS Express to Local IIS
you may need to double escape the \
"Data Source=(LocalDB)\v11.0;Integrated Security=true"
Unable to connect to localDB in VS2012 – "A network-related or instance-specific error occurred while establishing a connection to SQL Server..."
Related Topics
Equivalent Function for Dateadd() in Oracle
How to Do Multiple Case When Conditions Using SQL Server 2008
Sort Null Values to the End of a Table
How Exactly Does Using or in a MySQL Statement Differ With/Without Parentheses
Automate Version Number Retrieval from .Dtsx Files
Insert All Values of a Table into Another Table in SQL
Can You Have If-Then-Else Logic in SQL
Comma Separated Values with SQL Query
Split Comma Separated Values of a Column in Row, Through Oracle SQL Query
What Is the Equivalent Postgresql Syntax to Oracle's Connect by ... Start With
Difference Between Right & Left Join VS Right & Left Outer Join in SQL
How Does This Case Expression Reach the Else Clause
Why Is Iterating Through a Large Django Queryset Consuming Massive Amounts of Memory
Difference of Two Date Time in SQL Server
How to Remove Extended Ascii Characters from a String in T-Sql