Format of the Initialization StringVenkatesan Jayakantham14yPublished May 2, 2012, 12:00 AMUpdated May 2, 2012, 12:12 PM6.2k00Reactions×25BlogFormat of the initialization string does not conform to specification starting at index 0.Problem: The reason for this issue is improper connection string. Fix: Please recheck the connection string, it should conform to the standards specified.Connection string for mobile application is public string MobileConnection(string DBName,string DBPassword) { string conString = ("Data Source =" + (System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + ("\\"+DBName+";" + ("Password =" + "\""+DBPassword+"\";")))); return conString; }Cheers,Venkatesan Prabu .JHead, KaaShiv InfoTechwww.kaashivinfotech.comCommentsJoin the conversation! Your thoughts help the community grow.Sign in to leave a commentIt is the same account you read, post and publish with — and you will come straight back to this page.Sign inCreate an account
Join the conversation! Your thoughts help the community grow.