Link to home
Start Free TrialLog in
Avatar of thenrich
thenrich

asked on

connect to .mdf

I'm running Visual Studio 2013 and upgraded for local db to SQLExpress 2014 ver12.

Everytime I try and access a .mdf I get the enclosed error now:

It's like it's tying to find my previous installed express version? How do I switch it in VS2013 to find the correct version of the db?
ASKER CERTIFIED SOLUTION
Avatar of Utkarsh Kulkarni
Utkarsh Kulkarni
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thenrich
thenrich

ASKER

Where do I adjust the path?
There are following possibilities
1. A app.config has hard coded path to .mdf file

2. Somewhere on the form or in class file, this path has been defined.

Look for ".mdf" in your entire solution & then modify it.
Avatar of Nasir Razzaq
What error do you get?
I just went back to SQL express 2012 and now don't have any problems.