Geeks With Blogs

News Ashraful Alam Joy

Create Your Badge

Ashraful Alam is a Software Architect, who has 8 years of professional experience in Software Development industry. This Bangladeshi national is involved with project management and development of several US based software projects from his country. Already he has managed and developed several software projects, which are being used by several users of different countries, such as USA, Canada, Australia, and Bangladesh. While developing and managing a team, he contains and maintains a set of well defined engineering practices developed by him and other online developer communities.

Due to his willingness to give effort to improve and share better software development practices, Ashraf has been awarded as “Most Valuable Professional” (MVP) in ASP.NET category by Microsoft since year 2007 multiple times, which is a rare honor and prestigious reorganization among the developers around the world.

Check his portfolio to know more about him and his works.


.NETTER Characters... Every part of your life is best, if you can know yourself and thus create your life like an artist!

To let ASP.NET to search the database location, use the following connection strings in the web.config in specific cases

-> in the default data folder

connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf"

-> in an absolute path

connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\NewMembershipProvider\App_Data\Members.mdb;Persist Security Info=False"

Posted on Friday, July 7, 2006 3:51 PM Implementation , Database , .NET , Software Development | Back to top


Comments on this post: SQL Express Connection String

# re: SQL Express Connection String
Requesting Gravatar...
You helped me. Thanks.
Left by Jasmin on Jun 18, 2008 1:51 AM

# re: SQL Express Connection String
Requesting Gravatar...
I gave Data Source of the connection string as this,
"Data Source=ComputerName\SQLEXPRESS"
But it didn't work saying that character"\" is not a valid. I'm using VS 2008 trial.
Left by chathuranga on Jun 11, 2010 9:59 PM

# re: SQL Express Connection String
Requesting Gravatar...
its not working, it shows an error saying unrecognized escape sequence
Left by Rajesh on Sep 01, 2010 8:53 PM

Your comment:
 (will show your gravatar)


Copyright © Ashraf Alam | Powered by: GeeksWithBlogs.net