回发期间出错 [英] Error during postback

查看:73
本文介绍了回发期间出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai,





我设计的.html页面。然后在.aspx页面中我放了链接按钮。如果我们点击链接按钮它应该转到.html页面。我尝试通过链接按钮给出postbackurl。但我收到以下错误消息。



不允许使用用于访问路径'/WebSite1/dashboard-spy-template.html'的HTTP谓词POST。 





Plz帮助我

解决方案

试试这个



 ASP.Net ISAPI DLL已插入以翻译所有(*)网址,因此必须按照以下步骤操作:

单击网站
选择属性,然后在虚拟目录选项卡上单击配置
删除ASP.Net ISAPI DLL(C:\ WINDOWS\Microsoft.NET\Framework\v2。 0 .50727 \ aspnet_isapi.dll)
重新启动IIS并再次尝试


Hai,


I am designed the .html page.Then in the .aspx page I have put link button.If we click on link button it should go to the .html page.I tried by giving postbackurl on the link button.But i am getting below error message.

The HTTP verb POST used to access path '/WebSite1/dashboard-spy-template.html' is not allowed. 



Plz help me

解决方案

try this

The ASP.Net ISAPI DLL was plugged-in to translate all (*) URLs so had to follow these steps:

Click on the website
Choose Properties and on Virtual Directory tab click Configuration
Remove the ASP.Net ISAPI DLL (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll)
Restart IIS and try again.


这篇关于回发期间出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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