Skip to content

Commit dc132c4

Browse files
Merge pull request #2509 from syncfusion-content/1015644-troubleshooting
1015644: Add Troubleshooting page for document fails to load with 404 error
2 parents 54b7d33 + ba560df commit dc132c4

11 files changed

Lines changed: 229 additions & 1 deletion

Document-Processing-toc.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3672,6 +3672,11 @@
36723672
<li><a href="/document-processing/word/word-processor/angular/how-to/customize-ribbon">Customize Ribbon</a></li>
36733673
</ul>
36743674
</li>
3675+
<li>Troubleshooting
3676+
<ul>
3677+
<li><a href="/document-processing/word/word-processor/angular/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
3678+
</ul>
3679+
</li>
36753680
<li>FAQ
36763681
<ul>
36773682
<li><a href="/document-processing/word/word-processor/angular/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
@@ -3882,6 +3887,11 @@
38823887
<li><a href="/document-processing/word/word-processor/react/how-to/customize-ribbon">Customize Ribbon</a></li>
38833888
</ul>
38843889
</li>
3890+
<li>Troubleshooting
3891+
<ul>
3892+
<li><a href="/document-processing/word/word-processor/react/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
3893+
</ul>
3894+
</li>
38853895
<li>FAQ
38863896
<ul>
38873897
<li><a href="/document-processing/word/word-processor/react/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
@@ -4020,6 +4030,11 @@
40204030
<li><a href="/document-processing/word/word-processor/vue/how-to/customize-ribbon">Customize Ribbon</a></li>
40214031
</ul>
40224032
</li>
4033+
<li>Troubleshooting
4034+
<ul>
4035+
<li><a href="/document-processing/word/word-processor/vue/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
4036+
</ul>
4037+
</li>
40234038
<li>FAQ
40244039
<ul>
40254040
<li><a href="/document-processing/word/word-processor/vue/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
@@ -4157,6 +4172,11 @@
41574172
<li><a href="/document-processing/word/word-processor/javascript-es5/how-to/customize-ribbon">Customize Ribbon</a></li>
41584173
</ul>
41594174
</li>
4175+
<li>Troubleshooting
4176+
<ul>
4177+
<li><a href="/document-processing/word/word-processor/javascript-es5/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
4178+
</ul>
4179+
</li>
41604180
<li>FAQ
41614181
<ul>
41624182
<li><a href="/document-processing/word/word-processor/javascript-es5/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
@@ -4293,6 +4313,11 @@
42934313
<li><a href="/document-processing/word/word-processor/javascript-es6/how-to/customize-ribbon">Customize Ribbon</a></li>
42944314
</ul>
42954315
</li>
4316+
<li>Troubleshooting
4317+
<ul>
4318+
<li><a href="/document-processing/word/word-processor/javascript-es6/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
4319+
</ul>
4320+
</li>
42964321
<li>FAQ
42974322
<ul>
42984323
<li><a href="/document-processing/word/word-processor/javascript-es6/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>

Document-Processing/Word/Word-Processor/angular/document-editor-toc.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,13 @@
125125
<li><a href="/document-processing/word/word-processor/angular/how-to/customize-ribbon">Customize Ribbon</a></li>
126126
</ul>
127127
</li>
128-
<li>FAQ
128+
<li>Troubleshooting
129+
<ul>
130+
<li><a
131+
href="/document-processing/word/word-processor/angular/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
132+
</ul>
133+
</li>
134+
<li>FAQ
129135
<ul>
130136
<li><a href="/document-processing/word/word-processor/angular/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
131137
</ul>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
layout: post
3+
title: Document loading issue in Angular DOCX editor | Syncfusion
4+
description: Document loading may fail with a 404 error if the Document Editor cannot reach a valid service URL, which may be due to the below reasons.
5+
control: document loading issue with 404 error
6+
platform: document-processing
7+
documentation: ug
8+
domainurl: ##DomainURL##
9+
---
10+
11+
# Document loading issue with 404 error in Angular DOCX editor
12+
13+
If document loading fails and you see a 404 error in the browser console, the Document Editor is unable to reach a valid Web Service endpoint.
14+
15+
## Reasons
16+
17+
The 404 error may occur due to the following reasons:
18+
19+
- **The Web Service is not running or inactive** – When hosting your own Web API, the server may be stopped or not deployed correctly, causing required endpoints such as `/Import` or `/SpellCheck` to return 404.
20+
- **The configured `serviceUrl` is invalid** – Issues like a missing trailing slash (`/`), wrong port number, incorrect API route, or typos will cause the editor to call incorrect endpoints.
21+
- **The application is using an old or discontinued Document Editor service URL** – When using an old Document Editor service URL which no longer valid.
22+
23+
## Solution
24+
25+
1. Update the application to use the new hosted Document Editor Web Service URL introduced in v31.x.x. For example:
26+
27+
```javascript
28+
container.serviceUrl = 'https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/';
29+
```
30+
31+
> Note: The hosted Web API link is provided for demonstration and evaluation only. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.
32+
33+
2. If you are using your own hosted Web API, ensure that the Web Service is running, active, and the configured service URL is valid.
34+
35+
---

