Going insane trying to get this to work

Topics: User Forum
Nov 29, 2009 at 1:47 AM
Edited Nov 29, 2009 at 1:51 AM

Before I start, yes I have a 64bit Win2k8 install.

I tried 2.0 at first b4 I knew it won't work.
Tried 1.2 64bit from the forum, couldn't get it.
Went back to 2 but with 32bit compat mode. Sort of working

I can get the iirfstatus no problem. But when I go to the home page, 500. Also like to note that if I don't have a iirf.ini in the root, I get a 500 on iirfstatus, but home page works.

Been battling this for hours. If anyone can help, be greatly appreciated.

Thanks,
Derek

Here is my log from the home page call that gets a 500...

Sat Nov 28 21:49:10 -  3700 - -------------------------------------------------------
Sat Nov 28 21:49:10 -  3700 - Ionic ISAPI Rewriting Filter (IIRF) 2.0.1.1013 RELEASE
Sat Nov 28 21:49:10 -  3700 - IIRF was built on: Nov 11 2009 12:32:51
Sat Nov 28 21:49:10 -  3700 - Cached: DLL_PROCESS_ATTACH
Sat Nov 28 21:49:10 -  3700 - Cached: Process ID: 4000
Sat Nov 28 21:49:10 -  3700 - Cached: DLL_PROCESS_ATTACH - complete
Sat Nov 28 21:49:10 -  3700 - Cached: GetFilterVersion
Sat Nov 28 21:49:10 -  3700 - GetLogFile: app:'/LM/W3SVC/6/ROOT'  new log:'d:\websites\wucf.log.4000.log'
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: actual log file 'd:\websites\wucf.log.4000.log'
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: ini file: 'D:\websites\wucf2\Iirf.ini'
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: ini file timestamp: 2009/11/28 21:37:45 Eastern Standard Time
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: line   2: LogLevel = 5
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: pass 1
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: line   3: StatusUrl /iirfStatus
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: line   3: StatusUrl is enabled for local or remote requests.
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: line   6: RewriteRule (rule 1)  '^/cakeapp/(css|img)/(.*)$'  '-'    [L,I]
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: not a duplicate rule...
Sat Nov 28 21:49:10 -  3700 - ParseRuleModifierFlags: '[L,I]'
Sat Nov 28 21:49:10 -  3700 - ParseRuleModifierFlags: token 'L'
Sat Nov 28 21:49:10 -  3700 - rule: Last
Sat Nov 28 21:49:10 -  3700 - ParseRuleModifierFlags: token 'I'
Sat Nov 28 21:49:10 -  3700 - rule: Case Insensitive match
Sat Nov 28 21:49:10 -  3700 - ReadSiteConfig: Done reading, found 1 rules (0 errors, 0 warnings) on 13 lines
Sat Nov 28 21:49:10 -  3700 - GetSiteConfig: Obtain  site '/LM/W3SVC/6/ROOT' (era=0) (rc=1) (Expired=0) (ptr=0x02150A28)...
Sat Nov 28 21:49:10 -  3700 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Sat Nov 28 21:49:10 -  3700 - DoRewrites
Sat Nov 28 21:49:10 -  3700 - GetServerVariable_AutoFree: getting 'url'
Sat Nov 28 21:49:10 -  3700 - GetServerVariable_AutoFree: 128 bytes
Sat Nov 28 21:49:10 -  3700 - GetServerVariable_AutoFree: result ''
Sat Nov 28 21:49:10 -  3700 - GetHeader_AutoFree: getting 'url'
Sat Nov 28 21:49:10 -  3700 - GetHeader_AutoFree: 2 bytes   ptr:0x005828A8
Sat Nov 28 21:49:10 -  3700 - GetHeader_AutoFree: 'url' = '/'
Sat Nov 28 21:49:10 -  3700 - GetServerVariable_AutoFree: getting 'QUERY_STRING'
Sat Nov 28 21:49:10 -  3700 - GetServerVariable_AutoFree: 1 bytes
Sat Nov 28 21:49:10 -  3700 - GetServerVariable_AutoFree: result ''
Sat Nov 28 21:49:10 -  3700 - GetHeader_AutoFree: getting 'method'
Sat Nov 28 21:49:10 -  3700 - GetHeader_AutoFree: 4 bytes   ptr:0x00582138
Sat Nov 28 21:49:10 -  3700 - GetHeader_AutoFree: 'method' = 'GET'
Sat Nov 28 21:49:10 -  3700 - DoRewrites: New Url, before decoding: '/' 
Sat Nov 28 21:49:10 -  3700 - DoRewrites: Url (no decoding): '/'
Sat Nov 28 21:49:10 -  3700 - EvaluateRules: depth=0
Sat Nov 28 21:49:10 -  3700 - EvaluateRules: Rule 1 : -1 (No match)
Sat Nov 28 21:49:10 -  3700 - EvaluateRules: returning 0
Sat Nov 28 21:49:10 -  3700 - DoRewrites: No Rewrite
Sat Nov 28 21:49:10 -  3700 - HttpFilterProc: SF_NOTIFY_LOG
Sat Nov 28 21:49:10 -  3700 - ReleaseOrExpireSiteConfig: site '/LM/W3SVC/6/ROOT' (era=0) (rc=0) (Expired=0) (ptr=0x02150A28)...

