Constraint Violation Creating Subnets

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I am working on a script to create a large list of
subnets in AD. It reads the data from an Excel
spreadsheet and creates the subnet based on that
information.

The problem I'm having is at the point of creating the
subnet, (objSubnet.SetInfo), the system returns "A
Constraint Violation Occurred."

I can't find what this means. Can someone explain the
likely problem for me? Thanks!
 
Can you post your code where you set Subnet class properties. Constraint
violation means, that you are probably forgetting setting up some attributes
or setting them wrong.

--
Regards

Matjaz Ladava, MCSE (NT4 & 2000), Windows MVP
(e-mail address removed)
http://ladava.com
 
Thanks Matjaz, you were right on target. I had
incorrectly set an attribute. Thanks for the help!
 
Back
Top