Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 25th, 2007, 12:34 AM
Authorized User
Join Date: Dec 2006
Location: , , Singapore.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connection string for MSDE


        I need the connection string in .Net 1.1v, c#, for connecting my database which is in MSDE[Microsoft Database Engine].

[u]My Existing code for connection string:</u>
<add key="BWFM_ConnStr" value="server=MSDENEW; user id=sa; password=buildfolio1819; database=ORQSample;instancename=MSDENEW;"/>

[u]The Error I am getting is:</u>

Keyword not supported: 'instancename'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: Keyword not supported: 'instancename'.

Thanks in advance..........
[Nothing is impossible]
Reply With Quote
  #2 (permalink)  
Old January 25th, 2007, 01:35 AM
Authorized User
Join Date: Feb 2006
Location: Bangalore, Karnataka, India.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to karthiklsimha

Hi Karthik,
Try this...

<add key="BWFM_ConnStr" value="Password=buildfolio1819;User ID=sa;Initial Catalog=ORQSample;Data Source=[ServerName\MachineName]\MSDENEW"/>

In the above replace [ServerName\MachineName] with the Machine Name where MSDE (Microsoft SQL Server Desktop Engine) is installed. If you are trying to access MSDE installed in the local machine then use


Karthik Simha
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MSDE connection problem (Newbie) rahzan SQL Server 2000 2 June 29th, 2004 08:32 AM
MSDE Connection not working Phil Williams MySQL 3 March 18th, 2004 04:11 AM
ASP.NET MSDE Connection string problems Bagheer Classic ASP Databases 0 August 27th, 2003 08:02 PM
connection string to MSDE(SQL) database from ASP johngilbart BOOK: Beginning ASP 3.0 9 June 13th, 2003 06:09 PM

All times are GMT -4. The time now is 06:41 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.