RE: Server controls and VS version

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Salam,

Welcome.
As for the using webcontrol developed on a certain framework version (IDE)
on another framework (IDE) problem, I think it is surely error prone due to
the following reason:

1. For different .net framework though the most class library is
compatible, there still has some code which may break from one version to
another. Also, based on my understanding, asp.net 1.1 has much enhanced the
net CAS which may also make the code not work when moving between the
framework.. I've also sometimes seen some 3rd party webcontrol which
utilize some undocumented implementation feature of the .net framework, and
that no longer work when upgrade to a new framework.....(internal
implementation may change ....)

2. For web control, there also has design-time features which help us
finish the control properties or setting at design-time in VS.NET ide. And
such design-time interfaces are purely tight with VS.NET ide's version.
Thus, one webcontrol's deign-time implementation may bread when used in
another version of the VS.NET IDE...

The above things are all the common points which may bread webcontrol work
between different version of .net framework or VS.NET ide. You can try
directly declaring the control in page and run them without using vs.net
ide, if that works , the problem is caused by design-time interface
breaking..... elsewise, if it also not working at runtime, that may be
caused by some framework level incompatibility.....

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| Thread-Topic: Server controls and VS version
| thread-index: AcX+MbDX7yIrWerNQTmARaiVMYNZeg==
| X-WBNR-Posting-Host: 81.56.243.244
| From: "=?Utf-8?B?U2FsYW1FbGlhcw==?=" <eliassal@xxxxxxxxxxxxx>
| Subject: Server controls and VS version
| Date: Sun, 11 Dec 2005 01:03:02 -0800
| Lines: 18
| Message-ID: <997B8435-5666-4689-BDA7-5876CB4BD089@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.vsnet.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.vsnet.general:29733
| X-Tomcat-NG: microsoft.public.vsnet.general
|
| I found some interesting server controls which works fine in VS 2003
| environment but not in 2002. Adding a reference to the dll in VS 2003 asp
web
| project works fine but when when I try to add the a refence to the same
dll
| in a 2002 VS asp project I get the folowing error :
|
| "A ref can not be added. This is not a valid assembly or COM component.
Only
| assemblies with extensions and COM components can be referenced. please
make
| sure that the file is accessible, and that it is a valid assembly or COM
| components".
|
| I am very sure that the dll (server control) was developed using VS 2003
| environment. If I am not mistaken, tghis should work in any project as
far as
| both frameworks and IDE exist on the same box. Generlly speaking, we
should
| not care in which environment the object was developed, NON?.
|
| Thanks for your ideas and workarounds.
|
| Salam
|

.



Relevant Pages

  • Re: If you had to move from VB6...
    ... If I had to move from VB6, which language would I choose. ... Which language would most resemble it in IDE, ease of coding and, yes, ... It is multiplatform (Windows and Linux so far, also some mobile and embedded Oses), and does not treat the windows version as a poor cousin. ... The framework assists nice, modern GUIs, has sophisticated controls, applications and html are scriptable with Javascript. ...
    (microsoft.public.vb.general.discussion)
  • Re: TreeNode in Bold
    ... erkenne ich dem Framework aber RAD ab. ... Das man mit .NET momentan kein RAD machen kann liegt aber mehr an der ... Es ist also Hoffnung da das die IDE so langsam an das rankommt was bei ... Classic um Faktoren produktiver als in C#. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: Changes in 2005.
    ... > (with regards to IDE / Compiler) to forcefully lead us to change. ... > If I wanted to use the new IDE functionality, but target for 1.1 then I ... > should not) be compatible with this framework then they could be disabled ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is it possible to convert VB3 to .NET ?
    ... framework, ... check out some of Microsoft's sample code. ... written compares with their sample code, people that rely on the framework ... Over the years I have occasionally wondered what the VB IDE was doing behind ...
    (microsoft.public.vb.general.discussion)
  • Re: Book for ASP.NET
    ... > does not use VS.Net so if you are wanting to learn the ropes of code ... > an excellent representation of the asp.net server controls and concepts. ... > the VS IDE so I can be more competitive in the market. ...
    (microsoft.public.dotnet.framework.aspnet)