• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1396
  • Last Modified:

ASP.NET ReportViewer throwing an error after being published

The page that I have a report viewer control on is throwing the following error:
 An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
The report definition is not valid. Details: Data at the root level is invalid. Line 1, position 1.

But only after it is published, when I run it on my local machine it is fine
0
DotNetNooby
Asked:
DotNetNooby
2 Solutions
 
ajollyCommented:
make sure the iis settings are set to use the correct version of .net framework.

Also put the full screen shot of your error page.
and which .net framework are you using in your development?
0
 
DotNetNoobyAuthor Commented:
I ended up copying the files from my local machine file system directly to the IIS file system and it worked correctly.  I'll have to see if I can re-create the errors again
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now