Open PeterChant opened 9 years ago
this must change to my kserver db ?
No, this is the localDB. All info from the Kaseya is coming from the api. In the local db are just the settings and users. In production use a SQL server, in debug use the localDB. To clear the error execute VS as administrator.
And from the NuGet consol run update-database to create the database
An exception of type 'System.Data.SqlClient.SqlException' occurred in EntityFramework.dll but was not handled in user code
Additional information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)
ServiceDeskWSClient sDesk = new ServiceDeskWSClient(db.Settings.FirstOrDefault(s => s.Key == "ServiceDeskURI").Value.ToString(), db.Settings.FirstOrDefault(s => s.Key == "KaseyaURI").Value.ToString());