'StiWebViewer' not a known element after upgrading to 2011.3 build

Stimulsoft Reports.WEB discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

'StiWebViewer' not a known element after upgrading to 2011.3 build

Post by fuhrj »

Upgraded to Web build 2011.3. Deleted project references to 2011.2 and rebuilt project.

I get no build errors, but on my ASPX page containing the webviewer, StiWebViewer is underlined in green and says "

Element 'StiWebViewer' is not a known element. This can occur if there is a compliation error in the website or Web.config is missing.

The site compiles fine and web.config exists.

At the top of the page I have:
The web viewer controller looks like this:

Code: Select all

 
                            
and in the web.config Assemblies, is:

Code: Select all

 
        
        
        
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

'StiWebViewer' not a known element after upgrading to 2011.3 build

Post by fuhrj »

I created a test page and dropped a webviewer control onto it. I noticed that the register statement is slightly different from the version on my page:

Code: Select all


With the Version, Culture, and PUblicKeyToken in the assembly, it cleared the error.

I'm still curious as to why this is the case.

Thanks!
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

'StiWebViewer' not a known element after upgrading to 2011.3 build

Post by Vladimir »

Hello,

In this direction we have not changed anything except the library version. So, we created a test project without specifying version of the library, everything is working correctly.

Most likely in the some place (GAC, Bin folder, Web.Config file), you still have links to older versions. Please try to update references to the new libraries once again, if it does not help - you can send us your project for analysis.

Thank you.
Post Reply