我新建了一个asp.net web服务的网站,我又新建了一个default.aspx页面,然后在default.aspx.cs页面中加入下面的代码,
Service c = new Service();
    protected void Page_Load(object sender, EventArgs e)
    {
        c.HelloWorld();
    }

我在调试的时候提示“无法在web服务器上启动调试.服务器因语法无效而未能处理调试请求.有关更多信息,请单击"帮助"”这个错误,我在网上搜索了一些解决方法,但是都不可以。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-02
  • 2022-03-15
  • 2022-02-12
  • 2022-03-15
  • 2022-03-15
  • 2022-12-23
相关资源
相似解决方案