i have the same problem

17 views
Skip to first unread message

Thomas Lauer

unread,
Jul 17, 2011, 2:15:50 PM7/17/11
to Cassia Users
Hi,

i have the same problem:

asp.net application
cassia.net v2.0.0.60
enumerate servers

netbios over tcp is active
mit full domainname is koelbel.local
i use the netbios name KOELBEL

i recieved the error:
wrong domainname

best regards
Thomas

Dan Ports

unread,
Jul 23, 2011, 12:47:16 PM7/23/11
to cassia...@googlegroups.com
Thomas,

If you've already tried the suggestions in this thread, I'd suggest you try querying Active Directory if you know the computers you're interested in can be fetched with an LDAP query (e.g. computers in a given OU). Frankly, I think AD is really the way to go -- NetBIOS (on which the WTSEnumerateServers function is based) has been on its way out for years, and is not the most reliable when it comes to enumerating network resources. See the comment on the WTSEnumerateServers MSDN reference. I'm wondering whether I really should have added the GetServers() method at all -- given all of the issues with NetBIOS, I wouldn't use that function in production.

Dan


--
You received this message because you are subscribed to the Google Groups "Cassia Users" group.
To post to this group, send email to cassia...@googlegroups.com.
To unsubscribe from this group, send email to cassia-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cassia-users?hl=en.


Reply all
Reply to author
Forward
0 new messages