Re: ATL ISAPI Deployment problem



After further research, I found this issue is not related to IIS settings.

The ISAPI is working fine on all the computers with Visual Studio 2005 installed. On the other hand, the ISAPI does not work on all the computers without Visual Studio 2005 installed.


By the way, dependencies picked up by the web setup project are as follows
Microsoft_VC80_ATL_x86.msm
Microsoft_VC80_DebugCRT_X86.msm
Policy_8_0_microsoft_vc80_atl_x86.msm
Policy_8_0_Microsoft_VC80_debuggcrt_x86.msm
RPCRT4.dll


Thanks

Charles Zhang



Charles Zhang wrote:
I created a ATL ISAPI and use a web setup project to deploy the files to a web server, but I got an "You are not authorized to view this page" (HTTP Error 403 - Forbidden).


The ISAPI works fine on the development computer.

I compared the settings on the target web server and development web server. The settings on two computer looks identical for me.

Both the target web server and development web server are IIS 5.0.

I tried IIS 6 on Windows 2003 server and had the same problem.

Here is the details of the settings:

The permission on the local path is "Read".
Te Execute Permissions are "Script and Executable"
The Application Protection is "High"


The settings for "authentication methods":

"Anonymous Access" is enabled. And I made sure the user for "Anonymous Access" have full access ( "read" should be enough, but I made full control for my testing).

"Allow IIS to control password" is checked.


"Integated Windows Authentication" is checked.

And also, I placed a gif file into the web application, when I access the gif file using "http://localhost/SpeedyDbIsApi/print.gif";, the picture is displayed on the browser.

I got "You are not authorized to view this page" when I access the server response file using "http://localhost/SpeedyDbIsApi/SpeedyDbIsApi.srf";

The response file is as follows:
{{handler bin\SpeedyDbIsApi.dll/Default}}
{{HandleRequest}}

I made sure "SpeedyDbIsApi.dll" was copied onto the bin folder on the target web server.

I would like someone to give me some hints to resolve this problem.

Thanks

Charles Zhang





.



Relevant Pages

  • Re: server cluster and the NAS drive
    ... I did configure it on two computers. ... further what must i do to the web server IIS on windows server 2003?. ... Messaging and Security, MCT, MCITP, MCTS and other stuff ...
    (microsoft.public.windows.server.clustering)
  • Problems setting up a web server with Win XP and IIS 5.1...???
    ... Win XP Pro with IIS 5.1. ... content, mostly the default settings). ... I assigned a static local LAN ip to my web server (not in the range of ...
    (microsoft.public.windowsxp.network_web)
  • RE: IIS problem
    ... > For some reason my IIS is not working. ... I have two computers connected together ... > I haven't used my backup system for a few weeks, and now when I start IIS ... > web server seems to be running fine when viewing the snap-in. ...
    (microsoft.public.windowsxp.network_web)
  • IIS problem
    ... For some reason my IIS is not working. ... I have two computers connected together ... web server seems to be running fine when viewing the snap-in. ...
    (microsoft.public.windowsxp.network_web)
  • Re: ATL ISAPI Deployment problem
    ... I compared the settings on the target web server and development web ... The settings on two computer looks identical for me. ... Both the target web server and development web server are IIS 5.0. ... And also, I placed a gif file into the web application, when I access the ...
    (microsoft.public.vc.atl)