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. Publishing a website with Report Viewer

Publishing a website with Report Viewer

Scheduled Pinned Locked Moved ASP.NET
csharpvisual-studiosysadminhelpannouncement
5 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.
  • C Offline
    C Offline
    countmein
    wrote on last edited by
    #1

    Hi, I have created a report with Report Viewer control using Visual Studio 2008 under 3.5 frame work in the local mode. However, I am trying to publish this website for public to use on Windows 2003 server. I have installed published the website with Web.Config from my machine and then executed ReportViewer.exe on this server by double clicking on it. This Report Viewer.exe was downloaded from Microsoft Report Viewer Redistributable 2005. However, so I read an article in this that I need to copy exe file from C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer\ReportViewer.exe to the server. I did the same, but I do not see same directory path on the server. It does not have no subdirecties from BootStrapper\Packages\ReportViewer\ReportViewer.exe in the server. When I try to access the website, it still says "Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies". Although I executed ReportViewer.exe from c:\ on the server, I am not sure what else needed to do. It says that all the required files in C:Windows directory. But I am not positive on copying files and placing them anywhere. I am wondering if my actions are not coherent enough to publish the website or not. Any help is greatly appreciated.

    N 1 Reply Last reply
    0
    • C countmein

      Hi, I have created a report with Report Viewer control using Visual Studio 2008 under 3.5 frame work in the local mode. However, I am trying to publish this website for public to use on Windows 2003 server. I have installed published the website with Web.Config from my machine and then executed ReportViewer.exe on this server by double clicking on it. This Report Viewer.exe was downloaded from Microsoft Report Viewer Redistributable 2005. However, so I read an article in this that I need to copy exe file from C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer\ReportViewer.exe to the server. I did the same, but I do not see same directory path on the server. It does not have no subdirecties from BootStrapper\Packages\ReportViewer\ReportViewer.exe in the server. When I try to access the website, it still says "Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies". Although I executed ReportViewer.exe from c:\ on the server, I am not sure what else needed to do. It says that all the required files in C:Windows directory. But I am not positive on copying files and placing them anywhere. I am wondering if my actions are not coherent enough to publish the website or not. Any help is greatly appreciated.

      N Offline
      N Offline
      nainakarri
      wrote on last edited by
      #2

      Hi I faced the same problem many times but with visual studio 2005. I got it fixed everytime by formatting and installing everything.... Then everything worked well again. Naina

      Naina

      C 1 Reply Last reply
      0
      • N nainakarri

        Hi I faced the same problem many times but with visual studio 2005. I got it fixed everytime by formatting and installing everything.... Then everything worked well again. Naina

        Naina

        C Offline
        C Offline
        countmein
        wrote on last edited by
        #3

        Thank you for your answer. However, in my situation, I can't do that because it is a server used by many people! Appreciate your time, though!

        C 1 Reply Last reply
        0
        • C countmein

          Thank you for your answer. However, in my situation, I can't do that because it is a server used by many people! Appreciate your time, though!

          C Offline
          C Offline
          countmein
          wrote on last edited by
          #4

          I have copied all dlls from windows folders to my website bin folder, and it worked.

          N 1 Reply Last reply
          0
          • C countmein

            I have copied all dlls from windows folders to my website bin folder, and it worked.

            N Offline
            N Offline
            nainakarri
            wrote on last edited by
            #5

            Nice that it had worked copying the dll's, but this solution of moving the dll's didnt work for me

            Naina

            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