I'm having issues obtaining a correct connection string. I have setup references in my web.config as such below:
Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Source=AIPHLSQL012;Initial Catalog=eMarketplaceTest;User ID=sa; Password=**********"
password I have made asterisks for security purposes. I try to access data inside this database with a simple call listed below and I get this error message:
is my error:
Password - db.connection.String' threw an exception of type 'System.ArgumentOutOfRangeException'
drill into it and it says - Length cannot be less than zero.
I know that this is a valid connection string.
Has anyone ever come across this issue in Enterprise Library 5.0?
Any hep wouold be greatly appreciated.