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. ASP.NET
  4. Problem while creating an Excel File from ASP.Net web application

Problem while creating an Excel File from ASP.Net web application

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netvisual-studiocom
4 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.
  • N Offline
    N Offline
    Neeraj Kr
    wrote on last edited by
    #1

    Hi all, I am facing a problem in generating an excel file from an ASP.Net Web Application. When I run the code from within Visual Studio 2005, the file generates properly without any problem, whereas, When I configure the application in IIS and run the same from there, no file is getting generated and the page seems to be hung up. What might be the reason. I have included Microsoft.Office.Interop.Excel.dll 11.0. Kindly help me. Thanks in advance. Neeraj

    -----Have A Nice Day-----

    A 1 Reply Last reply
    0
    • N Neeraj Kr

      Hi all, I am facing a problem in generating an excel file from an ASP.Net Web Application. When I run the code from within Visual Studio 2005, the file generates properly without any problem, whereas, When I configure the application in IIS and run the same from there, no file is getting generated and the page seems to be hung up. What might be the reason. I have included Microsoft.Office.Interop.Excel.dll 11.0. Kindly help me. Thanks in advance. Neeraj

      -----Have A Nice Day-----

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      I guess... there might be some permission issue, where the IIS user cannot write on the directory.

      Abhishek Sur

      N 1 Reply Last reply
      0
      • A Abhishek Sur

        I guess... there might be some permission issue, where the IIS user cannot write on the directory.

        Abhishek Sur

        N Offline
        N Offline
        Neeraj Kr
        wrote on last edited by
        #3

        Hi Abhishek, how do I set the permission for the anonymous user on the folder where I wish to write the excel file.

        -----Have A Nice Day-----

        A 1 Reply Last reply
        0
        • N Neeraj Kr

          Hi Abhishek, how do I set the permission for the anonymous user on the folder where I wish to write the excel file.

          -----Have A Nice Day-----

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          Just right click on the folder and add permission to the users you want.. :) isnt this what you are doing? :rose:

          Abhishek Sur

          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