Original: Failed to load file or assembly Microsoft.ReportViewer.Common, version=11.0.0.0
System.IO.FileNotFoundException: Failed to load file or assembly "Microsoft.ReportViewer.Common, version=11.0.0.0, Culture=neutral, Publickeytoken=89845dcd8080cc91 "or one of its dependencies. The system cannot find the file specified.
File name: "Microsoft.ReportViewer.Common, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91"
Error stack, meaning: The client is missing the Microsoft.ReportViewer.Common file,
Then I search the entire computer to find the corresponding DLL file, or error, Internet search for a long time,
What files or assemblies are missing, go to the program development computer to find the corresponding bake-to-client program startup directory (project baked into the bin\\debug directory)
can only be baked in the form of a command:
11.0.0.0 is the version number, 89845dcd8080cc91 you open the C:\WINDOWS\assembly\ to see what that means.
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.Design.resources\11.0.0.0_zh-CHS_89845dcd8080cc91\ Microsoft.ReportViewer.Design.resources.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.ProcessingObjectModel\11.0.0.0__89845dcd8080cc91\ Microsoft.ReportViewer.ProcessingObjectModel.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebDesign\11.0.0.0__89845dcd8080cc91\ Microsoft.ReportViewer.WebDesign.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebDesign.resources\11.0.0.0_zh-CHS_89845dcd8080cc91\ Microsoft.ReportViewer.WebDesign.resources.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\11.0.0.0__89845dcd8080cc91\ Microsoft.ReportViewer.WebForms.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms.resources\11.0.0.0_zh-CHS_89845dcd8080cc91\ Microsoft.ReportViewer.WebForms.resources.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms\11.0.0.0__89845dcd8080cc91\ Microsoft.ReportViewer.WinForms.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WinForms.resources\11.0.0.0_zh-CHS_89845dcd8080cc91\ Microsoft.ReportViewer.WinForms.resources.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.Types\11.0.0.0__89845dcd8080cc91\ Microsoft.SqlServer.Types.dll c \
Copy C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.Types.resources\11.0.0.0_zh-CHS_89845dcd8080cc91\ Microsoft.SqlServer.Types.resources.dll c \
RDLC Report WinForm Client Configuration installation is a troublesome thing, old error, write down, for reference only!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Failed to load file or assembly Microsoft.ReportViewer.Common, version=11.0.0.0