Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Format of the Initialization String
WhatsApp
Venkatesan Jayakantham
12y
5.6
k
0
0
25
Blog
Format 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 .J
Head, KaaShiv InfoTech
www.kaashivinfotech.com
Format of the Initialization String
Up Next
Convert Specific Date String to any System Date Format Dynamically in C#
Ebook Download
View all
Introduction to C# 8
Read by 19.4k people
Download Now!
Learn
View all
Membership not found