---
title: "Custom view and table export stuck on \"Discovering\""
canonical: "https://servicedesk.maxgeo.com/space/DS/2432565249/Custom%20view%20and%20table%20export%20stuck%20on%20%22Discovering%22"
format: markdown
---
|  |  |  |  |
| --- | --- | --- | --- |
| Application: | datashed | Related Build Number: | 3.2.1.2 |
| Status: | [Known Issue] | Resolved Build Number | NA |

---

**Issue:**

Custom view and table export stuck on "Discovering"

![image-20260609-045918.png](media://5255d2a2-eb36-4465-992e-6f38bf0947c7)


**Cause:**

The table or View in question is set as a “DOWNHOLE” table type. However there was no “OrderBy” set when the table/view was registered in datashed

![image-20260609-045842.png](media://17f9d871-5e6d-430f-b0f2-1b5f6532675f)



**Resolution: ** 

Add Order by eg “DataSet” or “Hole_ID” and retest

![image-20260609-045749.png](media://fa9e1c6d-16f2-490b-aa0c-ea3ea3088043)

eg:

```sql
update tblSYSDSConfig set OrderBy = 'DataSet;Hole_ID' where UserName = 'VW DH *******'
```


> ⚠️ DB Modification
> ⚠️ 
> ⚠️ Before any change is made to a user database (or system), maxgeo recommends competent staff should follow all standard database change management practices and never make untested changes to a production database.  
> ⚠️ Change, test and document all modifications on a test copy of your database to ensure results are as expected before implementing them on your live database. Always ensure a full backup is available in case rollback is required and follow all company change management procedures and practices.