Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...The requested Url does not return any valid contentThe requested Url does not return any valid content
Previous
 
Next
New Post
7/28/2010 1:05 AM
 

As per the previous post : if you want to add something to the ignoreRegex field, it's best to add the default value in. If 'ignoreFileTypesRegex' is not included in the attributes, then it just adopts the default value. If you wish to add a value to the field, you need to include the default value as well as your original value, like this:

(?<!linkclick\.aspx.+)(?:\.pdf$|\.gif$|\.png($|\?)|\.css$|\.js($|\?)|\.jpg$|\.html$|\.htm$|\.axd($|\?)|\.swf$|\.flv$|\.ico$|\.xml($|\?)|\.txt$|/aspx_code/)

Putting just |/aspx_code is going to match and ignore everything because you are saying 'anything or /aspx_code/'. That's why you get the error.

 
New Post
7/28/2010 8:59 PM
 

Thanks Bruce, I think that worked.

I had tried adding your entire RegEx statement into my web.config file but it didn't work at first. I looked in the Windows Application event log and saw this entry:

Exception information:
Exception type: ConfigurationErrorsException
Exception message: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 301, position 411. (s:\inetpub\schneideradv\web.config line 301)

Position 411 is the "<" character in your string. When I changed (?<!linkclick\.aspx.+) TO (?!linkclick\.aspx.+) (I removed the "<" character) then it worked. Is this going to be a problem or was this some sort of simple typo on your part?

Greg

 
New Post
7/29/2010 2:34 AM
 

My mistake - the problem is actually that I didn't supply an XML-encoded version,

The correct value is (?&lt;!linkclick - the value you have entered changes the logic in the regex expression, which would manifest in linkclick urls that didn't work correctly.

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Friendly Url Pr...Friendly Url Pr...The requested Url does not return any valid contentThe requested Url does not return any valid content


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.