Validating a schema with the Rational ClearQuest Eclipse Designer results in "An attempt was made to access an unnamed file past its end" error

Technote (troubleshooting)


Problem(Abstract)

Attempts to Validate a schema using IBM Rational ClearQuest Eclipse Designer results in the error "A CException occurred: An attempt was made to access an unnamed file past its end".

Symptom

Steps to reproduce:

  1. Login to IBM Rational ClearQuest Eclipse Designer.


  2. Checkout the schema which you would like to modify.


  3. Right click on the schema > select Validate.

    The following error will be seen:

    ERROR : A CException occurred:
    An attempt was made to access an unnamed file past its end
    .


    Note:
    This lack of information in the error was reported as a defect and logged under APAR PM81092.


Cause

This error can occur when using SQL Server as the database for ClearQuest.


The possible causes to this error are as follows:

  • The database referred to in the error, <Logical Database Name> , may be low on available space or has not been configured to grow beyond a specified threshold.
  • The PRIMARY filegroup in the database is full for the CQ database.
  • The physical database server has no available space.

Diagnosing the problem

When the error message with the CQ Eclipse Designer is not clear, try the same operation using the Old CQ Designer. So, to see the exact problem with the ODBC connection, and to check whether it is SQL server space issue, validate the schema using the Old CQ Designer as follows:

  1. Click on Start -> Run, type "cqdesign.exe" and press Enter to launch the Old CQ Designer.


  2. Login and select the problematic schema


  3. Go to File -> Validate.

    If you get this error message:

    ERROR! CRMDB0054E [Microsoft][ODBC SQL Server Driver][SQL Server]Could not allocate space for object 'CQApp.schemarev_binaries' in database 'CQSchema' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
    The database connection is lost. You may need to close your application and start again.


  4. Work with your Database Administrator (DBA) to check if there is enough disk space available in your SQL Server database.

Resolving the problem

Steps to Resolve:

  1. Add additional space to the Primary filegroup

    Note: On your SQL Server database, you can create disk space by
    -Deleting unneeded files
    -Dropping objects in the filegroup
    -Adding additional files to the filegroup
    -Setting auto growth on the existing files in the filegroup


  2. Increase the hard drive space on the SQL Server DB server (if necessary).

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational ClearQuest
Designer - Database Administration

Software version:

7.1, 7.1.2, 8.0

Operating system(s):

Windows

Reference #:

1624043

Modified date:

2013-06-13

Translate my page

Machine Translation

Content navigation