| |

VerySource

 Forgot password?
 Register
Search
View: 639|Reply: 5

web.config configuration issues (globalization issues)

[Copy link]

4

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-1-20 15:40:02
| Show all posts |Read mode
"/" Application server error.
-------------------------------------------------- ------------------------------

Configuration error
Explanation: An error occurred while processing the configuration files needed to service the request. Please check the specific error details below and modify the configuration file appropriately.

Analyzer error message: Unrecognized attribute "requestencoding". Please note that property names are case sensitive.

Source error:


Line 8: <system.web>
Line 9: <compilation debug = "true" />
Line 10: <globalization requestencoding = "gb2312" responseencoding = "gb2312" />
Line 11: </system.web>
Line 12:
 

Source file: E:\WebSite\web.config line: 10
Reply

Use magic Report

0

Threads

60

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-1-29 13:27:01
| Show all posts
Please note that property names are case sensitive
 The capitalization is wrong

I can't remember it specifically
Seems like RequeStencoding
Reply

Use magic Report

0

Threads

60

Posts

23.00

Credits

Newbie

Rank: 1

Credits
23.00

 China

Post time: 2020-1-29 14:00:01
| Show all posts
The string is missing by t
Reply

Use magic Report

4

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-1-30 01:36:01
| Show all posts
Both attributes are wrong
Reply

Use magic Report

0

Threads

41

Posts

13.00

Credits

Newbie

Rank: 1

Credits
13.00

 China

Post time: 2020-2-14 14:30:01
| Show all posts
<globalization requestencoding = "gb2312" responseencoding = "gb2312" />
->

<globalization requestEncoding = "GB2312" responseEncoding = "GB2312" />
Reply

Use magic Report

2

Threads

7

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-2-14 14:45:01
| Show all posts
The correct way is:
<globalization requestEncoding = "gb2312" responseEncoding = "gb2312" />
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list