And my IIS log details...

2009-11-29 02:41:13 192.168.1.108 GET / - 80 - 192.168.1.101 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.1.5)+Gecko/20091102+Firefox/3.5.5 500 0 193 210
2009-11-29 02:41:15 192.168.1.108 GET / - 80 - 192.168.1.101 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.1.5)+Gecko/20091102+Firefox/3.5.5 500 0 193 209
2009-11-29 02:41:35 192.168.1.108 GET /iirfstatus - 80 - 192.168.1.101 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.1.5)+Gecko/20091102+Firefox/3.5.5 200 0 0 3
2009-11-29 02:41:48 192.168.1.108 GET /iirfstatus - 80 - 192.168.1.101 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.1.5)+Gecko/20091102+Firefox/3.5.5 200 0 0 2
2009-11-29 02:41:59 192.168.1.108 GET / - 80 - 192.168.1.101 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.1.5)+Gecko/20091102+Firefox/3.5.5 500 0 193 209
2009-11-29 02:42:02 192.168.1.108 GET /index.cfm - 80 - 192.168.1.101 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.1.5)+Gecko/20091102+Firefox/3.5.5 500 0 193 200

 

Nov 29, 2009 at 2:29 AM

ok, new info. I ran a trace on the failed request and got this back...

 

 

ModuleName IsapiModule 
Notification 128 
HttpStatus 500 
HttpReason Internal Server Error 
HttpSubStatus 0 
ErrorCode 2147942593 
ConfigExceptionInfo  
Notification EXECUTE_REQUEST_HANDLER 
ErrorCode %1 is not a valid Win32 application. (0x800700c1) 

 

 

Coordinator
Nov 29, 2009 at 2:37 PM

I see no error in the IIRF log.

There's an inconsistency between the IIS log and the IIRF log.  The IIRF log shows a single request, while the IIS log shows 5. 

It looks to me like your home page, the target of the rewrite, is being handled by coldfusion.   Is it a 32 or 64 bit version of cold fusion?  As far as I know, you cannot mix 32 and 64 bit DLLs in the same IIS.

From the trace you got, it seems to me you have a problem in the configuration for your server.  It is say "<Something> is not a valid Win32 application".  I don't know what that is, but it is probably not IIRF, since you have a vvalid log file for IIRF, which would indicate that it is running.

Other things to check: in the set of ISAPI filters you have configured on your site, are there faulty entries?  Do you have IIRF configured  multiple times?  In the course of trying to get it to work, if you leave broken entries in the IIS configuration, it may result in problems like this.

Good luck.

 

Nov 29, 2009 at 3:12 PM

I realized after I can't have 64bit cf running 32b compat mode. I removed 64b cf and put in 32b, tried it all again and still can't get it to work.

The iis log files shows several lines because I was showing how I got a 200 then the 500 after adding the ini. sorry for the confusion.

Is there any way you can just compile with 64bit support and let us be the testers. I have a box I would give you, but it's not 64bit cpu.

 

Derek

Coordinator
Nov 29, 2009 at 5:12 PM

No, I cannot compile anything for 64bit without a machine. Having another non-64bit machine won't change that.

Did you check any of the other things I mentioned in my prior mails.  This is a pet peeve of mine.  I intend no offense to you, but this is the way I See it:  in my mail, I suggested a bunch of things.  You responded to one of those.  Then you asked for a 64 bit build.  What about all the other suggestions I made? 

There are a few options for you:

  • run un 32-bit compat mode.   It works. you will need to figure out what is wrong with your configuration. I might be able to help you with this.
  • use the user-contributed 64-bit bit build on the associated workitem.  I can't help you with this.
  • built it yourself for 64-bit. I can't help you with this.