编写代码时发生错误 [英] error occure within writing code

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

问题描述

< System.Web.Script.Services.ScriptService()> _此处错误是使用vb.net在asp.net中要求的标识符如何解决是否需要任何导入

<System.Web.Script.Services.ScriptService()>_ here error is identifier requered in asp.net with vb.net how to solve is any import is required

推荐答案

似乎您的项目中缺少对System.Web.Extensions的引用,或者您有一个ASP.NET AJAX 1.0而不是.NET 3.5/4.0版本的引用.

使用Visual Studio网站上的目标框架3.5构建应用程序:
菜单->启动选项->建立->目标框架3.5/4.0

确保DLL存在并且使用了正确的版本.
It looks like you are missing a reference to System.Web.Extensions in your project, or you have one for ASP.NET AJAX 1.0 instead of the .NET 3.5/4.0 version.

Build your application using target framework 3.5 from Visual Studio website:
menu-> start option-> build-> target framework 3.5/4.0

Make sure the DLL is there and the correct version is used.


这篇关于编写代码时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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