1.0 App under 1.1 Framework?

B

Bill Cohagan

A .Net app built under the 1.0 Framework should run OK under the 1.1
Framework, right? We're seeing QueryInterface failure on a COM DLL (built
using VB6) after installation. This same install seems to work fine
elsewhere, but (I think) "elsewhere" included only 1.0 Framework.

Thanks for the sanity check....

Bill
 
T

Tian Min Huang

Hi Bill,

Thanks for your post. As I understand, the problem you are facing is that
you .NET Framework 1.0 applicaiton fails to work on a specific system with
.NET Framework 1.1. While it works properly on other .NET Framework 1.1
systems. Please correct me if there is any misunderstanding. If so, I
believe that you may not register COM DLL properly in that specific system.

For further research, could you please tell me what the detailed error
message when it fails at QueryInterface? Could any other programs access
the COM DLL in that system? I suggest that you can also build your
application with Visual Studio .NET 2003 which targeting .NET Framework
1.1, and check whether or not the problem still exists.

In addition, please kindly note that the 1.1 Framework is designed to be
highly compatible with the 1.0 Framework. We have gone to great lengths to
ensure that the vast majority of applications built on the 1.0 Framework
continue to operate on the 1.1 Framework. However, there are certain cases
where the development team found it absolutely necessary to break
compatibility.The complete list of breaking changes for the 1.1 Framework
can be found at
http://www.gotdotnet.com/team/changeinfo/Backwards1.0to1.1/default.aspx.

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
B

Bill Cohagan

The problem is being reported to me by a user of my software. He says he
gets a dialog box stating "Invalid Cast Exception", then an error:
"QueryInterface for interface OAUtility._Utility failed"

This is the first time (to my knowledge) that this software has been
installed on a system running the 1.1 Framework. BTW, OAUtility is the VB6
dll being referenced thru interop.

Regards,
Bill
 
T

Tian Min Huang

Hi Bill,

Thanks for your information. As for now, I suggest you to install .NET
Framework 1.1, force your application to be run at .NET Framework 1.1 and
see whether or not your are able to reproduce the problem.

You can get .NET Framework 1.1 at
http://msdn.microsoft.com/netframework/technologyinfo/howtoget/.

To configure your application support 1.1 Framework only, please refer to
the article below:
Side-by-Side Execution of the .NET Framework
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/ht
ml/sidexsidenet.asp

I look forward to hearing from you.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top