I've defined a linked ADSI server and I seem to be able to query the
local domain ( localdomain.com ) with:
DBCC TRACEON(7300)
GO
SELECT * FROM OPENQUERY(ADSI, 'SELECT displayName FROM
''LDAP://DC=localdomain, DC=com'' ')
But I also have a trusted domain ( trusteddomain.c om ) which I would
also like to query from the same SQL-enviroment but this does not work
:( :
DBCC TRACEON(7300)
GO
SELECT * FROM OPENQUERY(ADSI, 'SELECT displayName FROM
''LDAP://DC=trusteddomai n,DC=com'' ')
Error returned:
"OLE DB error trace [Non-interface error: OLE DB provider
ADSDSOObject returned DBPROP_STRUCTUR EDSTORAGE without
DBPROPVAL_OO_BL OB being supported].
OLE DB error trace [OLE/DB Provider 'ADSDSOObject'
IRowset::GetNex tRows returned 0x8007202b]."
What am I doing wrong? From within windows-explorer I have no problem
obtaining the userlist from trusted domain when I want to assign
file-permissions.
Any idea? 2 7886
Write a VB script with the following:
Set objRoot = GetObject(LDAP://dc=trusteddomai n,DC=com)
WScript.Echo objRoot.Name
and run it on the SQL server. IF this does not work, then a linked ADSI
server won't work either. I've never used trusted domains in W2K, but check
DNS settings. The client needs to find a domaincontrolle r for the given
domain. Also, you could try adding the domaincontrolle r of the trusted
domain to your query:
LDAP://nameofdcintrust eddomain/dc=trusteddomai n,dc=com
Arild
"Ammar" <am********@vip .hr> wrote in message
news:64******** *************** **@posting.goog le.com... I've defined a linked ADSI server and I seem to be able to query the local domain ( localdomain.com ) with:
DBCC TRACEON(7300) GO SELECT * FROM OPENQUERY(ADSI, 'SELECT displayName FROM ''LDAP://DC=localdomain, DC=com'' ')
But I also have a trusted domain ( trusteddomain.c om ) which I would also like to query from the same SQL-enviroment but this does not work :( :
DBCC TRACEON(7300) GO SELECT * FROM OPENQUERY(ADSI, 'SELECT displayName FROM ''LDAP://DC=trusteddomai n,DC=com'' ')
Error returned: "OLE DB error trace [Non-interface error: OLE DB provider ADSDSOObject returned DBPROP_STRUCTUR EDSTORAGE without DBPROPVAL_OO_BL OB being supported]. OLE DB error trace [OLE/DB Provider 'ADSDSOObject' IRowset::GetNex tRows returned 0x8007202b]."
What am I doing wrong? From within windows-explorer I have no problem obtaining the userlist from trusted domain when I want to assign file-permissions. Any idea?
If should of course be:
Set objRoot.GetObje ct("LDAP://dc=trusteddomai n,DC=com")
(Outlook Express is a bit too _smart_ )
Arild
"Arild Bakken" <ar*****@hotmai l.com> wrote in message
news:O2******** *******@tk2msft ngp13.phx.gbl.. . Write a VB script with the following:
Set objRoot = GetObject(LDAP://dc=trusteddomai n,DC=com) WScript.Echo objRoot.Name
and run it on the SQL server. IF this does not work, then a linked ADSI server won't work either. I've never used trusted domains in W2K, but
check DNS settings. The client needs to find a domaincontrolle r for the given domain. Also, you could try adding the domaincontrolle r of the trusted domain to your query:
LDAP://nameofdcintrust eddomain/dc=trusteddomai n,dc=com
Arild
"Ammar" <am********@vip .hr> wrote in message news:64******** *************** **@posting.goog le.com... I've defined a linked ADSI server and I seem to be able to query the local domain ( localdomain.com ) with:
DBCC TRACEON(7300) GO SELECT * FROM OPENQUERY(ADSI, 'SELECT displayName FROM ''LDAP://DC=localdomain, DC=com'' ')
But I also have a trusted domain ( trusteddomain.c om ) which I would also like to query from the same SQL-enviroment but this does not work :( :
DBCC TRACEON(7300) GO SELECT * FROM OPENQUERY(ADSI, 'SELECT displayName FROM ''LDAP://DC=trusteddomai n,DC=com'' ')
Error returned: "OLE DB error trace [Non-interface error: OLE DB provider ADSDSOObject returned DBPROP_STRUCTUR EDSTORAGE without DBPROPVAL_OO_BL OB being supported]. OLE DB error trace [OLE/DB Provider 'ADSDSOObject' IRowset::GetNex tRows returned 0x8007202b]."
What am I doing wrong? From within windows-explorer I have no problem obtaining the userlist from trusted domain when I want to assign file-permissions. Any idea?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Vicky |
last post by:
I am trying to connect to a sql server database from enterprise
manager. I am using sql server authentication and have set the SQL
Server up to accept mixed mode authentication. I am still get the
message : Login failed for xxx. Reason not associated with a trusted
sql server connection.
|
by: Ammar |
last post by:
I've defined a linked ADSI server and I seem to be able to query the
local domain ( localdomain.com ) with:
DBCC TRACEON(7300)
GO
SELECT * FROM OPENQUERY(ADSI, 'SELECT displayName FROM
''LDAP://DC=localdomain,DC=com'' ')
But I also have a trusted domain ( trusteddomain.com ) which I would
also like to query from the same SQL-enviroment but this does not work
|
by: TBone |
last post by:
Anyone,
I have a user "john" whose machine is part of the "job" domain. He is
trying to establish an odbc connection to an MS SQL 2000 server on the
"school" domain. He uses Windows authentication to establish the odbc
connection however it gives the error "Login failed for user '(null)'.
Reason: Not associated with a trusted SQL Server connection."
I am guessing that the odbc connection is trying to pass the
credentials of job\john...
|
by: Mark |
last post by:
We are using impersonation so that a user on our domain will login into our
SQL Server using their own domain login and/or associated domain groups. To
do this, we've added:
<authentication mode="Windows" />
<identity impersonate="true"/>
to our web.config file. In IIS, annonymous access is unchecked, digest
authentication is unchecked, basic authentication is unchecked, and
Integrated Windows Authentication is checked.
|
by: Peter Afonin |
last post by:
Hello:
I need to execute a DTS package from an ASP.Net application. The SQL server
registration properties are set to "Use Windows authentication".
domain\ASPNET is among the SQL server users.
However, when I use this string to load DTS package:
oPkg.LoadFromSQLServer("WIN2000", , ,
DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_UseTrustedConnection, , , ,
| |
by: Ray Valenti |
last post by:
I am able to preview this data in the development environment, but when I
run the application the error below shows up.
How do I set up a Trusted Connection?
-Ray
Server Error in '/WebApplication2' Application.
----------------------------------------------------------------------------
----
|
by: Paul M |
last post by:
Hi folks,
Just want to make sure I've got this right.
I've got an application I want to authenticate to the domain i.e. an
intranet app. I've set this up (all the web.config items are in place and
everythings tickety boo) and I can get the username and various other bits
of info from a WindowsIdentity object. So far so good.
When I try and connect to my SQL 2K server however using a trusted
|
by: eruth |
last post by:
There are loads of post on this, but nothing that seems to cover my
exact problem ;)
I have an ASP.Net 1.1 web application running on my local machine. I
want to connect to an SQL 2005 server running on Windows 2003.
If I use SQL authentication, all is fine and dandy. If I want to use
windows authentication it gives the above error. My SQL server is set
to allow both methods (first thing I checked) and is part of the
domain (2nd...
|
by: Kevinp |
last post by:
I'm trying to get my program to connect to a SQL Server 2005 database over the internet.
The remote computer is on another network and it's connected to our network through Windows VPN. I'm running Windows Small Business Server 2005 on our server with SQL Server 2005 and ISA Server 2004.
I can do this at home with my laptop using the following connection string:
strCnn = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |