Solved

ReportViewer control (VB.NET)

Posted on 2008-10-24
2
711 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 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