2016-03-28 70 views
0

我有asp.net的web服務,我發送我的數據通過數據庫。 我正在發送由encodeURI編碼的texteditor(ckeditor)值。 我的網絡服務是蔚藍的。問題是接下來,當我發送超過1200個字符時,我得到請求方法:GET和狀態碼404在控制檯中找不到,如果我發送少量文本,它會通過。大的請求不通過網絡服務

如果我直接將數據(程序與該數據)複製到Web服務中,則無論數據的大小如何,它總是會經過。

問題在哪裏,它是ajax?這是在網絡服務的東西?或Web服務的Web配置,它是天藍色的嗎?

感謝您的幫助。

編輯:這就是我所說的程序和數據的一個例子,我送

EXECUTE wsBlogUpdate N'1000030',N'Admin',NULL,N'Name',N'Title',N'Subtitle',N'%3Cp%3ELorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.%20Nunc%20vehicula%20urna%20sed%20mauris%20ultrices%20lacinia.%20Integer%20vel%20justo%20auctor%2C%20accumsan%20nibh%20in%2C%20lacinia%20augue.%20Curabitur%20vel%20dui%20quam.%20Duis%20viverra%20justo%20orci%2C%20ut%20vestibulum%20augue%20pellentesque%20eleifend.%20Duis%20in%20magna%20vulputate%2C%20facilisis%20eros%20et%2C%20viverra%20orci.%20Fusce%20ex%20turpis%2C%20ornare%20ac%20dolor%20ut%2C%20accumsan%20malesuada%20ante.%20Maecenas%20suscipit%20elit%20arcu%2C%20sit%20amet%20pulvinar%20sem%20scelerisque%20dignissim.%20Curabitur%20eget%20luctus%20nibh.%20Maecenas%20interdum%20ut%20nunc%20eget%20hendrerit.%20Fusce%20id%20erat%20condimentum%2C%20iaculis%20est%20luctus%2C%20mattis%20justo.%3C%2Fp%3E%3Cp%3ELorem%20ipsum%20dolor%20sit%20amet%2C%20consectetur%20adipiscing%20elit.%20Nunc%20vehicula%20urna%20sed%20mauris%20ultrices%20lacinia.%20Integer%20vel%20justo%20auctor%2C%20accumsan%20nibh%20in%2C%20lacinia%20augue.%20Curabitur%20vel%20dui%20quam.%20Duis%20viverra%20justo%20orci%2C%20ut%20vestibulum%20augue%20pellentesque%20eleifend.%20Duis%20in%20magna%20vulputate%2C%20facilisis%20eros%20et%2C%20viverra%20orci.%20Fusce%20ex%20turpis%2C%20ornare%20ac%20dolor%20ut%2C%20accumsan%20malesuada%20ante.%20Maecenas%20suscipit%20elit%20arcu%2C%20sit%20amet%20pulvinar%20sem%20scelerisque%20dignissim.%20Curabitur%20eget%20luctus%20nibh.%20Maecenas%20interdum%20ut%20nunc%20eget%20hendrerit.%20Fusce%20id%20erat%20condimentum%2C%20iaculis%20est%20luctus%2C%20mattis%20justo.%3C%2Fp%3E',NULL,N'28.03.2016' 
+0

你能告訴的一個示例請求 – Nkosi

+0

@Nkosi使用示例編輯 – noitse

+0

等待,是SQL失敗還是實際的ASMX請求? – CodingGorilla

回答

0

解決方案是在不斷變化的網絡配置和添加

<httpRuntime maxQueryStringLength="2097151" />