Document-Processing/Word/Word-Processor/javascript-es5/ej2-javascript-document-editor-toc.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@
127127
<li><a href="/document-processing/word/word-processor/javascript-es5/how-to/customize-ribbon">Customize Ribbon</a></li>
128128
</ul>
129129
</li>
130+
<li>Troubleshooting
131+
<ul>
132+
<li><a href="/document-processing/word/word-processor/javascript-es5/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
133+
</ul>
134+
</li>
130135
<li>FAQ
131136
<ul>
132137
<li><a href="/document-processing/word/word-processor/javascript-es5/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
layout: post
3+
title: Document loading issue in JavaScript(ES5) DOCX editor | Syncfusion
4+
description: Document loading may fail with a 404 error if the Document Editor cannot reach a valid service URL, which may be due to the below reasons.
5+
control: document loading issue with 404 error
6+
platform: document-processing
7+
documentation: ug
8+
domainurl: ##DomainURL##
9+
---
10+
11+
# Document loading issue with 404 error in JavaScript(ES5) DOCX editor
12+
13+
If document loading fails and you see a 404 error in the browser console, the Document Editor is unable to reach a valid Web Service endpoint.
14+
15+
## Reasons
16+
17+
The 404 error may occur due to the following reasons:
18+
19+
- **The Web Service is not running or inactive** – When hosting your own Web API, the server may be stopped or not deployed correctly, causing required endpoints such as `/Import` or `/SpellCheck` to return 404.
20+
- **The configured `serviceUrl` is invalid** – Issues like a missing trailing slash (`/`), wrong port number, incorrect API route, or typos will cause the editor to call incorrect endpoints.
21+
- **The application is using an old or discontinued Document Editor service URL** – When using an old Document Editor service URL which no longer valid.
22+
23+
## Solution
24+
25+
1. Update the application to use the new hosted Document Editor Web Service URL introduced in v31.x.x. For example:
26+
27+
```javascript
28+
container.serviceUrl = 'https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/';
29+
```
30+
31+
> Note: The hosted Web API link is provided for demonstration and evaluation only. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.
32+
33+
2. If you are using your own hosted Web API, ensure that the Web Service is running, active, and the configured service URL is valid.
34+
35+
---

