I have a PHP Web Service that can insert a new row to my database if I hardcode the values in to the SQL query directly. But when I try to do this using variables passed to the PHP script from my Swift function it breaks down. I have add print statements to my Swift so I am confident that
Tag: web-services
how can i set the parameters for the sql query optional?
I build a Web Service in ASP.Net which sends me a list of rooms. The parameters are id’s which are separated by a comma. I saved them to a string and build a sql select query. When I send all 4 parameters I everything works fine and I get a result. But when I send less then 4 I get
LocalSqlServer was not found in the applications configuration or the connection string is empty
I’ve just upgraded a .NET 3.5 MVC 1 project to .NET 4.0 MVC 3 and for some reason now when I try to run it it says: The connection name ‘LocalSqlServer’ was not found in the applications …