VCL form the Web 의 StandAlon (C++ Builder) 을 이용하여 "Hello world" 만 보여주는 초 간단 페이지 및 기타 페이지를 만들고 정상 실행되는것을 확인하고 프로젝트를 진행할까 하다가, 혹시 해서 ISAPI 로 컴파일해서 IIS7 (WIndows 7 32bit Ultimate) 에 등록하여 실행해 보았습니다. 헌데 다음과 같은 에러가 나며 동작하지를 않네요.
HTTP 오류 500.0 - Internal Server Error
ISAPI 필터 "C:\inetpub\wwwroot\Test.dll"에 대한 GetProcAddress 호출이 실패했습니다.
개발사인
http://www.atozed.com 페이지의 FAQ 를 살펴보니
When I convert my application to ISAPI it no longer works?
In most cases it is a permissions problem with your code. Since we cannot know what every user's code does, we cannot tell you exactly how to fix it. Please try the following steps:
1. Try to deploy the GuessDLL demo. If it works, there is a problem with your code in your application, very likely permissions or local configuration.
2. Try setting the application directory, files and subdirectories to "Everyone, full control"
3. Try to run your application as the admin user (configured from IIS console). If it works, it is a permissions problem.
4. If your application is still failing you will need to debug the ISAPI DLL directly. This article on Borland's CodeCentral shows how to do that with IIS5. In genral debugging ISAPIs is more easy with Sambar though, there you just need to set sambar.exe as the ISAPI dll's host application.
라고 언급이 되어 있어, 데모(Delphi)를 다운받고 GuessDLL 로 다시 테스트 해봐도 같은 에러가 발생합니다.
2 번 항목을 보고 모든 권한을 준 상태입니다. GetProcAddress 에러인 걸로 봐서 4 번 항목은 점검해보지 않았습니다.
빌더에서 VCL for the Web 의 ISAPI 를 사용해 보신분 있으시면 도움말씀 부탁드립니다.
수고하세요..