Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 14th, 2004, 05:29 AM
Registered User
 
Join Date: Aug 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default SQLDMO Connection Problem

I am using Visualstudio.net 2003 as front end and Microsoft SQL Server 2000 (MSDE) as a back end.

i would like to use SQLDMO object. While connecting the SQLDMO object it is giving an error

"Connection problem. Cause: Trusted Sql Server Connection not found"

My code is

Dim ObjSqlDMO as new SqlDMO.SqlServer

ObjSqlDMO.Connect(".","sa")


even i have tried the servername as Machine Name and "(local)" also it is giving the same error.

How can i enable the "Trusted Connection"

Please help me.

Madhan

Reply With Quote
Reply


Thread Tools
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
finding sql servers with sqldmo BobS56 Pro VB Databases 0 December 15th, 2007 08:55 AM
Problem With SQLDMO in VBNet toanquyen VS.NET 2002/2003 0 April 17th, 2007 08:18 AM
Connection problem atzplzw Classic ASP Databases 3 November 15th, 2004 03:53 AM
Problem With Connection ! huyremy VB Databases Basics 2 September 29th, 2004 04:37 AM
SQLDMO: SQL2000 & VBNet2002 Std. SP2 reyboy SQL Server 2000 5 September 21st, 2004 10:14 PM



All times are GMT -4. The time now is 06:09 AM.


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