Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2005

Tip: Looking for answers? Try searching our database.

Can Mixed mode Be deployed w/ one touch?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
wackyphill@yahoo.com - 22 Mar 2005 15:36 GMT
Can a program w/ managed and unmanaged code be deployed over the web w/
one touch (or is it no-touch) deployment.

Ya know when you clink in a link to it and it runs on the client's
machine from a web server.

I haven't had any luck.

Thanks.
Tomas Restrepo \(MVP\) - 23 Mar 2005 01:06 GMT
> Can a program w/ managed and unmanaged code be deployed over the web w/
> one touch (or is it no-touch) deployment.
[quoted text clipped - 3 lines]
>
> I haven't had any luck.

I don't think that's a supported scenario, for two reasons:
1- The .NET Runtime can do this for fully managed applications because it
can track dependencies and download the necessary dependant asssemblies as
needed. If you depend on unmanaged libraries (which is very likely on mixed
mode scenarios), the runtime has no way to deal with those unmanaged
dependencies.

2- The default security settings will pretty much prevent you from running
mixed mode code, because the default permissions given to code executed that
way don't allow access to unverifiable and unmanaged code, I believe. You
could try using the .NET Framework Configuration tool to adjust the security
policy to give it the necessary permissions and see if it will run that
way...

Signature

Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.