Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 14th, 2004, 04:29 AM
Registered User
 
Join Date: Aug 2004
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






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 07: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 03:37 AM
SQLDMO: SQL2000 & VBNet2002 Std. SP2 reyboy SQL Server 2000 5 September 21st, 2004 09:14 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.