Invoking desktop app from Windows store App
Hi,
I have a Windows form desktop application developed using c#. I want to make use of the live tile feature available in WinRT apps (especially for Windows 10). The data in the live tile is to be fetched using WMI queries (Win32_LogicalDisk).
How do I accomplish this? I don't want to rewrite the entire app. Live tiles should update on the background and on clicking the tile, my desktop app exe needs to be invoked. Is it possible to fetch WMI data and invoke exe from Windows Store apps?
I tried using Brokered Windows Runtime components as given in http://blogs.msdn.com/b/dmx/archive/2014/04/30/how-to-trigger-a-desktop-process-from-windows-store-apps-the-easy-way-using-the-brand-new-visual-studio-templates.aspx . But could not get it to
work as I get a 'TypeLoadException'.
Thanks in advance.
First, we'll assume that you're writing an LOB app, not an app intended for Store distribution, as you are trying to use a brokered component.
The use of a brokered component is the correct thing for you to do in this case, as neither WMI nor Process.Start are available to regular Windows Store apps. It's just a matter of proper creation of the brokered windows component for you to get going.
My buddy Prashant wrote a cheatsheet for Brokered Components. I know it works as I've followed it myself:
http://blogs.msdn.com/b/wsdevsol/archive/2014/04/14/cheat-sheet-for-using-brokered-windows-runtime-components-for-side-loaded-windows-store-apps.aspx
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.
Similar Messages
-
[Forum FAQ] Go to Start Screen/Desktop when closing Windows Store App
After install Windows 8.1 Update 1, you will notice these things set by default even on touchscreen laptops and desktops:
Windows 8.1 now boots directly to the desktop.
Closing Windows Store Apps and go to desktop instead of Start Screen.
Besides option “When I sign in or close all apps on a screen, go to the desktop instead of Start” since Windows 8, another new option in Taskbar Properties “Show Windows Store app on taskbar” is used to control closing app behavior.
Features of "Show Windows Store app on taskbar"
When the setting is checked, all of the Windows Store apps that are currently running will display on taskbar. You can easily switch between Windows Store apps and your desktop and its applications through the taskbar. For mouse users,
you can also access the taskbar within a Windows Store app. Just move the mouse cursor to the button of the screen, the taskbar pops up.
When the setting is unchecked,
Windows Store apps have no minimize button, only Close button
Windows Store apps that are open are not visible on Taskbar
Windows Store apps can still be pinned to the taskbar
How do these two options work for closing app behavior?
Modern app and Taskbar setting
OFF
ON
Boot to desktop setting
OFF
Close goes to Start
Close reveals the app that was previously used, and eventually dead ends at the Desktop
ON
Close goes to desktop
Close reveals the app that was previously used, and eventually dead ends at the Desktop
Know why “When I sign in or close all apps on a screen, go to the desktop instead of Start” does not work when “Show Windows Store app on taskbar” is checked on
As MironV mentioned in the
thread, Windows 8.1 Update is designed to introduce a number of changes for mouse and keyboard users that would help them use and switch between Windows Store apps alongside their familiar desktop applications. A lot of these changes only made sense when
combined together, so they are toggled by one setting, which is “Show Windows Store apps on the taskbar.” This is usually enabled together with the first setting as a complimentary set of improvements for desktop users. When the setting is enabled, Windows
Store apps are intended to feel more like regular maximized applications living on the desktop, though they are full screen only. For example, when you launch apps from Start, they appear on the taskbar until they are closed. You can also minimize them or
switch between them by invoking the taskbar.
Please understand that unchecking the “When I sign in or close all apps on a screen, go to the desktop instead of Start" setting has no effect on close and minimize behavior when the “Show Windows Store apps on the taskbar” setting is checked, since
they are controlling two independent things. If you tend to use only one Windows Store app at a given time, it may seem like we’re not respecting the setting by going to the desktop.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.I don't know if I'm the only one, but on my desktop (using mouse and keyboard only) I like to have my Start screen as my main screen. To ensure this I made sure to uncheck the "When I sign in or close all apps on a screen, go to the desktop" box and
check the "Show Start on the display I'm using when I press the Windows Logo key" box. I also really like having the task bar appear at the bottom even when I'm using a modern app. Based on the settings I've chosen (i.e., boxes I've checked or not checked),
I would expect to be taken back to the start screen and not the desktop whenever I close an app. From what I've read from your response and from others in this thread, in order to accomplish this function (i.e., closing an app and going directly to the
start screen) I need to uncheck the "Show Windows Store apps on the taskbar" setting. By doing this I get the functionality I was looking for when the apps are closed and I get sent to the start screen. However, I am now not able to see the taskbar
when I'm in a modern app or when I'm on the start screen. This seems counterintuitive/confusing as many have mentioned. Not to mention it creates an additional step for users to get back to the Start screen.
All I want to do is (1) use my start screen as my main screen, (2) see the taskbar when running whatever app I'm using (e.g., modern), and (3) go back to my start screen (and not the desktop) when I close an app. It would only make sense that I should
get these results if I leave the "Show Windows Store apps on the taskbar" box checked and the "When I sign in or close all apps on a screen, go to the desktop instead of Start" box unchecked; but unfortunately this is NOT the case. I really hope that
an update fixing this is coming sooner rather than later because this is really annoying. -
Not able to sign in to Company Portal app installed from Windows Store
Not able to sign in to Company Portal app installed from Windows Store .I'm using Workplace joined (Intune + SCCM 2012 R2) Windows 10 Laptop.
Following is the error which I got while trying to sign in with my Intune trail account
Any idea much appreciated :)
--- Exception Details ---
System.Exception: Authentication failed because response data could not be parsed.
Stack Trace:
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<AuthenticateAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.ViewModels.ServiceLoginPageViewModel.<AuthenticateAsync>d__b.MoveNext()
2014-10-30T17:44:27.6437234Z
VERB MethodEnter
Common 1800
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Enter
2014-10-30T17:44:27.6437234Z
INFO Event
None 0
User is not authenticated, monitoring is not capable.
2014-10-30T17:44:27.6437234Z
VERB MethodLeave
Common 1801
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Leave
2014-10-30T17:44:27.6437234Z
VERB MethodEnter
Common 1800
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - DelayPolling() Enter
2014-10-30T17:44:27.6437234Z
INFO Event
None 0
Attempting to delay polling task for '30' seconds.
2014-10-30T17:44:45.9431915Z
INFO Event
Application 611
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 WebAuthenticationBroker AuthenticateAsync to url: https://go.microsoft.com/fwlink/?LinkID=314087&&appru=ms-app://s-1-15-2-2666988183-1750391847-2906264630-3525785777-2857982319-3063633125-1907478113/&api-version=1.1
returned result:Success
2014-10-30T17:44:45.9431915Z
INFO Event
Application 611
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 WebAuthenticationBroker returned result:Success
2014-10-30T17:44:45.9744572Z
INFO Event
Application 208
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Authentication failed because response data could not be parsed.
Exception:
System.ArgumentException: User agent string ("Mozilla/5.0 (Windows NT 6.4; Win64; x64; Trident/7.0; MSAuthHost/1.0; rv:11.0) like Gecko") does not contain match for Windows version regex pattern ("Windows
NT (?<Version>6\.2|6\.3)").
Parameter name: userAgent
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData.GetWindowsVersion(String userAgent)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData..ctor(String responseData)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
Response Data:
wresult=eyJ0eXAiOiJKV1QiLCJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2Etc2hhMjU2I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LocationService%2FServiceAddresses&userAgent=Mozilla%2F5.0+%28Windows+NT+6.4%3B+Win64%3B+x64%3B+Trident%2F7.0%3B+MSAuthHost%2F1.0%3B+rv%3A11.0%29+like+Gecko
2014-10-30T17:44:45.9744572Z
VERB MethodLeave
Common 1801
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService - AuthenticateAsync() Leave
2014-10-30T17:44:45.9744572Z
ERR_ Event
ViewModel 2202
c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 System.Exception: Authentication failed because response data could not be parsed. ---> System.ArgumentException: User agent string ("Mozilla/5.0 (Windows NT 6.4; Win64; x64; Trident/7.0; MSAuthHost/1.0; rv:11.0)
like Gecko") does not contain match for Windows version regex pattern ("Windows NT (?<Version>6\.2|6\.3)").
Parameter name: userAgent
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData.GetWindowsVersion(String userAgent)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.AuthenticationResponseData..ctor(String responseData)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
--- End of inner exception stack trace ---
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<UpdateContextFromAuthenticationResponseAsync>d__c.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.DataAccess.Service.IntuneAuthenticationService.<AuthenticateAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.ViewModels.ServiceLoginPageViewModel.<AuthenticateAsync>d__b.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Management.Services.SelfServicePortal.ViewModels.ServiceLoginPageViewModel.<AuthenticateWithExceptionHandlingAsync>d__6.MoveNext()
==========================================================
2014-10-30T17:44:57.6486693Z VERB
MethodLeave Common
1801 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - DelayPolling() Leave
2014-10-30T17:44:57.6486693Z VERB
MethodEnter Common
1800 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Enter
2014-10-30T17:44:57.6486693Z INFO
Event None
0 'Microsoft.Management.Services.SelfServicePortal.Common.Portable.DataAccess.IApplicationsRepository' is not registered, monitoring is not capable.
2014-10-30T17:44:57.6486693Z VERB
MethodLeave Common
1801 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - CheckMonitoringCapable() Leave
2014-10-30T17:44:57.6486693Z VERB
MethodEnter Common
1800 c199f6f0-1d13-415a-be16-3ec1a41dcda6
3-0-0 Microsoft.Management.Services.SelfServicePortal.ViewModels.Common.ApplicationStatusMonitor - DelayPolling() Enter
2014-10-30T17:44:57.6486693Z INFO
Event None
0 Attempting to delay polling task for '30' seconds.
==========================================================
Anoop C Nair (My Blog www.AnoopCNair.com)
- Twitter @anoopmannur -
FaceBook Forum For SCCMI just noticed the same. Looking at the following error message it seems to do a version check and based on the results of that check I would think that it's not supported yet.
System.ArgumentException: User agent string ("Mozilla/5.0 (Windows NT 6.4; Win64; x64; Trident/7.0; MSAuthHost/1.0; rv:11.0) like Gecko") does not contain match for Windows version regex pattern ("Windows NT (?<Version>6\.2|6\.3)").
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Windows 8.1 Problem with games from windows store.
I've got a problem with games from windows store. The installation is going well without any problems, however when I try to open it it's loading and then it turns off. The same problem happens when I try to use Games for Windows. I've use a sfc scan and
it shows some errors but unfortunately it cannot fix them. Should I share the CBS log or find the solution somewhere else? I hope you help, best regards.Hi,
According to my experience, the problem like store game app open failed probably caused by hardware driver. such as Audio and Graphic driver. So, first of all, please try to reinstall these two driver to fix this problem for test.
In addition, for SFC scan failed problem, it can be caused by many reasons, I would suggest you use another command to fix your system for test.
Dism /Online /Cleanup-Image /ScanHealth
Also you can test SFC command in Windows 8.1 safe mode.
Thirdly, if problem persists, please check Event Viewer, generally speaking, it would record the app open failed events.
Roger Lu
TechNet Community Support -
Invoking Desktop Apps from a Browser
I know it has been asked before, but can you invoke a known app on a desktop from
within a web app? Can you change the security policy to enable the invocation
of a specific desktop app?
This would be an intranet app used to support the user's business needs.
Thanks.
First, we'll assume that you're writing an LOB app, not an app intended for Store distribution, as you are trying to use a brokered component.
The use of a brokered component is the correct thing for you to do in this case, as neither WMI nor Process.Start are available to regular Windows Store apps. It's just a matter of proper creation of the brokered windows component for you to get going.
My buddy Prashant wrote a cheatsheet for Brokered Components. I know it works as I've followed it myself:
http://blogs.msdn.com/b/wsdevsol/archive/2014/04/14/cheat-sheet-for-using-brokered-windows-runtime-components-for-side-loaded-windows-store-apps.aspx
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
Invoking Desktop Apps from Browser
I know it has been asked before, but can you invoke a known app on a desktop from
within a web app? Can you change the security policy to enable the invocation
of a specific desktop app?
Thanks.First, we'll assume that you're writing an LOB app, not an app intended for Store distribution, as you are trying to use a brokered component.
The use of a brokered component is the correct thing for you to do in this case, as neither WMI nor Process.Start are available to regular Windows Store apps. It's just a matter of proper creation of the brokered windows component for you to get going.
My buddy Prashant wrote a cheatsheet for Brokered Components. I know it works as I've followed it myself:
http://blogs.msdn.com/b/wsdevsol/archive/2014/04/14/cheat-sheet-for-using-brokered-windows-runtime-components-for-side-loaded-windows-store-apps.aspx
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces. -
Hi There,
I am deploying a custom windows 8.1 enterprise image via SCCM to Surface Tablets in our corporate environment. We currently are using windows 8 ONLY on surface hardware.
We only have 4 in the wild but all are having the same issue. The camera app tile/shortcut is missing from the all applications menu.
If I try to launch it from the c:\windows\camera folder i receive an error regarding Windows.UI.Xaml.dll as I believe it needs to be called via the modern environment (not desktop).
It dose not appear to be a hardware issue as third party camera apps seem to work.
Also, when i search for the app in windows store it cannot be found. I can find it when i search the store via IE but when I click on the link to open it in the windows store i am only presented with the stores front page.
Any advice would be appreciated as my users are keen to use the camera on their surface pro 3's.
ThanksThis sounds as though the Camera app has become corrupt in your image. I would attempt to reimage one of the devices with a vanilla environment to see if the issue appears, if not, I would
evaluate the difference between the Camera app in the vanilla environment and the production environment. Specifically, you may need to ensure that the correct version of Camera is provisioned in the base image.
Brandon
Windows Outreach Team- IT Pro
Windows for IT Pros on TechNet -
Login to WebApi (MVC + WebApi) with Microsoft Account from Windows Store App
Hi
How can I access a WebApi Controller (ASP.NET MVC+WebApi) that is secured with Microsoft Account from a Windows Store App?
I have no idea how to login. I tried the LiveSDK but this gives me only access to OneDrive, Callender and so on.
Could someone please point me in the right direction.
Thanks
GuenterHi Guenter,
To be clear, you are using Microsoft account as login and at same time you have your own REST service for other functionalities?
Let's say if you login with LiveSDk, you should be able to get some access token, see this for more information:
Signing users in, after that use the token to access your REST service, as I understand REST service is a kind of http request, we can use HTTPClient to request data from the address.
I'm afraid there is no existing sample here but the only thing I found is HTTPClient sample:
https://code.msdn.microsoft.com/windowsapps/HttpClient-sample-55700664, you can use POST to send your token information to the server.
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
App could not be installed from Windows Store, Error code:0x80240031
i have tried many times but same error exits only with this app (Perfect 365), rest all apps are being installed easily and are working.
how can i install this app(Perfect 365) and what does this error code mean.I to am getting this error trying to update from Win 8 x64 Pro Upgrade edition to Win 8.1. Only using Windows defender and Windows Firewall. A couple things to note:
1. My connection to the Internet on this machine is through my phone only, currently have no other means of reaching the Internet, so could this possibly be ISP related? Does the "Windows Store" use some other port rather than 80 or 8080? What ports
does it use? No documentation on this...
2. I ran a system refresh, same exact results. Using "sfc /scannow" finds no errors. I'm close to backing up and FFR-ing at this point.
3. Updates through good old "Windows Update" from control panel install just fine. System (including drivers) are all up-to-date.
4. Other app updates (for "Sports" "Music" and "Video" apps) will not install from the store either. These fail with 0x80072f8 though.
5. Tried "wsreset" and got the same results. I'm admin on the machine and account is tied to my MS Live account.
I'm at a loss here. Ideas? -
Remote desktop connection from windows computer to TC
hi all,
what I have: I have a TC 2TB, bought it three months ago.
what I did: I have set it up at home. Using as base station for all my devices, iphone 4, ipad 2, macbook air and also other laptop. My TC is connected to ADSL modem with an ethernet cable (as expected). with port forwarding option of ADSL modem (in NAT Properties), I managed to forward any connection to TC. I have a static IP by the way.
what I can do: from work or anywhere else other than my home network, I can connect to my static IP (via "Connect to Server" option in any mac device), it pops up a user name and password window, I login with my TC user name and decive password. In an instant my TC disk is mounted on my desktop, and I can reach all my files in it as if it is an external hard disk.
what I cannot do: from a windows computer outside my network, I cannot connect to TC. I try to do this through "Remote Desktop Connection". Is this possible? If so how? Is this a problem related to network connection or TC settings?
aakibarYou cannot remote desktop into a TC..
In fact you cannot remote access a TC from windows.. sorry.. but SMB protocol is blocked on the internet.. there are work arounds but no security.. don't do it.
The only other protocol the TC offers is AFP.. there is no AFP file access software available for windows. You need to use a Mac.
The best alternative is vpn.. replace your current adsl modem router with a vpn one.. eg draytek.. then you can access your home network. Since I presume when you say you have static ip you mean public IP then vpn is easy (well once setup it is).. reliable and secure. -
Can't activate Windows 8.1 from Windows Store Upgrade.
I have updated one of my client's computer to Windows 8.1 by the windows store after first reseting the Windows 8 from the Windows 8 Settings. After the update, the computer didn't activate and was asking for a product key. I have went ahead and opened up 'slui.exe 04' to activate the computer and get redirected to a microsoft agent after typing the IID. The microsoft agent said the computer needed to be activated by the manufactur. I then called the manufactur for assistance on this activation problem, and I get told I will need to pay for additional things like Virus Protection, and 24/7 tech support.. I'm trying to finish this computer up for a client, have it wiped and cleaned. I'm the technician helping her backup her data, clean, and wipe the computer. I need to pay at least $99? Thats just like asking to pay for a licence. A Windows 8.1 student licence is $69.. I shouldn't have to pay extra, and suffer without any money in offer back. I even told the tech support person on the phone that all I needed was the product key that was available with my computer, not extra tech support that already has what I know what to do if it occurs. I already know what anti virus programs to use and how to help my clients use them, I don't need assistance on fixing my or my clients blue screens or othe issues. I said to my client that my services are cheap all the way down to less than $30 and will be solved in less than two days. This computer is the only computer that wouldn't take it's embedded BIOS activation key, and automatically activate. I was asked to pay over $100, and I won't. I just need my client's computer to be activated to who ever (s)he is going to give it to.
If you upgraded using the MS store, then it is Microsofts responsibilty, they should have given you a new Product key for 8.1.
-
Error Code Ox8oo72ee4 - When I try to down load programs from Windows Store.
When I try to download any programs from the Windows Store, they will not open. The error code is 0x80072ee4.
I have tried several solutions short of re-installing Windows altogether. What should I do to remedy this problem? Thank you.
PS, I am running Windows 8.1Go to the Start Screen or the Windows Modern UI screen
Type in WSReset.exe
Click on Run as administrator
Once done now recheck the issue.
See also:
http://blogs.technet.com/b/joscon/archive/2012/09/26/fixing-component-store-corruption-in-windows-8-and-windows-server-2012.aspx
S.Sengupta, Windows Entertainment and Connected Home MVP -
What's the best go forward framework (Web Authentication Broker, WPF, other) to use when authenticating against an Open Connect 1.0 authentication server (that's OpenID + oAuth v2.0)? My developer says that Web Authentication Broker is not supported
in Windows Desktop 8.1 (so if you can confirm this that would be great also).
We've created a universal app to support Windows Destkop, Tablet, Phone (8.1 and up) and plan to add support for iOS and Android via Xamarin later.
Your feedback is appreciated.
Jacob Hall [email protected]Hi Jacob,
This is not the correct forum for your question, I'll move it to [where is this forum for...] forum, where the moderator may direct you to the correct forum.
Thanks for your understanding.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
please give me an explaination on my title
Please repost in the proper Windows Community forum here...
http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store
Noel Paton | Nil Carborundum Illegitemi
CrashFixPC |
The Three-toed Sloth
No - I do not work for Microsoft, or any of its contractors. -
Java remote desktop protocol from Windows server -no valid license available(0x102)
This works from my iMac but not from my MacBook Pro.
Our work offers a Java RDP. First I have to log on to the server which I can do. Then I could use a Citrix client function, if I wanted to figure out how, but the alternate Java interface used to work on both computers, but now only on one.
Various websites have directed me to where the license is, saying to delete it, e.g. HD -> Users -> Shared -> etc. It isn't there or anywhere else that I can find (Library, Applications, Preferences, Application Support, both at the HD and User levels ... I have looked around).
Some of the things I see on my screen are these:
Terminal Services (RDP - Java) - one would click here to activate the password-protected software I need to run
Terminal Services Java Client Error
Connection Terminated
No valid license available(0x102)
The terminal server disconnected before licence negotiation completed.
Possible cause: terminal server could not issue a licence.
IT at work doesn't seem to know what to do. They have directed me to instructions about deleting a listing in the Windows Registry - clearly not directly applicable on a Mac.
Anything obvious I could do about this?
Thank you.
Charles
P.S. I can circumvent this with an SSH tunnel from my MacBook Pro to my iMac - but it slows things down and I think shouldn't be necessary.Thanks, Linc. I previously looked at the CoRD page and felt intimidated and then forgot about it. I've downloaded and run it now and my feelings were justified.
I put in the settings I know, which are something like:
https://xxx.xx.x.xxx/cgi-bin/welcome/{users_name}
and it simply fails at that point.
It works from IE or Opera (within Fusion, Vista), but not from Safari, and I haven't tried it with Firefox for Mac etc. because of complicated reasons ...
So CoRD says:
Couldn't connect to {name_I_used}
The host name could not be resolved.
So honestly, I've looked through the help files, read about "Connection Preferences" and looked at the "Connection Inspector" and it's all "computereze". It says I may use my user name and password or not - neither way works. When I go through IE (or Opera, from Vista), then there is a domain specified in a 3rd field, and it does't matter if I type that word in the Connection Inspector "Domain" field or not.
I had an idea it would be complicated.
Anyway, in the meantime, I'm managing through Fusion -> Windows_Vista. Actually, it's malfunctioning this morning as well, so this is just normal computer networking! Today, Java through IE wants to install MLWebCacheCleaner.cab... then I have to say "continue" to various security alerts 3 times ... and it's still not working, even after updating Java, rebooting Vista - so it might not be COrd at all. Will have to come back to it some other day ...
Thanks again.
Charles
Maybe you are looking for
-
How to set focus on a input field in a selected row of a table?
In a previous discussion (http://scn.sap.com/thread/3564789) I asked how to access an input (sap.m.Input) field of a selected row in a table. In the answer that was supplied I was shown how to get the items of the table. Then using the selected index
-
Hi All, i need some help regarding my scenario with JDBC to Mail adapter.I have to read a table and <b>then sent the values in it to a email.i have finished design and configuring ,but still i am getting this mapping error. <b>"com.sap.aii.utilxi.mi
-
JavaFX - Image preloading problem
Hi, I try to use ImageView and face some problems with image preloading. Here is the code related to the component that has problems. The component extends CustomNode. in class attributes declaration: var imgNodes: ImageView[]; // list of url of imag
-
Connecting powermac g4 to a wrt54g
Does anyone have information about the compatibilty of a mac and the wrt54-g router, i am trying to connect via one of the four ports on the rear, and it won't autodetect? tried running the setup ce but it can;t find the application that opens it. am
-
My Imac function keys seem to be inop. How do I activate?
My IMac w/ OS 10.5.8 has inop function keys. I've just added a wireless keyboard and mouse?