Im performing a print functionality from Silverlight 5 inside a web project. the document to be printed is created dynamically in the silverlight project. the problem is in IE 11 browser i get the following error Out-of-browser specific settings do not affect in-browser applications.
the Out of browser settings were set correctly. as below.
<OutOfBrowserSettings ShortName="EmployeeSchedule Application" EnableGPUAcceleration="False" ShowInstallMenuItem="True">
<OutOfBrowserSettings.Blurb>EmployeeSchedule Application on your desktop; at home, at work or on the go.</OutOfBrowserSettings.Blurb>
<OutOfBrowserSettings.WindowSettings>
<WindowSettings Title="EmployeeSchedule Application" />
</OutOfBrowserSettings.WindowSettings>
<OutOfBrowserSettings.SecuritySettings>
<SecuritySettings ElevatedPermissions="NotRequired" />
</OutOfBrowserSettings.SecuritySettings>
<OutOfBrowserSettings.Icons />
</OutOfBrowserSettings>
any idea where the error could be ? any refrence would be appreciated.
Related
I have created an asp.net core mvc web application in visual studio 2019 professional edition. After a successful build when I run the application, I am getting a blank screen in the browser. It is not showing the contents of the index page.
I checked the iis by typing inetmgr in the command window. It is opening up the iis Window. I also cross-checked in the browser window by typing http://localhost/. I am able to get the welcome page in IIS.
I don't know what's the issue here. Any valuable help is appreciated.
Please find the screenshot below.
When I faced a similar issue, it was due to the Web.config file, when the run httpRuntime was set to an incorrect target framework. Maybe remove the targetFramework parameter and see if the auto resolver resolves it.
I have a requirement to host a WCF service to receive responses from a service. As UWP app doesn’t have wcf hosting capabilities, I chose this system tray component where I will host my service so that I get responses and communicate to UWP app via app service and show toasts.
But the systray component terminates immediately after the launch. To be clear on my systray integration with uwp I already tested it and is working and then extended it with WCF hosting.
Later I tried adding debugs showing message box on exceptions and found out that WCF service open call throwing below exception.
"System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http::1234"
Later understood that the sys tray app requires admin rights to register the URL that is hosted as part of the service and as UWP app launches sys tray via full trust API and it doesn't do through admin elevation.
So to solve this I got 2 approaches and tried as mentioned below:
1)
So I tried adding URL reg manually using netsh and same program works. Just to tweak I tried running the "same netsh command in sys tray app itself with admin priv" and only launched the tray app and i could see no exception and could see my service hosted, checked in browser.
Now I'm stuck with providing admin privileges while launching the sys tray app via UWP app.
But if tray app is launched by UWP, even though I included the netsh command it still shows the same exception. (Might be parent process (as run as admin is N/A UWP apps) is not having admin rights so even my netsh cmd in sys tray app is not working??? )
OR is there any way to provide arguments or any other API to run the tray app with admin via full trust api's from UWP app???
2)
Tried adding app manifest file to the tray app and modified as below
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
But this also shows a error box saying this requires elevation and exited.
Kindly Help.
Requesting elevated privileges is currently not supported for desktop-bridge processes. So what you are seeing here is currently expected. The good news is that we are adding a new capability in RS5 (Fall 2018 update) called 'allowElevation', which will enable scenarios that require elevation.
You should be able to start testing the new capability with the latest Windows Insider Preview build and the corresponding SDK.
UPDATE 10/1/2018: I have posted a sample for this new capability
https://stefanwick.com/2018/10/01/app-elevation-samples-part-1/
I have a small vb6 application where I show PDF files in a web browser control. So I navigate to a required file using “WebBrowser1.Navigate”. It works well and the pc should have adobe reader installed.
But I have observed some strange behavior in windows 8 pcs (checked in about 4 PC).
If the application has asInvoker level manifest then pdf appear proper as expected.
If the application has requireAdministrator
level manifest then pdf does not appear and blank page appears.(so pdf is not rendered).Same problem comes for highestAvailable level if user is administrator.
I have observed loading webpage does not have this kind of problems.
So why the strange behaviour is shown if a application run as Administrator.
You can download the file from this link and check the said error.(EXE are already created with different manifest levels). Or adding web browser control to a form and just add WebBrowser1.Navigate("path to pdf") .Even no need to add manifest .running by using right click run as administrator gives error.
Just followed the tutorial in the following link and created a worklight weather app but while previewing it on Mobile browser simulator it loads index.html. But created views from data objects using Workligt Application Framework editor.
https://www.ibm.com/developerworks/community/blogs/WASFAQs/entry/building_a_worklight_mobile_application_without_code_in_worklight_v6_1?lang=en
Can anyone please help me, how to set initial view view.html file.
Thanks for your help in advance.
The Mobile Browser Simulator, as the application running on a real device always loads the index.html file. The Worklight Application Framework runtime code dynamically loads the views defined in the view.html file.
To select the initial view to be shown by the Worklight Application Framework runtime:
1) Open the application's common/application.json file using the Worklight Application
Framework editor
2) Go to the Views tab
3) Right click on the view you want shown initially and click on "Set as initial view".
The selected initial view when working in the editor will have it's title bar's background color set to black. Save the application.json file and refresh the application in the Mobile Browser Simulator (if it's still open) by clicking the "Go" button.
Resolved, as of now worklight application framework editor works only with Dojo mobile toolkit.
I need to add a web reference in Visual Studio 2012 (because service reference generates a blank reference CS and I have given up after hours of googling).
When I go to add the web reference (add service reference → advanced → add web reference) and enter the WSDL URL I get the IE Notification Bar in the dialog with the message:
To help protect your security, your web browser has blocked this site from downloading files to your computer. The option to "Download file" does not work.
I've changed IE security settings to minimum and added the domain to the list of trusted sites but did not have any effect. I also uninstalled IE10 completely and still get the notification bar. I am using Windows 8.
Anyone shed any light on this or had any success adding a web reference in VS 2012?
If you can download the WSDL with your browser, download it and save it to a file. You can then reference it from Visual Studio by pointing it to that file. Or you can use svcutil.exe or wsdl.exe to generate a proxy from the commandline.