connetion between the win app and web app

Hello everyone;
I need you kind help to solve the following connectionString
Data Source=11.111.111.11,1433;(localdb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\mydbase.mdf;Initial Catalog=mydbase;User Id=Ibrahim;Password=?????????

I am using it for my windows application without the IP addressee and working good, but when I used it for my web application to connect to the same database in my computer I get the following message:-
//------------------------------
Keyword not supported: '(localdb)\mssqllocaldb;attachdbfilename'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Keyword not supported: '(localdb)\mssqllocaldb;attachdbfilename'.

Source Error:
//---------------------------------

Can anyone help please;
Best regards;

0 answers