Document-Processing/Word/Word-Processor/javascript-es6/ej2-typescript-document-editor-toc.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@
126126
<li><a href="/document-processing/word/word-processor/javascript-es6/how-to/customize-ribbon">Customize Ribbon</a></li>
127127
</ul>
128128
</li>
129+
<li>Troubleshooting
130+
<ul>
131+
<li><a
132+
href="/document-processing/word/word-processor/javascript-es6/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
133+
</ul>
134+
</li>
129135
<li>FAQ
130136
<ul>
131137
<li><a href="/document-processing/word/word-processor/javascript-es6/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
layout: post
3+
title: Document loading issue in JavaScript(ES6) DOCX editor | Syncfusion
4+
description: Document loading may fail with a 404 error if the Document Editor cannot reach a valid service URL, which may be due to the below reasons.
5+
control: document loading issue with 404 error
6+
platform: document-processing
7+
documentation: ug
8+
domainurl: ##DomainURL##
9+
---
10+
11+
# Document loading issue with 404 error in JavaScript(ES6) DOCX editor
12+
13+
If document loading fails and you see a 404 error in the browser console, the Document Editor is unable to reach a valid Web Service endpoint.
14+
15+
## Reasons
16+
17+
The 404 error may occur due to the following reasons:
18+
19+
- **The Web Service is not running or inactive** – When hosting your own Web API, the server may be stopped or not deployed correctly, causing required endpoints such as `/Import` or `/SpellCheck` to return 404.
20+
- **The configured `serviceUrl` is invalid** – Issues like a missing trailing slash (`/`), wrong port number, incorrect API route, or typos will cause the editor to call incorrect endpoints.
21+
- **The application is using an old or discontinued Document Editor service URL** – When using an old Document Editor service URL which no longer valid.
22+
23+
## Solution
24+
25+
1. Update the application to use the new hosted Document Editor Web Service URL introduced in v31.x.x. For example:
26+
27+
```javascript
28+
container.serviceUrl = 'https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/';
29+
```
30+
31+
> Note: The hosted Web API link is provided for demonstration and evaluation only. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.
32+
33+
2. If you are using your own hosted Web API, ensure that the Web Service is running, active, and the configured service URL is valid.
34+
35+
---

Document-Processing/Word/Word-Processor/react/document-editor-toc.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@
126126
<li><a href="/document-processing/word/word-processor/react/how-to/customize-ribbon">Customize Ribbon</a></li>
127127
</ul>
128128
</li>
129+
<li>Troubleshooting
130+
<ul>
131+
<li><a href="/document-processing/word/word-processor/react/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
132+
</ul>
133+
</li>
129134
<li>FAQ
130135
<ul>
131136
<li><a href="/document-processing/word/word-processor/react/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
layout: post
3+
title: Document loading issue in React DOCX editor component | Syncfusion
4+
description: Document loading may fail with a 404 error if the Document Editor cannot reach a valid service URL, which may be due to the below reasons.
5+
control: document loading issue with 404 error
6+
platform: document-processing
7+
documentation: ug
8+
domainurl: ##DomainURL##
9+
---
10+
11+
# Document loading issue with 404 error in React DOCX editor component
12+
13+
If document loading fails and you see a 404 error in the browser console, the Document Editor is unable to reach a valid Web Service endpoint.
14+
15+
## Reasons
16+
17+
The 404 error may occur due to the following reasons:
18+
19+
- **The Web Service is not running or inactive** – When hosting your own Web API, the server may be stopped or not deployed correctly, causing required endpoints such as `/Import` or `/SpellCheck` to return 404.
20+
- **The configured `serviceUrl` is invalid** – Issues like a missing trailing slash (`/`), wrong port number, incorrect API route, or typos will cause the editor to call incorrect endpoints.
21+
- **The application is using an old or discontinued Document Editor service URL** – When using an old Document Editor service URL which no longer valid.
22+
23+
## Solution
24+
25+
1. Update the application to use the new hosted Document Editor Web Service URL introduced in v31.x.x. For example:
26+
27+
```javascript
28+
container.serviceUrl = 'https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/';
29+
```
30+
31+
> Note: The hosted Web API link is provided for demonstration and evaluation only. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-DocumentEditor-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/word-processor-server) for hosting your own web service and use for the serviceUrl property.
32+
33+
2. If you are using your own hosted Web API, ensure that the Web Service is running, active, and the configured service URL is valid.
34+
35+
---

Document-Processing/Word/Word-Processor/vue/document-editor-toc.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@
127127
<li><a href="/document-processing/word/word-processor/vue/how-to/customize-ribbon">Customize Ribbon</a></li>
128128
</ul>
129129
</li>
130+
<li>Troubleshooting
131+
<ul>
132+
<li><a
133+
href="/document-processing/word/word-processor/vue/troubleshooting/document-loading-issue-with-404-error">Document loading issue with 404 error</a></li>
134+
</ul>
135+
</li>
130136
<li>FAQ
131137
<ul>
132138
<li><a href="/document-processing/word/word-processor/vue/faq/unsupported-file-format">Unsupported Warning Message When Opening a Document</a></li>

0 commit comments

Comments
 (0)