ms-access


Using a LocalDB database from MS Access


Think this fits better here than ServerFault but happy to be corrected.
I'm trying to use Access to look at a LocalDB database used by an app I'm developing, linking the tables rather than just copying the data. It works, to a degree, but on initially connecting, Access hangs for around 10 seconds then pops up an error;
Connection failed:
SQLState: '08001'
SQL Server Error: -1
[Microsoft][Sql Server Native Client 11.0]SQL Server Network Interfaces: Error locating Server/Instance Specified [xFFFFFFFF].
Connection failed:
SQLState: '08001'
SQL Server Error: -1
[Microsoft][Sql Server Native Client 11.0]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to alow remote connections. For more information see SQL Server Books Online.
After this error appears an SQL Server Login dialog which defaults to "Use trusted connection" with a blank server SPN. If I simply click OK on this dialog then it briefly works; I can import tables and see the data. If I repeat the process without closing Access to import more tables, I get the same 10 second delay and login prompt, suggesting it's not an abnormally long startup time on LocalDB. And any subsequent calls fail, including Access periodically refreshing things in the background, so it's pretty unusable.
The process I've used to create the ODBC connection is;
Add new System DSN, SQL Server.
Specify a name.
Enter "(localdb)\v11.0" as the Server.
Uncheck "Connect to SQL Server to obtain default settings."
Login left at default, "Integrated Windows authentication."
Client config is left at default, named pipes.
Attach Database Filename, get the path from the connection in Visual
Studio- not the connection string, the MDF file it's pointing at.
Change the default database to have the actual name of the DB.
Googling around hasn't revealed any similar cases and solution. Does anyone know how to fix this?

Related Links

Access 2016 vba to send email based on query results and record date email sent back to same table
Count unique values in Access
If ComboBox on Form is blank, Then
Trying to do a calculation with data from a date and the data from the day before
MS Access Front-end: Does each user need their own copy?
trying to filter subform based on contents of field on main form
How to use MS access on a server where MS Office is not installed
How do i import and eliminate first two row of website in msaccess while importing html pages
Multi criteria dlookup issue
Count all checkboxes in ms-access form…what am I doing wrong?
How do I set a default selection to a Listbox in MS Access
Microsoft Access not overwriting when exporting a query to excel
Using ms-access command-line tag /x but database opens read-only
Criteria with TempVars - but prompt user if tempvars is null
Crazy Cursor in TextBox on Table from ODBC database
Count of dates “This Month” to appear in a text box in Access Report

Categories

HOME
xamarin
pypi
azure-data-factory
drivers
push-notification
at-command
setup-deployment
react-redux
jsrender
webpack-2
podio
upload
android-youtube-api
ssl-client-authentication
postgres-xl
phaser
ibm-odm
netflix
clearcase-ucm
jqwidget
lucene.net
swiftlint
jasonette
orleans
functional-testing
mmap
php-openssl
dynamic-featured-image
r-raster
preg-match
google-rich-snippets
directx-10
phonegap
http-status-code-503
.net-4.0
lxd
force-layout
stacked
gesture
ssjs
unobtrusive-validation
sas-visual-analytics
no-www
convertapi
websphere-mq-fte
qsslsocket
pnotify
ionicons
togetherjs
aurelia-validation
drupal-6
forever
sqlclient
google-perftools
sqlbulkcopy
iso8601
redundancy
static-ip-address
removechild
vmware-tools
underscore.js-templating
mikroc
skobbler-maps
firebaseui
fputcsv
ubuntu-10.04
skype4py
nessus
goose
ford-fulkerson
thredds
python-3.2
libressl
ibaction
responsive-images
offloading
pick
jscript.net
rdl
php-5.4
transcoding
fmod
inbox
runtime.exec
http-unit
jelly
delphi-6
ticoredatasync
windows-phone-7.1.1
netbeans-6.9
nsdatecomponents
deobfuscation
heartbeat
yui-datatable
krl
celltable
imac
radcombobox
routedevent
nsviewanimation
firefox-5
exchange-server-2003
anti-piracy
signal-handling

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App