Biz Modules Solutions
Contact us
  • Home
  • Products
    • Ultra Media Gallery 8
      • Overview
      • Feature Highlights
      • Sample Galleries
        • Galleria (UMG 8.5)
        • Translucent Slider (UMG 8.4)
        • Tonic Gallery (UMG 8.3)
        • Slider Master (UMG 8.2)
        • Carousel Evolution (UMG 8.1)
        • Spotlight Slider ( UMG 8.1)
        • TripleLayerSlider | homepage slider
        • MediaLibrary | mixed media gallery
        • WidescreenTour2 | stills & trailers
        • Piecerotator | multi media rotator
        • Html Slideshow | image slideshows
        • Widescreenshowroom | showcase
        • UMG Professional | photo gallery
        • UMG Classic | RSS subscription
        • Shooting places on Google maps
        • Virtual Tour
        • Photo calendar
      • Trial & Downloads
      • Testimonials
      • Release Notes
    • Ultra Video Gallery 4
      • Overview
      • Feature Highlights
      • Release Notes
      • Sample Sites
      • Reviews
      • Sample Videos
      • Trial & Downloads
    • Ultra News Article 1.1
      • Overview
      • Feature Highlights
      • Sample
    • Save as PDF
    • Custom development
  • Downloads
  • Buy now
    • License Upgrade
  • Support

Host Partnership

If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!

Need a custom module?

Should you have any questions about custom DNN modules or web projects, please let us know.

Latest Discussions

Critical Error by Dustin Eatchel
Hi, we're getting a critcal error in our UVG 424 Pro module. The error is "A cr...
CarouselEvolution not showing properly . . . by Mike Ulloa
I have recently installed UMG 8.5 on a DNN 5.05 server. The carousel does not...
Empty Gallery. UMG 8.5 by Diego Juzgado
I have delete all medias and albums from a gallery module and now, I can't acces...
pause at the end of a slider display by Brazos Donaho
Was wondering if it would be possible to have an option that could control if th...
Require login to post comments by Marty Goldberg
Is there a way to require users to login before they can post a comment on a vid...
Home  > Support

Support Forum

Unanswered Active Topics Forums Search
Forums > Save as PDF > Support Questions
Subject: Error for specific pages
Prev Next
You are not authorized to post a reply.

Author Messages
David Amm
Posts:6
Bronze Member

06/03/2010 3:03 PM  
The module works fine for certain pages but returns the following error message on specific pages:

The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters

I am using the module on a page that displays a Google Map within Indoo Grid, so havbe little control over url length! Is there a work around?
Pengtsen R
Posts:11264


06/04/2010 10:57 AM  
the file name generated by this module is the page url, without specific charactors link /.

so maybe your page url is too long?

Pengtsen R
http://www.bizmodules.net
David Amm
Posts:6
Bronze Member

06/04/2010 11:50 AM  
The url has 187 characters - includes query string variables and uses GUIDs:

http://www.aasouthafrica.co.za/Default.aspx?&ge395__geka=n9_64PYf7FENUIDmqqFRGJzdd6Gd-2F8M82yYWMedAf32ljWHGzb9dJMAocOfGTR79iC-Q7Zap_a_7HIEI1tFg&ge395__gevi=unpQbVnrpu6C-RoEJCqBDw&tabid=64

Save as pdf converts this 297 characters:

http://www.aasouthafrica.co.za/DesktopModules/SaveAsPdf/DownloadPdf.aspx?Portalid=0&Url=http%3a%2f%2fwww.aasouthafrica.co.za%2fDefault.aspx%3f%26ge395__geka%3dn9_64PYf7FENUIDmqqFRGJzdd6Gd-2F8M82yYWMedAf32ljWHGzb9dJMAocOfGTR79iC-Q7Zap_a_7HIEI1tFg%26ge395__gevi%3dunpQbVnrpu6C-RoEJCqBDw%26tabid%3d64

I don't have any control over the url because it is generated dynamically by IndooGrid (third party module). Is it possible to remove the character limit on the file name? Alternatively, how about a different naming convention for files?



Pengtsen R
Posts:11264


06/07/2010 7:31 AM  
the limit comes from windows system, it must be less than 256 charactors.

however, you can pass "Name" parameter in querystring which tells SaveAsPdf the file name to be generated, can you manage to pass it in querystring?

Pengtsen R
http://www.bizmodules.net
David Amm
Posts:6
Bronze Member

06/07/2010 11:02 AM  
The query string already contains a unique identifier, but it's called "ge395__gevi" rather than "Name". So for the example above file name could be set to unpQbVnrpu6C-RoEJCqBDw. Can I specify the paramater to be used for file name in Save as PDF module?
Pengtsen R
Posts:11264


06/09/2010 9:00 AM  
as I said, you just need to ensure Name is included in the querystring so this module will use it as file name.

for example:

http://www.aasouthafrica.co.za/DesktopModules/SaveAsPdf/DownloadPdf.aspx?Name=My_Desired_FileName&Portalid=0&Url=http%3a%2f%2fwww.aasouthafrica.co.za%2fDefault.aspx%3f%26ge395__geka%3dn9_64PYf7FENUIDmqqFRGJzdd6Gd-2F8M82yYWMedAf32ljWHGzb9dJMAocOfGTR79iC-Q7Zap_a_7HIEI1tFg%26ge395__gevi%3dunpQbVnrpu6C-RoEJCqBDw%26tabid%3d64

Pengtsen R
http://www.bizmodules.net
David Amm
Posts:6
Bronze Member

06/09/2010 1:22 PM  
When I do this manually Save As Pdf converts it to:

http://www.aasouthafrica.org.za/DesktopModules/SaveAsPdf/DownloadPdf.aspx?Portalid=0&Url=http%3a%2f%2fwww.aasouthafrica.org.za%2fDefault.aspx%3f%26Name%3d1%26ge395__geka%3dn9_64PYf7FENUIDmqqFRGKJKio7QXxura0-vSfsJ7o9p2J0eqUPC4KLfTxtnSSgBsKOMu1-3sQLbQpBL8HR3HQ%26ge395__gevi%3dunpQbVnrpu6C-RoEJCqBDw%26tabid%3d64

It's converting &Name=1 into %3f%26Name%3d1 and using the full url as the file name (i.e. giving the same error as before)
Pengtsen R
Posts:11264


06/12/2010 12:58 AM  
you made "name" as a parameter of the url to be converted. you should make it as a parameter of DownloadPdf.aspx.

like my example:

http://www.aasouthafrica.co.za/DesktopModules/SaveAsPdf/DownloadPdf.aspx?Name=My_Desired_FileName&Portalid=0&Url=http%3a%2f%2fwww.aasouthafrica.co.za%2fDefault.aspx%3f%26ge395__geka%3dn9_64PYf7FENUIDmqqFRGJzdd6Gd-2F8M82yYWMedAf32ljWHGzb9dJMAocOfGTR79iC-Q7Zap_a_7HIEI1tFg%26ge395__gevi%3dunpQbVnrpu6C-RoEJCqBDw%26tabid%3d64

do you see the difference?

Pengtsen R
http://www.bizmodules.net
David Amm
Posts:6
Bronze Member

07/05/2010 7:51 AM  
I eventually got this to work by adding java script to read and rewrite the url.

Please can you add settings to next version of module allowing user to specify file name.
Pengtsen R
Posts:11264


07/06/2010 12:27 AM  
David, glad to know it works.

thanks for your suggesition, this will be reviewed.

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.
Forums > Save as PDF > Support Questions > Error for specific pages



ActiveForums 3.7
Copyright © 2005-2011 BizModules
Register Login