Solved

ReportViewer control (VB.NET)

Posted on 2008-10-24
2
708 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
Comment Utility
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
Comment Utility
Thanks very much, knew it would be something stupid
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
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 …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

11 Experts available now in Live!

Get 1:1 Help Now