We have a mixed application that includes managed and unmanaged code. Until
recently we've been able to remote debug by disabling the security policy to
get the MFC managed dlls to load properly over the network. However, we are
now using classes in the system.data.dll assembly which according to
connect.microso ft.com is not allowed to run with the security policy
disabled. Here is the quote from them:
In the 2.0 version of .NET, you can no longer turn off CAS policy checking
on assemblies with code that can't be verified. This includes
System.Data.dll . Please note that the performance gain in turning off policy
checking is much smaller in 2.0 than in 1.1, so if you are using caspol to
increase compiler performance, that should no longer be needed.
Our only option is to now copy the mfc debug dlls manually or create a
script to install them and disregard the non-redistributable licence. Please
help us overcome this issue.
Brandon 4 1544
"BWB" <BW*@discussion s.microsoft.com wrote in message
news:E9******** *************** ***********@mic rosoft.com...
We have a mixed application that includes managed and unmanaged code.
Until
recently we've been able to remote debug by disabling the security policy
to
get the MFC managed dlls to load properly over the network. However, we
are
now using classes in the system.data.dll assembly which according to
connect.microso ft.com is not allowed to run with the security policy
disabled. Here is the quote from them:
In the 2.0 version of .NET, you can no longer turn off CAS policy checking
on assemblies with code that can't be verified. This includes
System.Data.dll . Please note that the performance gain in turning off
policy
checking is much smaller in 2.0 than in 1.1, so if you are using caspol to
increase compiler performance, that should no longer be needed.
Our only option is to now copy the mfc debug dlls manually or create a
script to install them and disregard the non-redistributable licence.
Please
help us overcome this issue.
IANAL, but I think the license doesn't present a problem.
You cannot redistribute the debug dlls, but Visual Studio (and therefore the
debug MFC dlls) are licensed per-developer, not per-machine. So you can
install Visual Studio or any portion thereof on multiple machines, as long
as they are only used by developers who already have a license.
>
Brandon
That's fine for our lab environment but what if we want to remote debug a
problem on a field machine.
We develop an embedded application that runs on dedicated hardware. Our
users are all internal but it would be very painful to be forced to insall
Visual Studio on over 120 target systems just so we can debug a failure.
"Ben Voigt [C++ MVP]" wrote:
>
"BWB" <BW*@discussion s.microsoft.com wrote in message
news:E9******** *************** ***********@mic rosoft.com...
We have a mixed application that includes managed and unmanaged code.
Until
recently we've been able to remote debug by disabling the security policy
to
get the MFC managed dlls to load properly over the network. However, we
are
now using classes in the system.data.dll assembly which according to
connect.microso ft.com is not allowed to run with the security policy
disabled. Here is the quote from them:
In the 2.0 version of .NET, you can no longer turn off CAS policy checking
on assemblies with code that can't be verified. This includes
System.Data.dll . Please note that the performance gain in turning off
policy
checking is much smaller in 2.0 than in 1.1, so if you are using caspol to
increase compiler performance, that should no longer be needed.
Our only option is to now copy the mfc debug dlls manually or create a
script to install them and disregard the non-redistributable licence.
Please
help us overcome this issue.
IANAL, but I think the license doesn't present a problem.
You cannot redistribute the debug dlls, but Visual Studio (and therefore the
debug MFC dlls) are licensed per-developer, not per-machine. So you can
install Visual Studio or any portion thereof on multiple machines, as long
as they are only used by developers who already have a license.
Brandon
"BWB" <BW*@discussion s.microsoft.com wrote in message
news:9B******** *************** ***********@mic rosoft.com...
That's fine for our lab environment but what if we want to remote debug a
problem on a field machine.
We develop an embedded application that runs on dedicated hardware. Our
users are all internal but it would be very painful to be forced to insall
Visual Studio on over 120 target systems just so we can debug a failure.
If you have a license for Visual Studio, I don't see why you can't install
just the pieces you need, in this case the DLLs.
You can also debug without the MFC debug DLLs. There are three independent
settings:
MFC DLLs are debug or release
compiler optimizations are off or on
debug symbols are generated or not
The default project settings use all the first alternatives for Debug and
all the second alternatives for Release, but for example generating debug
symbols for an optimized build using the release MFC DLLs is very possible.
>
"Ben Voigt [C++ MVP]" wrote:
>> "BWB" <BW*@discussion s.microsoft.com wrote in message news:E9******* *************** ************@mi crosoft.com...
We have a mixed application that includes managed and unmanaged code.
Until
recently we've been able to remote debug by disabling the security
policy
to
get the MFC managed dlls to load properly over the network. However,
we
are
now using classes in the system.data.dll assembly which according to
connect.microso ft.com is not allowed to run with the security policy
disabled. Here is the quote from them:
In the 2.0 version of .NET, you can no longer turn off CAS policy
checking
on assemblies with code that can't be verified. This includes
System.Data.dll . Please note that the performance gain in turning off
policy
checking is much smaller in 2.0 than in 1.1, so if you are using caspol
to
increase compiler performance, that should no longer be needed.
Our only option is to now copy the mfc debug dlls manually or create a
script to install them and disregard the non-redistributable licence.
Please
help us overcome this issue.
IANAL, but I think the license doesn't present a problem.
You cannot redistribute the debug dlls, but Visual Studio (and therefore the debug MFC dlls) are licensed per-developer, not per-machine. So you can install Visual Studio or any portion thereof on multiple machines, as long as they are only used by developers who already have a license.
>
Brandon
Ben,
Thanks for your response. I guess we could just install the dlls on the
target machines. Do you have any tips on how to install them into the SxS
folder? Can they just be copied there? Do they need a special manifest?
Brandon
"Ben Voigt [C++ MVP]" wrote:
>
"BWB" <BW*@discussion s.microsoft.com wrote in message
news:9B******** *************** ***********@mic rosoft.com...
That's fine for our lab environment but what if we want to remote debug a
problem on a field machine.
We develop an embedded application that runs on dedicated hardware. Our
users are all internal but it would be very painful to be forced to insall
Visual Studio on over 120 target systems just so we can debug a failure.
If you have a license for Visual Studio, I don't see why you can't install
just the pieces you need, in this case the DLLs.
You can also debug without the MFC debug DLLs. There are three independent
settings:
MFC DLLs are debug or release
compiler optimizations are off or on
debug symbols are generated or not
The default project settings use all the first alternatives for Debug and
all the second alternatives for Release, but for example generating debug
symbols for an optimized build using the release MFC DLLs is very possible.
"Ben Voigt [C++ MVP]" wrote:
>
"BWB" <BW*@discussion s.microsoft.com wrote in message
news:E9******** *************** ***********@mic rosoft.com...
We have a mixed application that includes managed and unmanaged code.
Until
recently we've been able to remote debug by disabling the security
policy
to
get the MFC managed dlls to load properly over the network. However,
we
are
now using classes in the system.data.dll assembly which according to
connect.microso ft.com is not allowed to run with the security policy
disabled. Here is the quote from them:
In the 2.0 version of .NET, you can no longer turn off CAS policy
checking
on assemblies with code that can't be verified. This includes
System.Data.dll . Please note that the performance gain in turning off
policy
checking is much smaller in 2.0 than in 1.1, so if you are using caspol
to
increase compiler performance, that should no longer be needed.
Our only option is to now copy the mfc debug dlls manually or create a
script to install them and disregard the non-redistributable licence.
Please
help us overcome this issue.
IANAL, but I think the license doesn't present a problem.
You cannot redistribute the debug dlls, but Visual Studio (and therefore
the
debug MFC dlls) are licensed per-developer, not per-machine. So you can
install Visual Studio or any portion thereof on multiple machines, as
long
as they are only used by developers who already have a license.
Brandon
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve Wark |
last post by:
I have a Windows 2003 Web server on which I was debugging remotely with no
problems.
I then moved this server to a different domain and now remote debugging will
not work, the error is;
Auto-attach to process ' w3wp.exe' on machine 'CSS5' failed. Error code
0x80070005 (Access is denied. ).
I have found a number of articles and it would appear that the problem
|
by: eholz1 |
last post by:
Hello MSDN Group,
I am trying to do remote debugging with an ASP.NET application.
It flat will not let me debug, I always get "unable to start debugging on
remote server, access denied". I have installed the VS remote debug
componets on the remote server (Windows 2000 sp(the latest), fp 2000
extensions, 1.1 frame work with sp1) The debug files are there, the debugger
user group is there, etc. Everything looks ok. have the debugging...
|
by: shekhartgs |
last post by:
Please tell me how to debug an ASP.NET web application residing on a remote
server?
Can you pls tell me point by point as I am a new bie to a lil extent.
Also please alert me where errors might come in the process of remote debug.
Thanks a ton,
shekhar
|
by: Jorgen Haukland, Norway |
last post by:
Hi,
I have created a Java webservice which runs in IBM WebSphere appserver. I
take the WSDL-file and create a VS.NET WinForm application and calls the
service running on my PC and everything works fine.
So I deploy the webservice on a remote machine (Linux box) and I get an
error when calling the service. BUT: I can retrieve the WSDL and make a
webreference in my VS.NET project, so obviously I (or more correct: My VS.NET
project) am...
|
by: Ken Allen |
last post by:
I have encountered a problem with remote debugging under VS 2005 and
..Net 2.0 -- it seems that the framework installation does not include
the "Microsoft .Net Framework 2.0 Configuration" tool!
My preferred method of debugging uses these steps:
1. Share the directory that contains the debug image; also share the
folder that contains the debug monitor.
2. Configure the project debug mode to launch the exeecutable from the
share rather...
| |
by: =?Utf-8?B?SmltIFdhbHNo?= |
last post by:
I'm new to working with mixed assemblies. All of my previous experience has
been with VC++/MFC in native, unmanaged applications.
When I create a mixed assembly in which one or more of the files compiles
with /clr the instructions say that I need to change the switch for Debug
information format from Program Database for Edit & Continue to disabled.
At runtime I find that I am not able to set breakpoints in the managed code,
nor trace...
|
by: Rick |
last post by:
We have a web site that was built as an ASP.Net Web Site, I am unable to
remote debug, when build ing the web site there is not a dll or PDB file
generated. I can debug on my local machine but unable to attach to the
process when running from the web server.
Can someone tell me how to remote debug an ASP.Net Website that does not
genate a dll or PDB file?
Thanks in advance!
Rick
|
by: Yves Gagnon |
last post by:
Hi,
I try to debug a WCF hosted in a windows services on a serveur that is on an
other domaine then my developpement machine. I tried many things without
succes. Here is what I tried:
First I installed on the server I want to debug, the remote debugger tools
from the VS 2005 CD. I just install the windows application. I tried from
there to debug, without succes. I could connect to the remote machine only
when the msvsmon.exe is in the...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |