Value does not fall within the expected range

Value does not fall within the expected range

Postby Vic D'Elfant » Wed 05 Sep 2007 12:38

Hi all,

Ever since installing MyDirect Pro (clean install, licensed version) I'm getting several (5-10) message boxes saying "Value does not fall within the expected range" whenever I go to a project's properties page in Visual Studio 2005 and/or switch tabs in the properties page.

This happens only when MyDirect is installed on the system - uninstalling and trying again fixes the problem. As soon as I re-install MyDirect, the errors show up again. Strangely enough, this problem occurs with any project, not just the projects that have a reference to CoreLab.MySql.

Any idea what's going on here?

Below is a list of what's installed on my system with regards to Visual Studio, please let me know if one needs more information.
Microsoft Visual Studio 2005
Version 8.0.50727.867 (vsvista.050727-8600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual Basic 2005 77626-009-0000007-41207
Microsoft Visual Basic 2005

Microsoft Visual C# 2005 77626-009-0000007-41207
Microsoft Visual C# 2005

Microsoft Visual C++ 2005 77626-009-0000007-41207
Microsoft Visual C++ 2005

Microsoft Visual J# 2005 77626-009-0000007-41207
Microsoft Visual J# 2005

Microsoft Visual Web Developer 2005 77626-009-0000007-41207
Microsoft Visual Web Developer 2005

Microsoft Web Application Projects 2005 77626-009-0000007-41207
Microsoft Web Application Projects 2005
Version 8.0.50727.867

Core Lab MyDirect .NET 4.20.18.0
Core Lab MyDirect .NET
Copyright 2002 - 2007 Core Lab. All rights reserved.
Web: www.crlab.com/mysqlnet
Support: mysqlnet@crlab.com

Core Lab MySQL Developer Tools 2.00
Core Lab MySQL Developer Tools for Visual Studio 2005
Copyright 2004 - 2007 Core Lab. All rights reserved.
Trial version: 29 of 30 days left.
Web: www.crlab.com/mysqldevtools
Support: mysqldev@crlab.com
Ordering: www.crlab.com/mysqldevtools/ordering.html

Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005


Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601

Microsoft Visual Web Developer 2005 Express Edition - ENU Service Pack 1 (KB926751)
This service pack is for Microsoft Visual Web Developer 2005 Express Edition - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926751

Update for Microsoft Visual Studio 2005 Professional Edition - ENU (KB932232)
This Update is for Microsoft Visual Studio 2005 Professional Edition - ENU.
If you later install a more recent service pack, this Update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/932232
Vic D'Elfant
 
Posts: 7
Joined: Mon 03 Sep 2007 09:43

Postby Alexey » Thu 06 Sep 2007 11:45

Unfortunately, I cannot reproduce this problem.
Try to debug it using another instance of VS IDE.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby Vic D'Elfant » Sun 09 Sep 2007 10:13

I just spotted a bunch of other instances of the MyDirect assemblies in various directories on my machine (all different versions) which I guess are left-overs from previous installations of the product. I've removed the duplicates and everything appears to be working properly again so it looks it was just a conflict with older versions.

Hopefully this post will help someone who encounters the same problem; I remember my Google search returning 0 usable entries on this issue :)
Vic D'Elfant
 
Posts: 7
Joined: Mon 03 Sep 2007 09:43

Postby Alexey » Mon 10 Sep 2007 05:39

Thanks for the information.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby garychin » Tue 11 Sep 2007 19:05

I am also having this problem, i installed 4.20.17 first and then 4.20.18 over that installation without uninstalling 4.20.17. During both install wizards I used all of the defaults. I can't figure out how to fix it, but maybe this will help in recreating the problem.
garychin
 
Posts: 8
Joined: Thu 30 Aug 2007 22:48

Postby garychin » Tue 11 Sep 2007 20:08

I also tried installing the trial version 4.20.18 of MyDirect on another machine that never had any CoreLab drivers installed on it before. I used all of the default settings during the install wizard.

When I open up Visual Studio 2005 pro and open an existing solution and go to a project's property page (right click on a project in the solution viewer and click on properties) I still receive those 5-10 dialog boxes saying "Value does not fall within the expected range."
garychin
 
Posts: 8
Joined: Thu 30 Aug 2007 22:48

Postby Vic D'Elfant » Wed 12 Sep 2007 06:49

garychin wrote:I am also having this problem, i installed 4.20.17 first and then 4.20.18 over that installation without uninstalling 4.20.17. During both install wizards I used all of the defaults. I can't figure out how to fix it, but maybe this will help in recreating the problem.

Uninstall the versions you can uninstall the normal way, open a project, right-click it, click "Add reference", open up the .NET tab and check for duplicate entries with a different version number. Just slide the scrollbar to the right and you'll see its location. Just remove the assemblies manually and be sure to check the GAC as well.

Once you've done all that, just install the newest version and you should be settled :) That worked for me, at least.
Vic D'Elfant
 
Posts: 7
Joined: Mon 03 Sep 2007 09:43

Postby SkipFire » Thu 20 Sep 2007 23:34

I had this same problem with OraDirect 4.2 and OraDeveloper 2.5. I uninstalled OraDeveloper 2.5 and the problem went away.
SkipFire
 
Posts: 10
Joined: Thu 16 Nov 2006 19:09

The Same Problem

Postby iad » Fri 21 Sep 2007 06:35

I Have the same problem,
no matter what i did, still have the problem,
Guys, you need to find it and fix it
iad
 
Posts: 34
Joined: Fri 24 Nov 2006 07:38

Postby Alexey » Fri 21 Sep 2007 07:52

Please wait for MyDirect .NET 4.20.19.
We think we have fixed this weird problem in it.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby garychin » Fri 21 Sep 2007 16:05

Hey Iad, I tried all of the fixes suggested on this thread, and they didn't work. I followed Alexey's advice to download the latest build, MyDirect 4.20.19.0, and the "Value does not fall within the expected range" popups are gone. Hope it works out for you, too.
garychin
 
Posts: 8
Joined: Thu 30 Aug 2007 22:48

Postby reskite » Fri 05 Oct 2007 15:27

Has there been any progress made with this, or further information available? I experience this problem as well.

Clean installs on new system:
Windows XP Pro (SP2)
Visual Studio 2005 V 8.0.50727.762
MyDirect 4.20.18 (not sure how to upgrade to 4.20.19 referenced above)
Janus GrixEX.NET V 3.5.0.3 (possibly irrelevant)
reskite
 
Posts: 3
Joined: Fri 05 Oct 2007 15:15

Postby reskite » Fri 05 Oct 2007 15:40

Please disregard my post above. I installed 4.20.19 and the problem is fixed.

Thank you!
reskite
 
Posts: 3
Joined: Fri 05 Oct 2007 15:15

Postby Alexey » Fri 05 Oct 2007 15:42

Well done!
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL