Click here to Skip to main content
15,904,156 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone
i have created an application in that i am using Microsoft report viewer
when i am run the application and click to see the report it gives exception or error

System.IO.FileNotFoundException: Could not load file or assembly
SQL
'Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
Posted

There is a dependent dll is missing. Go to visual studio command prompt and type fuslogvw. This utility will capture the dll load errors. It also gives a path where it tries to locate the dll. Once identified place the dll in right location.
 
Share this answer
 
when i was created the setup that time it automatically get required dll files and when we have to install the set up that time it will auto extract the dll in required location.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900