2010-07-08 4 views
0

WebForms asp.net 프로젝트 용 .net 4로 업그레이드하려고했습니다..net 4로 업그레이드하면 webservice .asmx가 손상됩니다.

이제 나는 .asmx webservice에 가려고 할 때 이것을 얻게됩니다. 내가 IIS를 사용하고 잘못된 응용 프로그램 풀을 사용했기 때문에


Server Error in '/' Application. Type 'Chickenweb.WebServ.WebServ' does not inherit from 'System.Web.UI.Page'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Type 'Chickenweb.WebServ.WebServ' does not inherit from 'System.Web.UI.Page'.

그것은이었다. 모든 답변 주셔서 감사합니다!

+0

IIS 인스턴스에 배포하거나 Visual Studio를 디버깅 한 후에이 작업을 수행합니까? –

답변

4

IIS에서 .asmx 파일이 .aspx 파일이라고 생각하는 것 같습니다. IIS에서 매핑을 검사하여 .asmx가 활성화되어 있고 올바르게 설정되어 있는지 확인해야합니다.

관련 문제