web - Unrecognized escape sequence and Server Error in '/' Application in asp.net -


This is the error that I was trying to solve. Can anyone help? I just copied the thing written in quotes from the web.config file in asp.net but this error is not allowing for proper connection. Error in this part is \ myDatabase . I have tried to replace \ myDatabase with \\ myDatabase or / myDatabase or // my database . Nothing works but nothing does help. The Web.config file is: -

  & lt; Configuration & gt; & Lt; ConnectionStrings & gt; & Lt; Add name = "ConnectionString" connectionString = "Data Source = (LocalBible) \ v11.0; Attach debufffilename = | DataDirectory | \ myDatabase.mdf; Integrated Security = True" Provider Name = "System.Data. SQL Client" /> ; & Lt; / ConnectionStrings & gt; & Lt; System.web & gt; & Lt; Compilation debug = "true" targetFramework = "4.5.1" /> & Lt; HttpRuntime targetFramework = "4.5.1" /> & Lt; /system.web> & Lt; / Configuration & gt;  


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -