I am trying to devise a crosstab report for COGNOS. I am joining a main query to a dimension query so that all crosstabs will nicely line up with one another. When I ask to view the tabular data for either the main query or the dimension query, it displays fine. The main query as about 10,000 records and the dimension query 70 records.

However, when I run the report as normal, or view the tabular data for the crosstab query, I get an RQP-DEF-0177 error.

```
An error occurred while performing operation 'sqlOpenResult' status='-237'.

```

and the error details begin:

```
UDA-SOR-0005 Unable to write the file.RSV-SRV-0042 Trace back:RSReportService.cpp(724)

```

followed by a bunch of QFException clauses.

How could I fix this problem?