It is actually a VB
.NET application. When i run the application on my machine, the values get inserted into the database since the database is hosted on my personal laptop. But when i run the same application from a friend's laptop, I get the error message "SQL Server does not exist or access is denied. Below is the snippet of my code:
Dim insert_values as string = "'" + textbox1.text + "','" + textbox2.text + "'"
Dim cnOra As New OleDbConnection("Provider=sqloledb;Data Source=184.108.40.206,1433;Network Library=DBMSSOCN;Initial Catalog=pubs;User ID=sa;Password=asdasd")
Dim cmdUpdate As New OleDbCommand _
("INSERT INTO APP_STR(PARAM_NM,PARAM_VAL) VALUES(" + insert_values + ")", cnOra)
cmdUpdate.CommandType = CommandType.Text