Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

how to multi-target for vista, windows 7 and windows 8 using sql server express

$
0
0

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?




Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>