→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MattG
Engaged Sweeper
Domain.com is throwing this error when trying to get 3.5 Active Scan to scan my network:

3/11/2009 10:32:02 AM: domain.com dc01.domain.com Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
at LansweeperService.mdlActivescanning.ActiveScan()


I have a sub.domain.com that is scanning fine.

-MattG
10 REPLIES 10
Hemoco
Lansweeper Alumni
Please download an updated version of the service to fix this issue (check your errorlog.txt afterwards)

http://www.lansweeper.com/debug/lansweeperservice.zip
Got this Error, too.

24.03.2009 16:10:11: Subdomain.Domain.COM DC_xy.Subdomain.Domain.COM Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
at LansweeperService.mdlActivescanning.ActiveScan()

(names changed)

I am only scanning certain OUs in the subdomain. With: OU=SomeTown,OU=servers,dc=Subdomain,dc=Domain,dc=com
The Service-Account is Domain Admin of the sub domain.

Lansweeper wrote:
Please download an updated version of the service to fix this issue (check your errorlog.txt afterwards)

http://www.lansweeper.com/debug/lansweeperservice.zip


Would that be a fix for me?
Lars.Vopicka wrote:

Would that be a fix for me?

Yes
Lansweeper wrote:
Lars.Vopicka wrote:

Would that be a fix for me?

Yes


Yes, I can confirm. It worked for me.:d/
Hemoco
Lansweeper Alumni
Could you please send me the output of "dcdiag /e" and "netdiag" please. (from a domain controller)
MattG
Engaged Sweeper
In my case I have a subdomain as well. Though my subdomain is not generating the above error. I have a separate Domain listing in my Active Scan for the sub domain and it works fine. It the master domain that wont scan.

davis226
Engaged Sweeper II
Same issue here.....except it is generating the error for the DC in my child domain....

3/12/2009 3:00:45 PM: subdomain.domain.com subdc1.subdomain.domain.com Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
at LansweeperService.mdlActivescanning.ActiveScan()
its-sysmgt
Engaged Sweeper
I am having the same problem.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.DirectoryServices.ResultPropertyValueCollection.get_Item(Int32 index)
at LansweeperService.mdlActivescanning.ActiveScan()
MattG
Engaged Sweeper
Are you doing something different with 3.5. I had 3.2 setup with Active Scanning without issue.