Solved

ReportViewer control (VB.NET)

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now