Advertisement

11.02.2007 at 01:12PM PDT, ID: 22935827
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.6

Set which version of .NET framework is default

Asked by Terrace in Visual Studio, .Net Editors & IDEs, .NET Framework 2.x

Tags: , , , ,

I created a dll file using VB.NET and VS 2003.

The dll exists on a main web server and it is referenced and used by various applications (windows forms app, web app etc)

Everything works fine for Web apps, but I have a problem when Windows Form App is trying to call this dll. I believe that Windows forms app is calling/accessing the dll using COM.

Windows Form app runs on client PCs and everything works fine as long as I have only 1 .NET framework on those client PCs. ( .NET Framework 1.1).  Also, to set necessary permissions to run fine, I had to add a permission under Runtime Security Policies -->Machine--> Code Groups --> LocalIntranet_Zone and gave it a full trust for each PC. ANyway, it runs fine.

Here is my problem now:

For few client PCs, I had to install some other software that requires .NET framework 2.0.
Since the additional framework got installed, my Window App on those clients stopped to succesfully call that dll.

The error I get is:
Error:  OLE Dispatch Exception:  Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I guess somehow those PCs selected Framework 2.0 to be default, so my permissions set for 1.1 are ignored.
How to strictly set usage of 1.1 framework only?

I think of 2 ways to solve this, but need your help:

1. Is there a was to set some code in dll to force it to use framework 1.1 stricktly? If yes, what is that code?

2. If above is not possible, how I can access framework 2.0 settings on client PC to try to set same/similar permissions. Hoping that will work :)

If you have a better solution, please let me know.

Thank you in advance.Start Free Trial
[+][-]11.02.2007 at 02:05PM PDT, ID: 20204516

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.12.2007 at 12:34PM PST, ID: 20267034

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.12.2007 at 12:48PM PST, ID: 20267159

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.12.2007 at 12:58PM PST, ID: 20267240

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.12.2007 at 02:02PM PST, ID: 20267798

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.13.2007 at 05:28AM PST, ID: 20271224

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.13.2007 at 06:06AM PST, ID: 20271465

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.13.2007 at 07:28AM PST, ID: 20272122

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.13.2007 at 09:11AM PST, ID: 20273086

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.15.2007 at 02:51AM PST, ID: 20476853

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]12.22.2007 at 08:06PM PST, ID: 20520539

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Studio, .Net Editors & IDEs, .NET Framework 2.x
Tags: permission, request, type, framework, set
Sign Up Now!
Solution Provided By: Computer101
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628