I would like to thank Neil Mackenzie for this article. His input on the exception below [as commented in my previous post] lead to the content of this post. In my previous post, I suggested a solution of above exception, and I received a comment from one of my readers that there is an easier way to solve the above exception as well. So I decided to make an article on the other solution as well. At first I won't explain the solution in the previous article; it is harder than the solution provided here or vice versa. Usually we read a connection string as: DataConnectionString is name of the connection string in setting of WebRole. To avoid the above exception read the connection string as: So essentially,
Dhananjay kumar is an independent trainer, a consultant and a programmer from India. He has mentored more than 1000 professionals and known for his unique way of teaching. He has been part of the multiple projects for bi... Read more
C# Corner. All contents are copyright of their authors.