System.Security.SecurityException: Request for the permission of type ‘System.Security.Permissions.S

I get the above error when I run my C# VS 2008 WPF application from my internet site.  But this same application runs good and works correctly internally on my computer.  What could be the possible cause?  At first, this application didn’t
work internally either when I still had it configured as Partial Trust.  So instead I changed it to a Full Trust application and then it worked.  This is probably not a good idea to have it Full Trust for internet, right?  If it’s not a good
idea then what do I need to select  from PARTIAL Trust?  Here is the error detail it gives me:

Startup URI: http://www.sqlmagic.net/App3/Window1.xaml
Application Identity: 

System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
  at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
  at System.Security.CodeAccessPermission.Demand()
  at MS.Internal.PresentationFramework.SecurityHelper.DemandUnmanagedCode()
  at System.Windows.Window..ctor()
  at System.Windows.Markup.KnownTypes.CreateKnownElement(KnownElements knownElement)
  at System.Windows.Markup.BamlRecordReader.CreateInstanceFromType(Type type, Int16 typeId, Boolean throwOnFail)
  at System.Windows.Markup.BamlRecordReader.GetElementAndFlags(BamlElementStartRecord bamlElementStartRecord, Object& element, ReaderFlags& flags, Type& delayCreatedType, Int16& delayCreatedTypeId)
  at System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
  at System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord bamlElementRecord)
  at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
  at System.Windows.Markup.BamlRecordReader.Read(BamlRecord bamlRecord, Int32 lineNumber, Int32 linePosition)
  at System.Windows.Markup.XamlTreeBuilder.BamlRecordWriterSyncUpdate(BamlRecord bamlRecord, Int32 lineNumber, Int32 linePosition)
  at System.Windows.Markup.XamlTreeBuilderBamlRecordWriter.WriteBamlRecord(BamlRecord bamlRecord, Int32 lineNumber, Int32 linePosition)
  at System.Windows.Markup.BamlRecordWriter.WriteElementStart(XamlElementStartNode xamlElementNode)
  at System.Windows.Markup.TreeBuilderXamlTranslator.WriteElementStart(XamlElementStartNode xamlElementStartNode)
  at System.Windows.Markup.XamlParser.ProcessXamlNode(XamlNode xamlNode, Boolean& cleanup, Boolean& done)
  at System.Windows.Markup.XamlParser.ReadXaml(Boolean singleRecordMode)
  at System.Windows.Markup.XamlParser.GetParseMode()
  at System.Windows.Markup.XamlTreeBuilder.ParseFragment()
  at System.Windows.Markup.TreeBuilder.Parse()
  at System.Windows.Markup.XamlReader.LoadAsync(Stream stream, ParserContext parserContext)
  at MS.Internal.AppModel.AppModelKnownContentFactory.XamlConverter(Stream stream, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
  at MS.Internal.AppModel.MimeObjectFactory.GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, Boolean canUseTopLevelBrowser, Boolean sandboxExternalContent, Boolean allowAsync, Boolean isJournalNavigation, XamlReader& asyncObjectConverter)
  at System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState)
  at System.Windows.Navigation.NavigationService.HandleWebResponse(IAsyncResult ar)
  at System.Windows.Navigation.NavigationService.<>c__DisplayClassc.<HandleWebResponseOnRightDispatcher>b__9(Object unused)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
  at System.Windows.Navigation.NavigationService.HandleWebResponseOnRightDispatcher(IAsyncResult ar)
  at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
  at System.Net.ContextAwareResult.CaptureOrComplete(ExecutionContext& cachedContext, Boolean returnContext)
  at System.Net.ContextAwareResult.FinishPostingAsyncOp()
  at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state)
  at System.Windows.Navigation.NavigationService.DoNavigate(Uri source, NavigationMode f, Object navState)
  at System.Windows.Navigation.NavigateQueueItem.Dispatch(Object obj)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.DispatcherOperation.InvokeImpl()
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
  at System.Threading.ExecutionContext.runTryCode(Object userData)
  at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  at System.Windows.Threading.DispatcherOperation.Invoke()
  at System.Windows.Threading.Dispatcher.ProcessQueue()
  at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
  at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
  at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
  at System.Windows.Threading.Dispatcher.Run()
  at System.Windows.Application.RunDispatcher(Object ignore)
  at System.Windows.Application.StartDispatcherInBrowser(Object unused)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.DispatcherOperation.InvokeImpl()
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
  at System.Threading.ExecutionContext.runTryCode(Object userData)
  at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  at System.Windows.Threading.DispatcherOperation.Invoke()
  at System.Windows.Threading.Dispatcher.ProcessQueue()
  at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
  at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)
  at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
  at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The first permission that failed was:
