Hi,
My Connection string is (inWeb.config file):
<addname="MyDatabaseConnectionString" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\Prylar1.mdf;Database=Prylar1;Integrated Security=True" providerName="System.Data.SqlClient" />
However, running application, ISS-server and Explorer 11 gives an error - and my attempt to translate from Swedish to English is "Initiation string format does not follow specification starting at index zero".
The asp.net code is:
<asp:SqlDataSource ID="DataSource1"runat="server"ConnectionString="MyDatabaseConnectionString"
SelectCommand="SELECT [ProductID], [ProductName], [TextPath], [ImagePath],
[UnitPrice], CategoryID
FROM [Products] ORDER BY [ProductName]">
</asp:SqlDataSource>
As far I can see (beginner!) the code and string are correct?? Appreciate suggestions where I have got it wrong and solutions if possible.