日期:2014-05-16  浏览次数:21308 次

关于iis预览问题


我在iis上挂了个网站后,然后预览时出现这样的问题,求高手指点下,并提点解决方案


Server Error in '/' Application.
--------------------------------------------

Compilation Error 
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 

Compiler Error Message: CS1729: 'Notice' does not contain a constructor that takes '0' arguments

Source Error:

 

Line 34: public Notice GetNoticeInfo(long noticeId)
Line 35: {
Line 36: Notice n = new Notice();
Line 37: Boolean b;
Line 38: 
 

Source File: d:\新版影院后台\webmedia7\Viewgood\WebMedia\App_Code\web\vprogram\business\NoticeService.cs Line: 36 



------解决方案--------------------
错误提示没有构造函数啊