2014-07-17 4 views
0

여러 웹 서버 (Windows 2008)에 웹 응용 프로그램이 있습니다. 그러나 Windows 2012 서버에서 다음과 같은 오류 메시지가 나타납니다.ASP.net 응용 프로그램에서 WebService 호출

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: BC30002: Type 'myservice.units.AFMService' is not defined. 

Source Error: 



Line 8:   Dim oService As New myservice.units.AFMService 

코드가 사전 컴파일되지 않았으므로 한 서버에서 다른 서버로 코드를 복사하기 만했습니다. 다른 모든 페이지/호출은 올바르게 작동합니다.

의 Web.config 다음 줄

<add key="myservice.units.AFM" value="http://xxxxxx/xxxx/x/xxx.asmx"/ 

내가 확인할 수 있습니다 무엇에 어떤 아이디어를 가지고?

답변

0

나는 질문을하기에는 너무 빠르다고 생각한다.

폴더 APP_WebRefrences를 다시 복사했는데 작동했습니다.

관련 문제