Page 1 of 1

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

Posted: Tue Dec 06, 2011 4:04 pm
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

 
        
        
        

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

Posted: Tue Dec 06, 2011 4:15 pm
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!

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

Posted: Thu Dec 08, 2011 8:24 am
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.