Am stock in this a error, some help will be ok.
Am trying to deploy an MVC5 Application to a localhost IIS and after deploying to the system and i have created a database in the system with the same on the application web.config but i figure that when i try to lunch it am having this Error
Format of the initialization string does not conform to specification starting at index 0.
and i did some research and find out that it is from my Connection string and i have tried every thing possible but it is still throwing the same error please some help...
When the application is run on the development machine with .\SQLEXPRESS it works fine so can i make it work on the hosted system.
this is the connection string for the System am trying to host
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=10.0.226.25\SQLEXPRESS;Initial Catalog=NNPCUsersDB; user id=Administrator;password=****; Integrated Security=false" providerName="System.Data.SqlClient" />
<add name="NNPCDeportContext" connectionString="data source=10.0.226.25\SQLEXPRESS;initial catalog=NNPCResourcesDB; user id=Administrator;password=****; Integrated Security=false" providerName="System.Data.SqlClient" />
or should i use
source=PPMCW44016\SQLEXPRESS;
that is the system SQL Server name