Connection String for Windows mobile device from Windows 8



here Win 8 has mssql database, im trying to connect this via Motorola mobile device ( MK500 ). im using this

<?xml version="1.0" encoding="utf-8"?> <ConSettings xmlns:xsi="http://ift.tt/ra1lAU" xmlns:xsd="http://ift.tt/tphNwY"> <ConnectionString>Data Source=server-desktop;User ID=sa;Password=Test123;Initial Catalog=shopriteDB;</ConnectionString> </ConSettings>


but its keep giving me error.


this is is my details ( here i change name bit)


Server name : server-desktop User name : sa Database name : shopriteDB Password : Test123


Instance Name : PCAMERICA


Error message i get is " Specifid SQL Server not found : Server-desktop\PCAMERICA Line no : 0 Source : .NET SqlClient Data Provider Procedure : ConnectionOpen(Connect()).


please help me.


with regards Sony


No comments:

Post a Comment