Could not load file or assembly 'Stimulsoft.Report.Web' or one of its dependencies. The system canno

Stimulsoft Reports.WEB discussion
Post Reply
jay@bplogix.com
Posts: 251
Joined: Fri Feb 04, 2011 11:46 am
Location: San Diego, CA

Could not load file or assembly 'Stimulsoft.Report.Web' or one of its dependencies. The system canno

Post by jay@bplogix.com »

I just upgraded to 2011.3 and now get this on web pages using the Stimulsoft controls:

Server Error in '/wd' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Stimulsoft.Report.Web' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 1:
Line 2:
Line 3:
Line 4:
Line 5:

Source File: /wd/report.aspx Line: 3

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Stimulsoft.Report.Web' could not be loaded.


Notice, I have never specified the version or PublicKeyToken on the Register Assembly and it has always worked (I have a lot of ASPX pages and I do not want to change each one of them every time I update the controls). It seems that now I need to use the version and PublicKeyToken ... this seems to work:


Was that change made on purpose? Or perhaps does my Visual Studio have the previous version cached somewhere? I would like if I did NOT need to add the Version and PublicKeyToken to the Register Assembly.

Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Could not load file or assembly 'Stimulsoft.Report.Web' or one of its dependencies. The system canno

Post by HighAley »

Hello.

We didn't do anything in this direction. Please, follow next steps:
1. Check the GAC, delete old and update new assemblies there.
2. Check assemblies version in the Bin directoty of your project.
3. Check your web.config file.

Thank you.
jay@bplogix.com
Posts: 251
Joined: Fri Feb 04, 2011 11:46 am
Location: San Diego, CA

Could not load file or assembly 'Stimulsoft.Report.Web' or one of its dependencies. The system canno

Post by jay@bplogix.com »

Thanks. Figured it out ... Visual Studio does not copy references to the bin folder of the website if the reference exists in the GAC. So I removed all Stimulsoft from the GAC, then when I build in Visual Studio it correctly copies the Stimulsoft references to the bin folder.

Thanks!
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Could not load file or assembly 'Stimulsoft.Report.Web' or one of its dependencies. The system canno

Post by Andrew »

Hello,

Ok!

Please do not hesitate to post your new questions.
Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Could not load file or assembly 'Stimulsoft.Report.Web'

Post by HighAley »

Hello.

The GAC is a Global Assembly Cache. You could read about it on the MSDN http://msdn.microsoft.com/en-us/library/yf1d93sz.aspx

Thank you.
Post Reply