Do you support windows 2008 x64(IIS7)

Topics: Developer Forum, Project Management Forum, User Forum
Aug 3, 2008 at 4:03 AM
I used IIRF for long time, now my platform switches to Windows 2008 x64(IIS7), but I found that IIRF can not run under the new platform.
I am not sure if I am wrong on using the APIs or so far IIRF does not support x64 IIS7?

Looking forward to hearing from you, thanks in advance.

Jason


Coordinator
Aug 4, 2008 at 4:43 PM
Correct!  There is no x64 build of IIRF.

Oct 8, 2008 at 6:35 PM
You know, actually it's quite easy to recompile the source of IIRF to run under x64 with VS2008.  I'm running the preview of 2.x on Server 2003 R2 64-bit without any problems (and no, it's not in 32-bit compatibility mode either)!

You just have to make some changes to the makefile, and away you go.
Coordinator
Oct 8, 2008 at 6:45 PM
Cool!
I'm glad you're able to do that.  I don't have the capacity or resources to test it or verify that it is all going to work.
Oct 9, 2008 at 1:42 PM
Well, obviously you don't (especially with someone compiling from source, I mean let's face it normally anyone compiling from source and not using binaries of something should be on their own for the most part), but it's obvious proof to your programming ability that even with the 2.x preview, I was able to cross-compile it, and it works beautifully.  Thanks, man! :)

(If people are interested, I'll post as to what I did to get IIRF working in x64...I also did it for the release version, but I WAY prefer the 2.x build and the mulitple ini file format)
Oct 9, 2008 at 1:45 PM
Oh, forgot to mention...the actual most time-consuming part of the whole deal was building an x64 version of PCRE for it.
Oct 23, 2008 at 3:20 PM
Hi,
 
I´m using iirf in the actualy release Version and I saw duplicated DB entriees since i configured it on my testing machine.
After searching the web I´ve saw this thread (and the other with ColdFusion and duplicated DB Entriees).

I´m using iirf on W2003 x64 in 32-bit comp. mode
After starting depends.exe I´ll get following error
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.

Could this make the problem with double DB entries?

@Rascally
I´m interested to compile it to a x64 system
I´m running also a 2003 R2 64-bit but with problems. Every help is welcome

P.S. Sorry for my bad english

Coordinator
Oct 25, 2008 at 2:31 AM
Dali, I'm sorry I tried to understand what you are asking, and I just don't know what you want. 
Nov 18, 2008 at 6:30 PM
Rascally, could you post what changed you've made in order to cross-compile it? I need to use this on a 64-bit windows. Thanks!
Dec 1, 2008 at 8:28 AM
I would like to know how to get it running on 64-bit too. I am having problems compiling pcre (weird problems to do with it complaining about symbols missing that are clearly there).
Dec 1, 2008 at 11:44 AM
I have this working in 64-bit now, I used the brute force method and placed everything in the same solution...and it worked :)

So... I have 64-bit exes and DLLs and I also have a Visual Studio 2005 solution that I made which uses pcre 7.8. What should I do about letting other people have these?
Coordinator
Dec 1, 2008 at 3:06 PM
Edited Dec 1, 2008 at 3:09 PM
SF,
Not sure if you can amend the open x64 workitem and add an attachment.  If you can, maybe just attach a zip of your VS solution?
If that doesn't work out, send it to me directly, and I will post it to the site. 

Did you use the v2.0 source or the v1.2.15 source?  (Both use the same PCRE)

There are enough people asking for x64 that I may have to add it as a "supported" build, formally.
I was thinking demand for IIRF might just "go away" when the IIS7 URL rewriter came along.
But no.


-Cheeso

Dec 1, 2008 at 3:30 PM
I have uploaded it onto this ticket: http://www.codeplex.com/IIRF/WorkItem/View.aspx?WorkItemId=12809

Binaries included.

I used the 1.2 source. However, getting IsapiRewriter to compile was a breeze so I suspect v2 will just work. It was the pcre that was tricky.

Coordinator
Dec 2, 2008 at 5:39 AM
Edited Dec 2, 2008 at 5:42 AM
SF, after having looked at your work, I'm not so sure we have it right.
I went to the pcre-dev mailing list and it seems that Win64 is a supported target platform for the PCRE library.  There is a prescribed way to do it with VS2008 or VS2005. 
I followed the steps outlined in the NON-UNIX-USE readme file that ships with PCRE 7.8, and the build for PCRE just worked for me. There was no trickiness, no difficulty at all. 
I was able to build static or shared libraries, in x86 or x64 configuration.

In the interest of producing something pretty reliable, I'd like to stick with the guidance provided by the owners of PCRE and build it the way they say. 

The next step will be producing a single VC2008 project for IIRF that supports win32 and x64 build configurations, using the output of those PCRE builds.

I'll keep you all posted on my progress.

 
Dec 2, 2008 at 9:43 PM
Ok, that's cool. I wasn't very happy with shoving all the source into one project but I was under some pressure (I came to install it and found out it was a 64-bit IIS). Making a lib and linking to it sounds the best plan.
Mar 2, 2009 at 7:47 PM
I am having problem with IIRF running on a x64 server and need it badly. Cheeso, do you have a VC2008 project yet for IIRF on x64 build configuration?

Or do you have an updated makefile to support VC9 nmake. Last time I tried, it complained that could not find wctypes.h file. Thanks!
Aug 3, 2009 at 2:23 PM
Cheeso wrote:
I was thinking demand for IIRF might just "go away" when the IIS7 URL rewriter came along.
But no.