<IPermissionclass="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"version="1"Flags="UnmanagedCode"/>

The demand was for:
<IPermissionclass="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"version="1"Flags="UnmanagedCode"/>

The granted set of the failing assembly was:
<PermissionSetclass="System.Security.PermissionSet"version="1"><IPermissionclass="System.Security.Permissions.FileDialogPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"version="1"Access="Open"/><IPermissionclass="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"version="1"Flags="Execution"/><IPermissionclass="System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"version="1"Window="SafeTopLevelWindows"Clipboard="OwnClipboard"/><IPermissionclass="System.Drawing.Printing.PrintingPermission, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"version="1"Level="SafePrinting"/><IPermissionclass="System.Security.Permissions.MediaPermission, WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"version="1"Audio="SafeAudio"Video="SafeVideo"Image="SafeImage"/><IPermissionclass="System.Security.Permissions.WebBrowserPermission, WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"version="1"Level="Safe"/><IPermissionclass="System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"version="1"><ConnectAccess><URIuri="(http|https)://www.sqlmagic.net/.*"/>ConnectAccess>IPermission>PermissionSet>


-----------------------

PresentationHost.exe v4.0.40305.0 built by: Main - c:WINDOWSsystem32PresentationHost.exe
ntdll.dll v5.1.2600.5755 (xpsp_sp3_gdr.090206-1234) - C:WINDOWSsystem32ntdll.dll
kernel32.dll v5.1.2600.5781 (xpsp_sp3_gdr.090321-1317) - C:WINDOWSsystem32kernel32.dll
ADVAPI32.dll v5.1.2600.5755 (xpsp_sp3_gdr.090206-1234) - C:WINDOWSsystem32ADVAPI32.dll
RPCRT4.dll v5.1.2600.5795 (xpsp_sp3_gdr.090415-1241) - C:WINDOWSsystem32RPCRT4.dll
Secur32.dll v5.1.2600.5834 (xpsp_sp3_gdr.090624-1305) - C:WINDOWSsystem32Secur32.dll
USER32.dll v5.1.2600.5512 (xpsp.080413-2105) - C:WINDOWSsystem32USER32.dll
GDI32.dll v5.1.2600.5698 (xpsp_sp3_gdr.081022-1932) - C:WINDOWSsystem32GDI32.dll
ole32.dll v5.1.2600.5512 (xpsp.080413-2108) - C:WINDOWSsystem32ole32.dll
msvcrt.dll v7.0.2600.5512 (xpsp.080413-2111) - C:WINDOWSsystem32msvcrt.dll
OLEAUT32.dll v5.1.2600.5512 - C:WINDOWSsystem32OLEAUT32.dll
mscoree.dll v4.0.31106.0 (Main.031106-0000) - c:WINDOWSsystem32mscoree.dll
SHLWAPI.dll v6.00.2900.5912 (xpsp_sp3_gdr.091207-1454) - C:WINDOWSsystem32SHLWAPI.dll
WININET.dll v8.00.6001.18923 (longhorn_ie8_gdr.100419-1241) - C:WINDOWSsystem32WININET.dll
Normaliz.dll v6.0.5441.0 (winmain(wmbla).060628-1735) - C:WINDOWSsystem32Normaliz.dll
urlmon.dll v8.00.6001.18923 (longhorn_ie8_gdr.100419-1241) - C:WINDOWSsystem32urlmon.dll
iertutil.dll v8.00.6001.18923 (longhorn_ie8_gdr.100419-1241) - C:WINDOWSsystem32iertutil.dll
SHELL32.dll v6.00.2900.5622 (xpsp_sp3_gdr.080617-1319) - C:WINDOWSsystem32SHELL32.dll
IMM32.DLL v5.1.2600.5512 (xpsp.080413-2105) - C:WINDOWSsystem32IMM32.DLL
comctl32.dll v6.0 (xpsp.080413-2105) - C:WINDOWSWinSxSx86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83comctl32.dll
LVPrcInj.dll v11.5.0.1158 - C:Program FilesCommon FilesLogishrdLVMVFMLVPrcInj.dll
MSCTF.dll v5.1.2600.5512 (xpsp.080413-2105) - C:WINDOWSsystem32MSCTF.dll
ASOEHOOK.DLL v17.7.0.12 - C:PROGRAM FILESNORTON 360 PREMIER EDITIONENGINE4.2.0.12ASOEHOOK.DLL
MSVCR90.dll v9.00.30729.4148 - C:PROGRAM FILESNORTON 360 PREMIER EDITIONENGINE4.2.0.12Microsoft.VC90.CRTMSVCR90.dll
MSVCP90.dll v9.00.30729.4148 - C:PROGRAM FILESNORTON 360 PREMIER EDITIONENGINE4.2.0.12Microsoft.VC90.CRTMSVCP90.dll
CLBCATQ.DLL v2001.12.4414.700 - c:WINDOWSsystem32CLBCATQ.DLL
COMRes.dll v2001.12.4414.700 - c:WINDOWSsystem32COMRes.dll
VERSION.dll v5.1.2600.5512 (xpsp.080413-2105) - C:WINDOWSsystem32VERSION.dll
xpsp2res.dll v5.1.2600.5512 (xpsp.080413-2113) - c:WINDOWSsystem32xpsp2res.dll
ws2_32.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32ws2_32.dll
WS2HELP.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32WS2HELP.dll
RASAPI32.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32RASAPI32.dll
rasman.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32rasman.dll
NETAPI32.dll v5.1.2600.5694 (xpsp_sp3_gdr.081015-1312) - c:WINDOWSsystem32NETAPI32.dll
TAPI32.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32TAPI32.dll
rtutils.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32rtutils.dll
WINMM.dll v5.1.2600.5512 (xpsp.080413-0845) - c:WINDOWSsystem32WINMM.dll
USERENV.dll v5.1.2600.5512 (xpsp.080413-2113) - C:WINDOWSsystem32USERENV.dll
sensapi.dll v5.1.2600.5512 (xpsp.080413-2108) - c:WINDOWSsystem32sensapi.dll
msv1_0.dll v5.1.2600.5876 (xpsp_sp3_gdr.090909-1234) - C:WINDOWSsystem32msv1_0.dll
cryptdll.dll v5.1.2600.5512 (xpsp.080413-2113) - c:WINDOWSsystem32cryptdll.dll
iphlpapi.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32iphlpapi.dll
mswsock.dll v5.1.2600.5625 (xpsp_sp3_gdr.080620-1249) - C:WINDOWSsystem32mswsock.dll
hnetcfg.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32hnetcfg.dll
wshtcpip.dll v5.1.2600.5512 (xpsp.080413-0852) - C:WINDOWSSystem32wshtcpip.dll
rasadhlp.dll v5.1.2600.5512 (xpsp.080413-0852) - c:WINDOWSsystem32rasadhlp.dll
DNSAPI.dll v5.1.2600.5625 (xpsp_sp3_gdr.080620-1249) - c:WINDOWSsystem32DNSAPI.dll
mdnsNSP.dll v2.0.1.2 - C:Program FilesBonjourmdnsNSP.dll
PresentationHostDLL.dll v3.0.6920.4016 built by: GDR - c:WINDOWSMicrosoft.NETFrameworkv3.0WPFPresentationHostDLL.dll
MSVCR80.dll v8.00.50727.4053 - C:WINDOWSWinSxSx86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989MSVCR80.dll
PSAPI.DLL v5.1.2600.5512 (xpsp.080413-2105) - c:WINDOWSsystem32PSAPI.DLL
actxprxy.dll v6.00.2900.5512 (xpsp.080413-2113) - C:WINDOWSsystem32actxprxy.dll
PresentationHostProxy.dll v4.0.31106.0 built by: Main - c:WINDOWSsystem32PresentationHostProxy.dll
msctfime.ime v5.1.2600.5512 (xpsp.080413-2105) - C:WINDOWSsystem32msctfime.ime
mscorwks.dll v2.0.50727.3603 (GDR.050727-3600) - c:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorwks.dll
mscorlib.ni.dll v2.0.50727.3603 (GDR.050727-3600) - C:WINDOWSassemblyNativeImages_v2.0.50727_32mscorlib7124a40b9998f7b63c86bd1a2125ce26mscorlib.ni.dll
System.ni.dll v2.0.50727.3614 (GDR.050727-3600) - C:WINDOWSassemblyNativeImages_v2.0.50727_32System37217abe2c5164e59aba251860f4c79eSystem.ni.dll
WindowsBase.ni.dll v3.0.6920.4016 built by: GDR - C:WINDOWSassemblyNativeImages_v2.0.50727_32WindowsBased63164ac4ed5adabc6a1b0fdf07eee05WindowsBase.ni.dll
PresentationCore.ni.dll v3.0.6920.4016 built by: GDR - C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationCore9f5dff344ac6ac923b5ade8ba1ab9382PresentationCore.ni.dll
PresentationFramework.ni.dll v3.0.6920.4016 built by: GDR - C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationFramewo#560662ada034afb6ec78a152bd9a47b5PresentationFramework.ni.dll
wpfgfx_v0300.dll v3.0.6920.1500 built by: QFE - c:WINDOWSMicrosoft.NETFrameworkv3.0WPFwpfgfx_v0300.dll
System.Drawing.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Drawingf3440ea00eb3c40dc073b2fe03843638System.Drawing.ni.dll
rsaenh.dll v5.1.2600.5507 (xpsp.080318-1711) - c:WINDOWSsystem32rsaenh.dll
PresentationUI.ni.dll v3.0.6920.1427 built by: SP - C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationUI095ba60255d4addaf5b8ebee697a027PresentationUI.ni.dll
uxtheme.dll v6.00.2900.5512 (xpsp.080413-2105) - c:WINDOWSsystem32uxtheme.dll
PresentationFramework.Classic.ni.dll v3.0.6920.1427 built by: SP - C:WINDOWSassemblyNativeImages_v2.0.50727_32PresentationFramewo#3bef0992fb684e71dbfab5c0a99316afPresentationFramework.Classic.ni.dll
System.Configuration.ni.dll v2.0.50727.3053 (netfxsp.050727-3000) - C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Configuration631b3eba1ba5bd3c3f027f34011cadebSystem.Configuration.ni.dll
System.Xml.ni.dll v2.0.50727.3082 (QFE.050727-3000) - C:WINDOWSassemblyNativeImages_v2.0.50727_32System.Xml563a54b98adb70fae862974042298348System.Xml.ni.dll
mscorjit.dll v2.0.50727.3082 (QFE.050727-3000) - c:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorjit.dll
diasymreader.dll v8.0.50727.3053 (netfxsp.050727-3000) - c:WINDOWSMicrosoft.NETFrameworkv2.0.50727diasymreader.dll

    

Hi Daniel,The use of System.Windows.Window class requires full trust permission  set, so you need to grant full trust permission set to the WPF desktop application.Since you’d like to run  the WPF application from IE, you should create a WPF Browser application (XBAP) instead of a WPF application.  A WPF XBAP doesn’t contain Window but page. You can only request permissions  that the WPF XBAP

Linda is correct, I’d just like to add:1) If you retarget your application to .NET 4.0, you will be able to run  fully-trusted with prompt from Intranet or Trusted Sites zones (such as if you really need to show a Window…)2) You can get the equivalent effect of having child Windows using the Popup class in Partial trust, the limitation being they will be constrained to within the browser’s frame.-Matt

Linda,I created this as a Browser App now, but it is still failing when I try to view it from the internet.  Although it does deploy successfully locally on my machine.  Any ideas on cause?  I have it as Partial Trust / Internet.  My error