Sorry to bring an old thread back from the dead, but I just ran into this exact issue!
My newly created viewports were comining up with the number of -1. After doing a zoom extents on the new layout (prior to creating the new viewports), the viewports are numbered properly and I no longer get an error!!
Thanks for figuring this out bikelink!
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!