Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Error Message
Last Post 10-31-2012 11:32 AM by NebRef. 12 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
NebRefUser is Offline
river guide
river guide
Posts:91
Avatar

--
09-14-2012 10:02 AM
    I have set up dynamic view to use the [ViewDetailLink].  However, when selected, I get this error message:


      Server Error in '/' Application.

    A potentially dangerous Request.Path value was detected from the client (<).

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (<).


    Any thoughts?  Thanks!

    Jim
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    09-15-2012 08:59 AM
    Hi Jim - You might need to enable a specific setting in your web.config file for this feature to work properly. You would need to go to Host, Configuration Manager and modify the web.config file. Search for the setting "EnableEventValidation" and once you find that setting you would want to change the value from "True" to "False". DotNetNuke used to default this to false but all of the recent versions default it to true which limits how a few features work in some of our components.

    Thanks,

    -Chad
    NebRefUser is Offline
    river guide
    river guide
    Posts:91
    Avatar

    --
    09-17-2012 05:35 AM
    Chad:

    I tried that and it did not work. I get the same error message. This is the part of the error message I did not include in my earlier email. Maybe it will help:

    Stack Trace:

    [HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (<).]
    System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +9023209
    System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +59


    I am using a DS Form as my data source. As I mentioned, the first part of the information displays correctly - it is the detail view that seems to be a problem. We are on DNN 6.1.3 and Dynamic Viewer 3.0.10.

    Thank you,

    Jim


    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    09-17-2012 06:05 AM
    Hi Jim - You might try and google that specific error, there are a lot of references that related to a few other web.config entries that you might want to check.

    Google "A potentially dangerous Request.Path value was detected from the client"

    http://stackoverflow.com/questions/...the-client

    http://stackoverflow.com/questions/...the-client

    http://stackoverflow.com/questions/...the-client

    It might also be the setting "ValidateRequest" mentioned from that last thread which can cause this to work and not work.

    Do you have a 3rd party URL Rewriting module?

    Thanks,

    Chad


    NebRefUser is Offline
    river guide
    river guide
    Posts:91
    Avatar

    --
    10-29-2012 07:09 PM

    Chad:

    I'm still working on this issue.  As I read the articles, it appears that one cause of the error may be URL's that have improper characters in them.  As I check the URL which is returned by the [ViewDetailLink] token, I find this:

    http://mysite.org/SiteManager/ClubP...Ca%20href=

    What is interesting about this is that if I delete everything before the second "http" and everything after "Default.aspx", the link is correct and works appropriately.  The correct URL is:

    Chad:

    I'm still working on this issue.  As I read the articles, it appears that one cause of the error may be URL's that have improper characters in them.  As I check the URL which is returned by the [ViewDetailLink] token, I find this:

    http://mysite.org/SiteManager/ClubP...fault.aspx

    For some reason, it appears as if [ViewDetailLink] is not rendering the URL in the proper form.  Note that the similar token, [UserDetailLink] works properly in Dynamic User Directory.

    As I have tried to figure out what is being generated, I find that %3c is URL encoding for "<" and %3e is URL encoding for ">".  Both of these sequencs appear in the incorrect link copied above.  It appears that for some reason the hyperlink is being rendered as something other than a link. 

    Any ideas?  Thanks for your help.

    Jim

    NebRefUser is Offline
    river guide
    river guide
    Posts:91
    Avatar

    --
    10-30-2012 05:13 PM
    Sorry for the confusing post.  Hopefully you can understand what the problem is and let me know how to fix it.

    As a side note, [ViewDetailLinkURL] does not return this error but I have looked in the User Guide and I can't figure out how to use this option.

    Thanks,

    Jim
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-31-2012 04:30 AM
    Hi Jim - Ok, I'll check this out later today and see what I can find. Ill compare how this token is generated VS how it is generated in Dynamic User Directory.

    As far as the other token... Say for example you wanted to make that token an image or something else etc... Well, you could setup year hyper life and then have the HREF property set to that token. You might have to do this in the "HTML Source" area. If you google HTML A HREF tag you should see some examples. Just set the HREF property to that token.

    Thanks,

    Chad
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-31-2012 06:27 AM
    Hi Jim - I checked the module source code for Dynamic Views and I could not find any specific problem with the hyperlink that is created for the View Details link. I compared this to Dynamic USer Directory however the way this module / features works is coded differently between these two modules so it is not a good comparison.

    I would go with the other link I mentioned and the HREF idea or I would open a support ticket and we can review the HTML source that is created and the error to determine if we can find the problem that way.

    Thanks!

    -Chad
    NebRefUser is Offline
    river guide
    river guide
    Posts:91
    Avatar

    --
    10-31-2012 10:15 AM
    Chad:

    What I got to work was the Dynamic Views option.  I inserted a hyperlinklink into my List Template that included this:

    ?username=[username]

    This query was passed to a new page with a Dynamic Views page searching and returning the information for that specific user.  It seems to be working like I need.

    However, I am unable to include the full table and data I wish to include.  I checked the Event Log and am getting this error:

    "String or binary data would be truncated. The statement has been terminated."

    Apparently, the Dynamic Views has a character limit which I am trying to exceed.  Can I reset this in some way?

    Getting closer!!

    Thanks,

    Jim
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-31-2012 10:46 AM
    Hi Jim - When you do receive this error? Do you receive it when you try and save the template? Or do you receive it when you create an action etc?

    Thanks,

    Chad
    NebRefUser is Offline
    river guide
    river guide
    Posts:91
    Avatar

    --
    10-31-2012 10:51 AM
    Chad:

    I don't actually get an error.  It just doesn't save the more elaborate template I have created. 

    The error I was reporting to you is only visible in my Admin>Event Viewer. 

    I can select "Generate Default Template" and save a template without without any of my formating included and everything works great.

    Jim
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    10-31-2012 10:56 AM
    Hi Jim - Please try and run this under Host/ SQL:

    ALTER TABLE dbo.DataSprings_DynamicViews
    Alter column ItemTemplate nvarchar(MAX)


    After that please go and click Host / Restart Application.

    If you continue to have a problem then please run this under Host/SQL and let me know what it returns:
    sp_helptext "dbo.DataSprings_DynamicViews_Update"


    You might have to take what it returns and change anywhere you see (4000) to be (MAX) and change the first word from CREATE to be ALTER and then do the same thing with host, restart application. These procedures were setup with limits of 4000 and so was the table initially I believe.

    Thanks,

    Chad
    NebRefUser is Offline
    river guide
    river guide
    Posts:91
    Avatar

    --
    10-31-2012 11:32 AM
    Chad:

    I guess I get to leave you alone for a bit. It works great!!

    Thanks so much for all of the help. You guys really do great work.

    Jim
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi