Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Using external app on server

Using external app on server

Scheduled Pinned Locked Moved Web Development
csharpasp-netsysadminhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TCHamilton
    wrote on last edited by
    #1

    I have an ASP.NET that needs to create PDFs files on the server, then zip them up and send them to the client. Do you have any suggestions? The idea is to gather a list of component drawings (the PDF's), an XLS file that lists each component, zip the PDFs and XLS together and offer to user with a 'Save As'. No problem generating a PDF, but having problems saving the PDF file, - using response.redirect and it's not releasing the resource(?) so I can move to get the next file... Environment: VS2008, ASP.NET, IIS6, Win2k3 Thank you in advance

    Tom

    J 1 Reply Last reply
    0
    • T TCHamilton

      I have an ASP.NET that needs to create PDFs files on the server, then zip them up and send them to the client. Do you have any suggestions? The idea is to gather a list of component drawings (the PDF's), an XLS file that lists each component, zip the PDFs and XLS together and offer to user with a 'Save As'. No problem generating a PDF, but having problems saving the PDF file, - using response.redirect and it's not releasing the resource(?) so I can move to get the next file... Environment: VS2008, ASP.NET, IIS6, Win2k3 Thank you in advance

      Tom

      J Offline
      J Offline
      jc net
      wrote on last edited by
      #2

      You will need a line like this: response.ContentType = "image/jpeg"; for the browser to offer to save as. The "image/jpeg" might be "application/pdf". Dont know for sure.

      Rules biler

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups