the original application was built for .net 3.5 using sql express 2008 mdf file with connect string of
Data Source=.\SQLEXPRESS;AttachDbFilename=c:\MDF\StringTmp.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True
running the app in windows 8 partition instead of the original vista partition, I get
[Window Title]
Program Compatibility Assistant
[Main Instruction]
This program has compatibility issues
[ ] Don't show this message again [Get help online] [Run the
program without getting help] [Close]
start Debug the app in windows 8 visual studio 2012 pro, I get
Login failed for user "MachineA\UsrX"
I verified that in services SQL Server (SQLEXPRESS) is running using network service.
but sql server agent (sqlexpress) stopped runnning despite on automatic startup
so I have two problems on hand:
1 how to allow the app to connect with success to the mdf
2 how to build the app so it will work both on vista, windows 7 and windows 8?