473,320 Members | 1,887 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,320 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 1564
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.