2011-10-04 4 views
1

procees w3wp.exe에 연결하여 내 asmx 웹 서비스를 디버깅하고 중단 점을 추가합니다. 하지만 헤 퍼드는 없습니다 (중단 점은 현재 히트되지 않습니다.이 문서에는 심볼이로드되지 않았습니다).디버깅 asmx 웹 서비스를 실행할 수 없습니다.

othes 프로젝트에서 asmx 파일에서 호출하는 코드를 디버깅 할 수 있습니다.

ASMX 파일 참조 :

<%@ WebService Language="vb" Codebehind="~/App_Code/MyWebService.asmx.vb" Class="MyWebService.MyWebService" Debug="true" %> 

페이지의 Web.config :

<compilation defaultLanguage="vb" debug="true" targetFramework="4.0"> 
    <compilers> 
    <compiler language="vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" extension=".VB" compilerOptions="/optimize+ /define:Trace=True /imports:Microsoft.VisualBasic,System,System.Collections,System.Data,System.Diagnostics,System.Web,System.Web.Services"/> 
    </compilers> 
</compilation> 

내가 2008 R2, VS 2010 SP1을 승리 사용은, 7.5, 닷넷 프레임 워크 4 86를 IIS를.

누군가 내 asmx 파일을 디버깅 할 수있는 아이디어가 있습니까?

답변

1

Visual Studio에서 디버그 모드 (릴리스 모드와 반대)에서 실행 중인지 확인하십시오. 또한/obj 및/bin 폴더를 삭제하고 전체 솔루션을 다시 빌드 해보십시오.

+0

감사합니다. 도움이되었습니다. – tbicr

관련 문제