Solvent solutions
Subscribe to the Gourami newsletter
8 replies [Last post]
stucco
stucco's picture
Joined: 07.01.2008
User offline. Last seen 2 years 32 weeks ago.

I have an AD with hundreds of users.  Currently when I launch the app and enumerate the users it crashes at 340 on every box I have tried it on.

 

Works fine on smaller installs.

 

I get unkown name exception from HRESULT 0x8002006

Dennis
Dennis's picture
Joined: 17.06.2007
User offline. Last seen 10 hours 47 min ago.

I've tested it in a 1600 user evironment. And it worked fine, can you paste the excats error message here?

 

Functionally everything worked, but the interface was not properly handeling such big amounds. So there is version 1.35 now, have a look at it.

Anonymous
(not verified,
IP: 81.116.84.4)
Anonymous's picture

HI  Dennis

I' 've the same problem, after  228  user the application  stop ( with  the previous version stop at 140 user ) and display an error Unknow name ( exception from HRESUL: 0x80020006) (DISP_E_UNKNOWNNAME))

 If I continue the windows is empty.

 

 

 Details

   Unknow name ( exception from HRESUL: 0x80020006) (DISP_E_UNKNOWNNAME))

 -------------------------------------------------------------------------------------------------

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))
   at System.DirectoryServices.DirectoryEntry.InvokeGet(String propertyName)
   at TSPE.Form1.ScanAd()
   at TSPE.Form1.Form1_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TSPE
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/TEmp/TSPE.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f...
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/Syst...
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c5...
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50...
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a...
----------------------------------------
System.DirectoryServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.DirectoryServices/2.0.0.0__b03...
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7...
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.832 (QFE.050727-8300)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/...
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Dennis
Dennis's picture
Joined: 17.06.2007
User offline. Last seen 10 hours 47 min ago.

I've found the cause of this, the new version (1.4) has this problem adress.

 

TSPE crashed if there are 'contact' type of objects present in AD. I've adjusted the initial ldap query, and it should now skipp the contact objects.

 

stucco
stucco's picture
Joined: 07.01.2008
User offline. Last seen 2 years 32 weeks ago.

Yup, the contact is what we saw as well.  It now works correctly.

 

However, it is pulling every AD object, computers, users, groups, etc.

 

Is there a way to limit the AD lookup to a particular OU, or a particular type of object?

Dennis
Dennis's picture
Joined: 17.06.2007
User offline. Last seen 10 hours 47 min ago.

Ill add a container/ou browser in the next version :)

Luigi
(not verified,
IP: 217.64.66.230)
Luigi's picture

Hi,

I've the exact same message - but first there is a message
whitch tries to resolve one of your DC's as a user!
The Server is a W2K8 Domain Controller

Message:
TSPE error for user: CN=Servername

regards Luigi

Gourami Support
Gourami Support's picture
Joined: 06.02.2008
User offline. Last seen 3 weeks 3 days ago.

Hey Luigi,

 

Thanks for adressing this, soon a new version will come out, keep an eye on the site!

Guest
(not verified,
IP: 66.246.72.175)
Guest's picture
Copyright © Gourami 2010

Citrix Ready
Citrix Partner