Expecting non-empty string for 'providerInvariantName' parameter RRS feed

  • Question

  • User-424731017 posted

            <add name="conn_str"  providerName="System.Data.SqlClient" connectionString="Data Source=NAZMUL-PC; Initial Catalog=MYBD; User Id=sa; Password=MyPassword; Connect Timeout=1000;"/>

    This is my connectionstring . but i still get this error. One week ago it work fine.but now this error !!! Any idea.


    Friday, October 25, 2013 6:37 AM


All replies

  • User-1454326058 posted

    Hi Nazmul,

    Thanks for your post!

    There is a related thread that may help you:



    Best Regards


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, October 27, 2013 11:03 PM
  • User-424731017 posted

    Thanks for reply . Last week i Uninstall VS 2008(Now i am using VS 2010 and 2012) and after that i am facing this error. I test my code in another PC it run without any error . Anyway , I will reinstall my SQL Server.


    Thursday, October 31, 2013 4:28 PM