pagemethod and iirf

Topics: Developer Forum
Dec 4, 2009 at 1:31 AM

Hello All,

 

I have been using pagethods in asp.net application without any issues. Ever since i included iirf into my project all pagemethods seems to have stopped working.

I have put debug code all over but it does'nt seems to hit the server side function at all.

Anybody encountered similar problem.

 

TIA

Murali

Coordinator
Dec 4, 2009 at 2:59 AM

Check the IIRF logfile.

 

Dec 4, 2009 at 3:41 AM

Thanks for your reply.

Okay. The sad part is iirf is not generating log file. Here's how iirf.ini looks like.

RewriteEngine ON
RewriteFilterPriority HIGH
StatusUrl /iirfStatus
RewriteLogLevel 3
RewriteLog myirfs
MaxMatchCount 10
IterationLimit 10
RewriteRule ^/v/([^/]+)   /v.aspx?q=$1 [I]

 

Also, when i turn off rewriteengine all seems to work.

Coordinator
Dec 4, 2009 at 7:19 AM
Edited Dec 4, 2009 at 7:19 AM

You have no RewriteLog or RewriteLogLEvel directive in the ini file. When you set those, you'll get a log file.

This is explained very clearly in the documentation.

Dec 4, 2009 at 3:14 PM

I do -

RewriteLogLevel 3
RewriteLog myirfs

Coordinator
Dec 4, 2009 at 4:09 PM

oh, sorry I missed that.

And does the IIS user have permissions in the directory - the same directory in which iirf.ini is found, to create files?

if IIS cannot create a file, there will be no logfile.

 

Dec 5, 2009 at 1:06 PM

Thanks for the pointer Cheeso.

Gave the permission. log is showing up now.

What should i be looking in log file?

Coordinator
Dec 5, 2009 at 1:30 PM

You should look for pagemethod requests being rewritten, that shouldn't be.

Dec 7, 2009 at 8:06 PM

Thanks Cheeso. I will check it out.