Re: Webcontrols & TreeNav issue after upgrades
ipramod_at_gmail.com
Date: 01/13/05
- Previous message: K.K.: "C# Generics: breaking encapsulation?"
- Messages sorted by: [ date ] [ thread ]
Date: 13 Jan 2005 07:22:07 -0800
Hi Jos,
I have the registry tag on top of the page but it doesnot contain the
version number.
So what is the problem ? I am getting the same error..
Plz Help
Jos Krause (Chello) wrote:
> On the top of your aspx file there is probably a register setting for
the
> ie: controls.
> It specifies a version number in one of its parameters. If you remove
that
> version declaration it works properly.
>
> We had the same error at work but we switched a new control all to
gether
> cause the IE controls eventually crash in IE.
>
> And not in Opera nor Netscape, wich is wierd seeing how they are IE
> Controls? :)
>
> I hope this helps.
>
> Jos Krause
> The Netherlands
>
> ---
>
> "Quentin Snow" <qsnow@misc.satx.rr.com> wrote in message
> news:e5jshIbXDHA.208@tk2msftngp13.phx.gbl...
> > I am having an issue with the webcontrols funcationality and
I am
> not
> > sure whats going on. I've tried everything I can think of to
resolve the
> > problem. Here is the scenario:
> >
> > I originally had our page built in VS.Net 2002. We had
Framework 1.0
> > installed on the webserver along with IE Webcontrols 1.0 (This was
> installed
> > when the microsoft page had the 'auto install' routing). Under
these
> > previous conditions, everything worked fine.
> >
> > I then upgraded VS.Net to version 2003. I also upgraded
Framework to
> > v1.1. I ran the regiis from the 1.1 framework directory and made
sure it
> > updated IIS correctly.
> >
> > Next I downloaded the WebControl source code and recomplied.
(If I
> > compile using the csc.exe from 1.1 I get an error. Using csc.exe
from 1.0
> I
> > do not get an error. So I compiled using the 1.0 csc.exe).
> >
> > Next I copied the build directory to the wwwroot (in the
correct 1_0
> > path) to replace the existing in case anything changed there. I
then
> > launched VS.Net and opened up my solution. I went into the
references
> > section, deleted the ui.webcontrols reference and re-added the
> > ui.webcontrols reference using the new one located in the 'new'
build
> > directory.
> >
> > I then issued a complete rebuild of the project. When I tried
to
> > access the webpage I am now getting the error below. I assume it
has
> > something to do with the ui.webcontrols DLL file, but Im not sure
why as I
> > should be using the new version of it.
> >
> > Any thoughts would be appreciated!.. Thanks!
> >
> >
--------------------------------------------------------------------
> --
> > -------------------------------
> >
> > 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: The base class includes the field
'TreeNav',
> but
> > its type (Microsoft.Web.UI.WebControls.TreeView) is not compatible
with
> the
> > type of control (Microsoft.Web.UI.WebControls.TreeView).
> >
> > Source Error:
> >
> >
> > Line 25: <hr width="98%" noShade SIZE="1">
> > Line 26: <span class="Normal">
> > Line 27: <mytree:treeview id="TreeNav" autopostback="false"
> > showlines="true" runat="server"></mytree:treeview>
> > Line 28: </span><br>
> >
> >
> >
> > Source File:
> >
>
C:\HoltDevelopment\SourceCode\Intranet\IntranetPortal\PORTALVBVS\DesktopModu
> > les\TreeNav.ascx Line: 27
> >
> >
> >
--------------------------------------------------------------------
> --
> > ----------
> > Version Information: Microsoft .NET Framework
Version:1.1.4322.573;
> > ASP.NET Version:1.1.4322.573
> >
> >
> >
- Previous message: K.K.: "C# Generics: breaking encapsulation?"
- Messages sorted by: [ date ] [ thread ]