VB.NET

Moderators: seancampbell
Number of threads: 4022
Number of posts: 10035

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
connection string to MSDE database Posted by tpadhu on 28 Dec 2005 at 10:49 PM
Hi,

I'm developing smart device application in VB.NET.

I couldn't make the connection with MSDE.

I used the following connection string.

myConnection = "server=10.0.0.8;Integrated Security=SSPI;User ID=sa;Initial Catalog=Example;Data Source=PPL\SQLSERVER;Trusted_Connection=yes;"

MSDE is on the same machine where i'm developing my apps. & testing the result with emulator. (NOt using RDA or Replication).Simply using ADO.NET commands to select a table from MSDE engine.

Please help me to solve this. I need it urgently.

Note:
1) Windows apps working well with this connection string.

Thank You.


Report
Re: connection string to MSDE database Posted by rlc on 3 Jan 2006 at 6:26 AM
This message was edited by rlc at 2006-1-3 6:32:21

opps ... no coffee yet.
Report
Re: connection string to MSDE database Posted by rlc on 3 Jan 2006 at 6:31 AM
: : myConnection = "server=10.0.0.8;Integrated Security=SSPI;User ID=sa;Initial Catalog=Example;Data Source=PPL\SQLSERVER;Trusted_Connection=yes;"

Try this...


myConnection="SERVER=10.0.0.8;DATABASE=Example;Integrated Security=SSPI;"

Test your connection with OSQL to verify the information. Make sure ifyou have a instance name it is appended after the server name '10.0.0.8\myInstance'.

~rlc



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.