Skip to content

Commit b54ee59

Browse files
authored
Update path-too-long-exception.md
Changed database query to show media items longer than 80 characters. Previous query showed all media now you only get the media you need to edit.
1 parent 6fd87db commit b54ee59

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

umbraco-cloud/troubleshooting/deployments/path-too-long-exception.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ In order to fix this error, you will need to connect to the Live Environments pr
5555

5656

5757
```sql
58-
SELECT TOP (2000) [id]
59-
,[path],
60-
Len(path) As valueLength
58+
SELECT TOP (2000) [id],
59+
[path],
60+
LEN(path) AS valueLength
6161
FROM [dbo].[umbracoMediaVersion]
62-
WHERE path IS NOT null
63-
ORDER BY Len(path) DESC
62+
WHERE LEN(path) > 80
63+
AND path IS NOT NULL
64+
ORDER BY LEN(path) DESC;
6465
```
6566
3. Identify the files with a path longer than 80 characters.
6667
4. Find the files in the Media section in the Umbraco backoffice.

0 commit comments

Comments
 (0)