Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / December 2005

Tip: Looking for answers? Try searching our database.

foroward compatability

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SenthilVel - 21 Dec 2005 04:42 GMT
hi
I have my application built with Dotnet Framework 1.1 and now i can see most
of clients having both the versions 2.0 and 1.1 in their systems, i get an
issue when i run my 1.1 application .

what r the ways to achieve the forward compatability for 1.1 developed
applications ?

i know we can use the <strartup><supportedruntime> in the app.config ..

are there other mechanisms we can achieve the forward compatability ?

Thanks
Senthil
Andrew Robinson - 22 Dec 2005 06:40 GMT
Not sure what kind of issue you are having but if your application is
written against 1.1 it will run against 1.1 even if 2.0 is installed on your
machine. If this is a web application, make sure to set the framework
version for the virtual directory within the IIS admin console.

I think what you want is backwards compatibility. Forward compatibility has
only existed with regards to .NET in the case of 1.1 applications being able
to run on the 1.0 framework. ie 1.0 was forward compatible with 1.1. The
idea for forward compatibility of 1.0 or 1.1 for the 2.0 framework is not
supported by MS.

Signature

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org

> hi
> I have my application built with Dotnet Framework 1.1 and now i can see
[quoted text clipped - 10 lines]
> Thanks
> Senthil
SenthilVel - 22 Dec 2005 07:13 GMT
one of my application threw up an error when both 1.1 and 2.0 were present.

the error is :
Exception: System.ArgumentOutOfRangeException

Message: Ticks must be between DateTime.MinValue.Ticks and
DateTime.MaxValue.Ticks.

Parameter name: ticks

Source: mscorlib

when 2.0 was uninstalled this issue did not come up..

so this led me to think , must i do something to my 1.1 developed
applications so that it works well even when both are present.

Thanks

Senthil

> Not sure what kind of issue you are having but if your application is
> written against 1.1 it will run against 1.1 even if 2.0 is installed on
[quoted text clipped - 21 lines]
>> Thanks
>> Senthil
Andrew Robinson - 22 Dec 2005 18:26 GMT
Is your app written against the 1.1 framework (using VS2003) or is it a 2.0
app (using VS 2005). I am guessing 1.1.

Are you forcing your app to run against 2.0 via config or ASP.NET/IIS
settins?

Web or Windows Form?

Could you post the code that is causing the exception. Difficult to diagnose
with only the exception.

-Andrew

Signature

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org

> one of my application threw up an error when both 1.1 and 2.0 were
> present.
[quoted text clipped - 43 lines]
>>> Thanks
>>> Senthil
SenthilVel - 23 Dec 2005 05:51 GMT
hi

actually my application is written in 1.1, but only when 2.0 is also present
in any of the client machine, i get this problem..
also i can see that only when 2.0 is present i get this error  and when i
uninstall 2.0 i dont see this error :

- InsertTrigger -> Unhandled system exception key = 102, cgd =   98,
eventName = PATUPDATE            :
Exception: System.ArgumentOutOfRangeException
Message: Ticks must be between DateTime.MinValue.Ticks and
DateTime.MaxValue.Ticks.
Parameter name: ticks
Source: mscorlib

Server stack trace:
  at System.DateTime..ctor(Int64 ticks)
  at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadDateTime()
  at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadValue(InternalPrimitiveTypeE
code)
  at
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadMemberPrimitiveUnTyped()
  at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler
handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessage
methodCallMessage)
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream
serializationStream, HeaderHandler handler, Boolean fCheck,
IMethodCallMessage methodCallMessage)
  at
System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessage(String
objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel
securityLevel)
  at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream
requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders,
Stream& responseStream)

Exception rethrown at [0]:
  at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
  at Misys.Phys.Sadi.Utility.IRemoteSvc.DoRequest(IRequestBase theRequest)
  at Misys.Phys.Ifc.Trigger.Trigger.ProcessEventsIntoOBQ(IList events,
String usrlogin, String patKey, String intKey1, String intKey2, String
intKey3, String intKey4, String intKey5, String stringKey1, String
stringKey2, String stringKey3, String stringKey4, String stringKey5)
  at Misys.Phys.Ifc.Trigger.Trigger.ProcessTrigger(String usrlogin, String
patKey, String intKey1, String intKey2, String intKey3, String intKey4,
String intKey5, String stringKey1, String stringKey2, String stringKey3,
String stringKey4, String stringKey5, String cgd, String eventName,
IFilterTrigger theFilterClass)
  at Misys.Phys.Ifc.TigerTrigger.Trigger.InsertTrigger(String usrlogin,
String patKey, String intKey1, String intKey2, String intKey3, String
intKey4, String intKey5, String stringKey1, String stringKey2, String
stringKey3, String stringKey4, String stringKey5, String cgd, String
eventName)

seing this error made me think , is this a remoting error which is due to
the presence of 2.0 ???

Thanks
Senthil

> Is your app written against the 1.1 framework (using VS2003) or is it a
> 2.0 app (using VS 2005). I am guessing 1.1.
[quoted text clipped - 57 lines]
>>>> Thanks
>>>> Senthil
SenthilVel - 23 Dec 2005 08:02 GMT
Andrew

i also can think that this may be an error, due to remoting.

1. is it due to some Remoting  settings which may be changed when my
windows2003 is installed with 2.0 ?

2. which is the place i must check for remoting settings when i run both 1.1
and 2.0 ???

> hi
>
[quoted text clipped - 129 lines]
>>>>> Thanks
>>>>> Senthil
Andrew Robinson - 23 Dec 2005 16:21 GMT
Senthil,

I have never worked with Remoting, but to the extent that you host it within
IIS, you should take a look at the properties for the virtual directory that
you are using. Then select the ASP.NET tab and you can select the ASP.NET
version. Kind of a shot in the dark here....

Please let me know if this helped.

-Andrew

Signature

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org

> Andrew
>
[quoted text clipped - 140 lines]
>>>>>> Thanks
>>>>>> Senthil

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.