'url'属性的网址格式错误 [英] The 'url' property had a malformed URL

查看:273
本文介绍了'url'属性的网址格式错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有asp.net应用程序。它显示我跟随错误。这个例外的解决方案是什么?



'url'属性网址格式错误:/Builder++Config/DocumentKeys/ShowDocumentKeysTable.aspx?.

解决方案

我的猜测是彼此相邻的2个加号。



你想要使用Server.UrlEncode ()当你构建一个url以便正确编码任何特殊字符时。



https://msdn.microsoft.com/en-us/library/ms525738%28v=vs.90%29.aspx [<一个href =https://msdn.microsoft.com/en-us/library/ms525738%28v=vs.90%29.aspx\"target =_ blanktitle =New Window> ^ ]

i have asp.net application. it shows me following error. what is solution for this exception??

The 'url' property had a malformed URL: /Builder++Config/DocumentKeys/ShowDocumentKeysTable.aspx?.

解决方案

My guess is the 2 pluses next to each other.

You'll want to use Server.UrlEncode() when you build a url so that any special characters are encoded properly.

https://msdn.microsoft.com/en-us/library/ms525738%28v=vs.90%29.aspx[^]


这篇关于'url'属性的网址格式错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