디버깅을 하려고 하면,
'XXX' 컴퓨터의 'INFOPATH.EXE'응용 프로그램(PID: XXXX)에 연결할 수 없습니다.
계속하시겠습니까?
위와 같은 오류 메시지를 보게 됩니다. 디버깅 뿐만 아니라, XSN 폼을 직접 인포패스로 불러들여서 작성하려고 해도 다음과 같은 오류가 발생을 합니다.
양식 서식 파일: file:///D:\temp\InfoTest\InfoTest\bin\Debug\InfoTest.xsn
양식 코드에 오류가 발생하여 선택한 양식을 열 수 없습니다.
Failed to grant permission to execute assembly 'InfoTest, Version=1.0.1838.20667, Culture=neutral, PublicKeyToken=null'.
해결 방법은? ^^
http://blogstogo.com/dotnet2/archive/2004/12/14/554.aspx
위의 블로그에서 발견했습니다. 내용이 간단하니 아래에 복사해 놉니다.
Unable to attach application infopath.exe error message
If you get an error when you try to debug an infopath application using VS2K3, then it's probably because you have .NET 2.0 installed. To force infopath to use version 1 create the file infopath.exe.config and save it in the same location as infopath.exe. Add this to the config file:
<startup>
<requiredRuntime imageVersion="v1.1.4322" version="v1.1.4322" />
<supportedRuntime version="v1.1.4322" />
</startup>
[Listening to: White Flag - Dido - Life for Rent (04:02)]
[최초 등록일: ]
[최종 수정일: 1/12/2005]