Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Has anyone developed and deployed a .NET Smart Client written either in VB.NET or C#?

 

I know that a Smart Client app is just a Windows Forms accessed through a URL in IE.

 

I'm developing a Smart Client prototype for an internal project for my company. I deployed the executable in our web server and accessed it through the URL (ex. http://myserver.com/myapp.exe), a Policy exception is being thrown by the CLR.

 

But when I deployed the executable in our intranet server, I was able to run the app. Intranet sample - http://SERVER01/myapp.exe

 

How can I properly deploy a Smart Client application in an Internet Zone?

 

Thanks in advance. :)

  • *Gurus*
Posted
Each client has to have Internet Explorer configured to allow .NET applications to run. Under .NET 1.0 IE is configured by default to allow .NET applications from the Intranet zone to run, while .NET 1.1 allows for execution from either the Intranet zone or the Internet zone. With both, there will of course be certain code execution policies in place to prevent malicious code from executing. Given this information what you need to do is instruct your clients to enable execution from withing IE, or have them download a simple policy setup application which will make those changes for them. All in all the smart client idea is excellent, however it wasn't carefully executed by Microsoft upon rollout. Granted IE hasn't been updated for a few years now, so we know who to blame.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...