microsoft / InventorySample

Sample UWP application for LOB scenarios
MIT License
591 stars 199 forks source link

connection to Sql Server #31

Closed odyright closed 6 years ago

odyright commented 6 years ago

LocalDB is not supported on this platform that's is the issue i encountered when trying to connect to Sql Server 2016. i dig into Appsettings.cs i found that:

public string SQLServerConnectionString
        {
            get => GetSettingsValue("SQLServerConnectionString", @"Data Source=.\SQLExpress;Initial Catalog=VanArsdelDb;Integrated Security=SSPI");
            set => SetSettingsValue("SQLServerConnectionString", value);
        }

should i modify this line? or is there anything else to do? i enabled internet(client) & internet(client & server) but still got the same issue.

odyright commented 6 years ago

Solved it was my miscomprehension of how things are supposed to work. Thank you for this great work!