definitely not! the iirf ini file is much easier to manipulate than the web.config XML.

Coordinator
Aug 3, 2009 at 7:00 PM

Ah, that explains it.

Well, I have sort of been dragging azz on the x64 port. 

Aug 4, 2009 at 7:47 AM

It's funny, actually.  As you guys know, we've actually been using the 2.0 preview version of IIRF, recompiled as x64, in a production environment for a while now, with very extensive use since like, March.  Anyways, long story short, we were moving to new servers last week, both running server 2008.  I thought "ok, cool...I'll just use the URL rewrite extension for IIS 7." Tried to shoehorn our huge IIRF ruleset into there, it'd import ok, say itwas fine, then not do a damn thing the rewrite rule told it to do.

After screwing around with it for hours, I said to hell with it, grabbed my IIRF x64 binaries from the old server, installed it on the new one, and was back up and running awesome in like under 5 minutes, including copying the files to the new machine. :)

Not only do I WAY prefer IIRF's config file and structure (not just cuz everythinig is already done in it, but the microsoft URL rewrite stuff seems WAY too square-peg-into-round-hole type of a solution), but 2.o preview (dunno about the current 1.x release tree, havent used it in ages) runs SWEET on 2008 server on x64 quad-core xeons.

Cheeso, bro...don't give up on IIRF!  I STILL say its the best URL rewriting module for IIS out there.  Easily.

Coordinator
Aug 4, 2009 at 3:23 PM

Huh, that is nice to hear, I'm glad it's working out for you.  I agree that the XMLification of the config in IIS7's Rewrite Module makes more complicated.   Rewriting is complicated enough.

About the x64 port - ok I am convinced that it is worthwhile and very interesting to lots of people. But, ... I don't have an x64 server, I don't have any x64 hardware nor any server.

I know I can build for x64 on my x86 machine, but I've no way to run it, test it.

Anyone wanna donate a server? 

Aug 18, 2009 at 8:46 AM

I am using the x64 build of IIRF (which can be found at http://www.codeplex.com/IIRF/WorkItem/View.aspx?WorkItemId=12809) in a production environment (Windows Server 2003 x64 R2), and am experiencing some problems with it. Once in a while, a worker process dies with the following error in the application log:

 

 

Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 8/18/2009
Time: 7:48:49 AM
User: N/A
Computer: KSWH543
Description:
Faulting application w3wp.exe, version 6.0.3790.3959, faulting module IsapiRewrite4.dll, version 0.0.0.0, fault address 0x000000000003a410.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 77 33 77   ure  w3w
0018: 70 2e 65 78 65 20 36 2e   p.exe 6.
0020: 30 2e 33 37 39 30 2e 33   0.3790.3
0028: 39 35 39 20 69 6e 20 49   959 in I
0030: 73 61 70 69 52 65 77 72   sapiRewr
0038: 69 74 65 34 2e 64 6c 6c   ite4.dll
0040: 20 30 2e 30 2e 30 2e 30    0.0.0.0
0048: 20 61 74 20 6f 66 66 73    at offs
0050: 65 74 20 30 30 30 30 30   et 00000
0058: 30 30 30 30 30 30 33 61   0000003a
0060: 34 31 30                  410     

Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 8/18/2009
Time: 7:48:49 AM
User: N/A
Computer: KSWH543
Description:
Faulting application w3wp.exe, version 6.0.3790.3959, faulting module IsapiRewrite4.dll, version 0.0.0.0, fault address 0x000000000003a410.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 70 70 6c 69 63 61 74   Applicat
0008: 69 6f 6e 20 46 61 69 6c   ion Fail
0010: 75 72 65 20 20 77 33 77   ure  w3w
0018: 70 2e 65 78 65 20 36 2e   p.exe 6.
0020: 30 2e 33 37 39 30 2e 33   0.3790.3
0028: 39 35 39 20 69 6e 20 49   959 in I
0030: 73 61 70 69 52 65 77 72   sapiRewr
0038: 69 74 65 34 2e 64 6c 6c   ite4.dll
0040: 20 30 2e 30 2e 30 2e 30    0.0.0.0
0048: 20 61 74 20 6f 66 66 73    at offs
0050: 65 74 20 30 30 30 30 30   et 00000
0058: 30 30 30 30 30 30 33 61   0000003a
0060: 34 31 30                  410     

I was wondering, am I the only one with this error?
Furthermore, I really hope Cheeso will be able to put out a supported x64 release of IIRF, since I love the simplicity of the filter. Keep up the good work!

 

Coordinator
Aug 18, 2009 at 3:27 PM

I have no way to test an x64 build, so I won't be of any help.

 

Nov 29, 2009 at 12:12 AM

Can you just compile it and we be the guinea pigs? Just put a disclaimer that it is not officially supported yet.

I really need this. I am getting 500 errors and I am in 32bit compat mode.

Or if anyone else has the latest build with x64 support, please let me know!!

 

THanks,
Derek

Coordinator
Nov 29, 2009 at 2:13 PM

send me an x64 server machine, and I'll do it.

http://iirf.codeplex.com/Thread/View.aspx?ThreadId=75863

Mar 25, 2010 at 4:39 PM

Has anybody solved this issue with x64? I'm running windows 2008 and cannot installed it. It worked fine on my old server.

Oct 18, 2011 at 2:49 AM

I've tested on Windows Server 2008 x64 , both IIRF2.1.2 x86 and x64 versions are working well,,just for your informatin,URL: http://iirf.codeplex.com/discussions/276031  ,hope this will be helpful to you,and good luck to you.