Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RDLC reports are not published to after deployed to IIS?

I have a web application written in VB.NET. In my application I have a few RDLC reports that will be generated dynamically. Everything works fine during the development. But those reports are not working after I deployed my web application to IIS. Here are my problems.

(1) All the reports under my RDLC folder are not deployed, I think this is the reason why I got the error “error occurred during local report processing” My question is why this folder was not published, and what should I set to publish this folder?

(2) If I manually copy those RDLC reports to the destination folder, I got another error “failure: unknown user name or bad password” My authentication mode is set to Windows. Is there anything else I need to set in my web.config?

I am using IIS 5.1 and my web app has been upgraded from VS2005 to VS2010.

like image 648
GLP Avatar asked Mar 01 '13 16:03

GLP


People also ask

How do I publish a Rdlc Report?

Right click the file in the solution explorer, select Properties. Set the "Build Action" to "Content", and "Copy to output Directory to "Copy if newer". Using these settings will publish an additional copy of each rdlc file to the bin folder.

How can show image in Rdlc Report from database in asp net?

aspx" with "ScriptManager" from the Ajax Extensions section, "SQLDataSource" from the Data section and "ReportViewer" Control from the Reporting section. Bind the table columns with "SQLDataSource" to access the data. Step 3: Add a report named "Image_Report. rdlc" and bind the dataset into the reports using Table.

Which is better RDL or Rdlc?

One of the main differences between the two is the ends on which either program works on. RDL works on the server side, helping manage the runtime environment. RDLC, on the other hand, works on the client side, helping them manage their environment.


1 Answers

Your RDLC files are probably marked as "Embedded resource". Right click on rdlc file and change it to "Content" and re-publish. It will work this time.

like image 94
Atur Avatar answered Sep 19 '22 04:09

Atur