Windows 7 + IIS7.5 + VS2010 + ISAPI_Rewrite3_0089_x64

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 4
Joined: 14 Apr 2012, 17:03

Windows 7 + IIS7.5 + VS2010 + ISAPI_Rewrite3_0089_x64

14 Apr 2012, 17:22

I recently installed Visual Studio 2010 but IIS (or the Application Pool process instance..) is crashing when I open the website in my browser or try to start debugging:

Image

I did a complete re-installation of Windows 7 > VS2010 > IIS > ISAPI Rewrite. I have set the application pool for my website to enable 32 bits applications because I am using OleDb to connect to mdb/accdb files and otherwise I receive this message: The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.

When I remove ISAPI_Rewrite_32 (C:\Program Files\Helicon\ISAPI_Rewrite3\ISAPI_Rewrite.dll) from my ISAPI Filters for the website then the websites does not crash anymore, but obviously rewriting does not work.

When I look in Event Viewer I see two events at the moment of crash:

First a warning (source WAS):
A process serving application pool 'www.mysitehere.nl' suffered a fatal communication error with the Windows Process Activation Service. The process id was '1236'. The data field contains the error number.


Then an error (source Application Error):
Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0x4d4
Faulting application start time: 0x01cd1a77d01e1ec0
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: unknown
Report Id: 0e749fd3-866b-11e1-884a-001cc0960b97



EDIT:

I have tried a websites with 64 bit only application pool. No crash but also no URL Rewriting. Sigh..

I have used ISAPI_Rewrite3_0089_x64.msi for automatic installation but it appears not to be doing anything.
I have an empty Rewrite.log and error.log only contains such entries:

[4/15/2012 21:15:08] ISAPI Filter loaded. Version 3.1.0.89. Windows 6.1 (Build 7601 ServicePack:1) ProductType WORKSTATION. CPU type AMD64 NumberOfProcessors 4.


When I check the permissions on 'ISAPI_Rewrite.dll' and 'ISAPI_Rewrite_x64.dll' it seems user 'Everyone' has 'Read & Execute' and 'Read' permissions. When I check the Effective Permissions though for user 'IIS AppPool\DefaultAppPool' it appears to have no rights at all. But w3wp.exe is running under this username so I thought let's try to add the user permissions but then I get this:
Image
But then again, why should I have to set these permissions in the first place?

Something else I find weird is this:
Image
1) It gives website ID instead of the name
2) It does not read the .htacccess file


EDIT 2:
I have re-installed ISAPI Rewrite, thus 32 bits dll is in place once again. No more crashes but Rewrites are still not working (getting a 404 not found obviously).

http://www.helicontech.com/isapi_rewrite/doc/sysreq.htm
This page does not include Windows 7 + IIS 7.5? I have always been using Windows 7 x64 + IIS 7.5 + Visual Studio 2008 and it worked just fine... Only when I upgraded to Visual Studio 2010 ISAPI Rewrite stopped working.

I do not want to go back to Visual Studio 2008 or switch too MS URL Rewrite 2.

PS: I have the full (registered) version and I have TeamViewer installed...

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Windows 7 + IIS7.5 + VS2010 + ISAPI_Rewrite3_0089_x64

17 Apr 2012, 07:58

Hello,

We'll need to get some more data from you in order to start investigating the issue.
So please join our helpdesk system (http://support.helicontech.com/) and provide us with your ISAPI_Rewrite config, web.config, applicationHost.config (please give a link to this forum thread so that we know who you are).

Also please install DebugDiag tool. As soon as I get your first message on helpdesk, I'll send you a .pdb file to be used together with DebugDiag to get a report.

User avatar
Posts: 4
Joined: 14 Apr 2012, 17:03

Re: Windows 7 + IIS7.5 + VS2010 + ISAPI_Rewrite3_0089_x64

20 Apr 2012, 12:30

Hello Anton,

thank you for your reply.

I have created the ticket and included the requested files. I have also installed
DebugDiagx64 (http://www.microsoft.com/download/en/de ... x?id=26798).

User avatar
Posts: 4
Joined: 14 Apr 2012, 17:03

Re: Windows 7 + IIS7.5 + VS2010 + ISAPI_Rewrite3_0089_x64

18 May 2012, 11:27

UPDATE: after a lot of debugging, analyzing and coffee Anton and his team figured out the cause of the problem: IIS Metabase and IIS 6 configuration compatibility. After removing this component (Start -> Run -> OptionalFeatures) ISAPI Rewrite works again. When I re-install the component ISAPI Rewrite doesn't work anymore. This shouldn't happen, really. Perhaps there is something wrong with my Windows installation.

Anyway, I can live without this component and if I do need it I can upgrade to Helicon Ape.

Thanks a lot Anton and the rest of the team!

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 2 guests