Results 1 to 3 of 3

Thread: [Infowater] ESRI Exception Error When Adding Pipe - ESRI Data

  1. #1

    [Infowater] ESRI Exception Error When Adding Pipe - ESRI Data

    Hi,

    I'm getting the following error when trying to add a pipe between two particular nodes: -

    WARNING: Unable to insert element. Make sure the coordinates of the element are not out of bounds. (System.Runtime.InteropServices.COMException (0x80004005): Cannot open database ''. It may not be a database that your application recognizes, or the file may be corrupt.
    at ESRI.ArcGIS.Geodatabase.IFeatureCursor.InsertFeatu re(IFeatureBuffer buffer)
    at Hnet.Common.Core.CHaMapEditBase.AddGraphElm(String sID, IGeometry pGeometry, IFeatureClass pFeatureClass, Object snType))

    Pipes can be added to and from each of these nodes to another node but not between these two nodes in particular.

    Any suggestions?

    Thanks,

    Jeff

  2. #2
    Forum Moderator

    Innovyze Employee



    Join Date
    May 2015
    Posts
    287
    Jeff,

    Does your model have the spatial projection defined? This error usually occurs because all elements in the extent have to fit into the range of "extents" defined by the LAYER file in the MXD. When you create a new model from scratch and it asks you what coordinate data to use it specifies an extent. Usually if you simply add a background GIS layer to the MXD before first initializing that has the correct spatial projection you can then tell it to use the same as the active map as it will by default assign the spatial projection used by the background layer.

    This extent is usually set more than adequately for your model area, but if you use the default area and then "move" you may run into the extent boundaries and get this error.

    Try using the InfoWater-> Project-> change project spatial reference tool and either expand the x-y domain buffering or simply assign the correct project spatial reference using the Edit Current project spatial reference and selecting your correct reference is often the easiest solution.

    If you are still having difficulties and you have an active support contract you can also reach us at support@innovyze.com for more detailed assistance including a WebEx session if necessary to help you.

    Patrick Moore

  3. #3
    Forum Moderator

    Innovyze Employee



    Join Date
    May 2015
    Posts
    287
    Jeff,

    Does your model have the spatial projection defined? This error usually occurs because all elements in the extent have to fit into the range of "extents" defined by the LAYER file in the MXD. When you create a new model from scratch and it asks you what coordinate data to use it specifies an extent. Usually if you simply add a background GIS layer to the MXD before first initializing that has the correct spatial projection you can then tell it to use the same as the active map as it will by default assign the spatial projection used by the background layer.

    This extent is usually set more than adequately for your model area, but if you use the default area and then "move" you may run into the extent boundaries and get this error.

    Try using the InfoWater-> Project-> change project spatial reference tool and either expand the x-y domain buffering or simply assign the correct project spatial reference using the Edit Current project spatial reference and selecting your correct reference is often the easiest solution.

    If you are still having difficulties and you have an active support contract you can also reach us at support@innovyze.com for more detailed assistance including a WebEx session if necessary to help you.

    Patrick Moore

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •