Solved

ReportViewer control (VB.NET)

Posted on 2008-10-24
2
712 Views
Last Modified: 2013-11-08
I am trying to create a web page that uses the ReportViewer control from Visual Studio 2008.
All is fine on my development machine and the report is displayed as I want. As soon as I put it onto my webserver and try to view it I get:

An error has occurred during report processing.
Exception has been thrown by the target of an invocation.
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'.

I have read something about running ReportViewer.exe on the webserver so the relevant dlls would be in the right place!? Unfortunately this had no effect.

Thanks in advance
0
Comment
Question by:R2C
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
jagwynn earned 500 total points
ID: 22800864
Check you connection string.  It sounds like the user that is used to connect to the data base does not have the correct permissions.  try changing the connection string to use basic authorization and hard code the user name and password.
0
 

Author Comment

by:R2C
ID: 22811153
Thanks very much, knew it would be something stupid
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question