473,396 Members | 2,154 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Fully Trust a Visual C++.NET DLL under Win XP professional does not work



I have a Visual C++.NET DLL, which statically links to a C lib and is
used in a windows user control written in C#. This windows user control
will be hosted in IE. To do so, I have to Fully Trust these .NET dlls
(windows user control and VC++.net dll) using .NET framework
configuration wizard (can be found in Control Panel -> Administrative
Tools).

I have successfully done it in .NET framework 1.1 and Windows
2000/Windows XP Home and everything runs great.

But, when I tried to Fully Trust the VC++.NET dll under .NET framework
1.1 and Windows XP Professional, I got the following problem when doing
Trust An Assembly:
Unable to load Vic32NET.dll.
-- Note: Vic32NET.dll is my Visual C++.NET DLL. The windows user control
C#.NET dll is loaded successfully.

Why cann't .NET framework under Win XP professional load a VC++.NET dll?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #1
3 1568
snd
hi
sometimes ago i also ve faced this sort of prob in traansforming from Xp to 2000 and vice versa. May be due to diff authentication u are getting the problems .Try to log in from a admin account and try it again.If however you get any solution mail it to me also .

bye
shreeman
sn*********@rediffmail.com
"QINGFENG DUAN" wrote:


I have a Visual C++.NET DLL, which statically links to a C lib and is
used in a windows user control written in C#. This windows user control
will be hosted in IE. To do so, I have to Fully Trust these .NET dlls
(windows user control and VC++.net dll) using .NET framework
configuration wizard (can be found in Control Panel -> Administrative
Tools).

I have successfully done it in .NET framework 1.1 and Windows
2000/Windows XP Home and everything runs great.

But, when I tried to Fully Trust the VC++.NET dll under .NET framework
1.1 and Windows XP Professional, I got the following problem when doing
Trust An Assembly:
Unable to load Vic32NET.dll.
-- Note: Vic32NET.dll is my Visual C++.NET DLL. The windows user control
C#.NET dll is loaded successfully.

Why cann't .NET framework under Win XP professional load a VC++.NET dll?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #2
Actually, I did log in as an admin. But it did work.

Thanks

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

Sorry. A typo: It should be: But it didn't work!!!

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Chris Gilbert | last post by:
I spent nearly a day trying to fix this so this is a helper post as I'm sure this is a bug. I created a new solution containing two projects on a network share *before* I had set up full trust...
3
by: Lewis | last post by:
I have "My Documents" redirected to a network share but when I go to open a project it says that the share is not fully trusted. I found this info: > The simplest (least work) in this situation...
3
by: BWilliams | last post by:
Hello all, I'm working with the DotNetNuke project, and am getting the above error when trying to open it in Visual Studio 2003. The Zip file was extracted to a local hard drive - other than C:...
3
by: QINGFENG DUAN | last post by:
I have a Visual C++.NET DLL, which statically links to a C lib and is used in a windows user control written in C#. This windows user control will be hosted in IE. To do so, I have to Fully Trust...
4
by: Nadav Popplewell | last post by:
Hi everybody, I've install Visual studio Team Edition for Testers on my computers, And I can't seem to find how to show the toolbox. The documenation says there should be a 'Toolbox' menuitem...
18
by: surfrat_ | last post by:
Hi, I am having the following problems in getting Microsoft Visual Studio 2005 Professional to link to an Access .mdb database. Please help me to sort this out. Problem 1: The Microsoft...
5
by: =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post by:
Hi there. I posted an earlier issue under the name "That assembly does not allow partially trusted callers" but have now identified what the issue is. As explained before I am working in...
5
by: shapper | last post by:
Hello, Does anyone knows what is the difference between Microsoft Visual Studio 2008 Team Foundation Server and Microsoft Visual Studio 2008 Professional? Thanks, Miguel
4
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
Is it possible for a medium trust web application to read the Membership providers? The following throws a SecurityException: MembershipSection membershipSection =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.