I created a regular sandbox in mks and until now I was able to add, drop and do all related operation in mks. Suddenly I have started facing some problem in mks while performing operation in regular sandbox and receive the following error:
MKS125169: The specified operation cannot be performed from a build project or build sandbox.
Note: I originally created the sandbox as a regular sandbox but suddenly it had turned into build sandbox.
Can anyone explain me the reason?
How to change the sandbox back to a regular sandbox?
The reason you are experiencing this error is that at some point, you have re-targeted the sandbox to make it a build sandbox.
To change the sandbox to a non-build sandbox:
Select the sandbox
From the menu, select Sandbox -> Retarget... (If you didn't do this, you might have to customize your ViewSet to do see this option)
In the Retarget Sandbox, choose Normal (mainline) or Variant (with the correct variant selected), and hit OK
If you had a view of the sandbox open, you will have to re-open it
Related
Do anyone have the similar problem to control Android apps (from google codelab - fitness app) with their voice, using Google Assistant?
In my app, I tried to activate widget using google assistant (app action tool test), but google assistant doesn't give any respond. Therefore, I used the example code google gave to run, but it still has similar problem that widget isn't invoked when I use app action tool test to test the app.
Sample code google provided:
https://github.com/actions-on-google/appactions-fitness-kotlin.git
the shortcut looks like below and how :
enter image description here
Update:
After updating the new running record, the app won't respond when I want to trigger widget after the first time I can do it successfully. Do anyone have similar question or know how to solve it?
App updates running record
The widget cannot update/display the new running record
widget cannot be trigger to get new running record
I'm assuming you're talking about the codelab titled Integrate Android Widgets with Google Assistant.
I've been able to get this codelab to work - mostly.
When testing using the App Actions test tool:
Make sure you have uploaded the app to a project in the Google Play Console. You'll only need to do this once, even if you change your code.
Make sure the account you're using for Android Studio, Play Console, and Google Assistant on your device are all the same.
Make sure you've compiled the app and deployed it to your device. The easiest way to do this just to run it from Android Studio the first time.
When you create the preview, set the name and Locale.
Even tho these are listed as "optional", these make it easier to debug.
The App name should be something you know will be recognized by voice and not used by any other app. I tend to use things like "Splat" and "Bogus".
Set the locale to en-US
Click "Create Preview"
Once the preview is created, you can test the widget running by
Setting the Intent to GET_EXERCISE_OBSERVATION
Changing the value in the "name" property to something like "run". ("Climbing" will also work, but tell you that you don't have that activity logged.)
Making sure the target device is the one you're testing on.
Clicking Run App Action
And you should see the widget appear in the Assistant on the device.
You don't need to use the test tool, however. Once you have created the preview with the Test Tool, you can just test it right on the device:
Start the Assistant by long-pressing on the home button.
Saying or typing a request such as "How far have I run with Bogus" ("Bogus" being the name I've chosen this time
If you have issues with the emulator, there are some other troubleshooting steps which may be useful depending on the error message you get.
Now, I did say "mostly". I have seen issues where it will stop responding at all, either via the Test Tool or directly via the Assistant. A few things that I've done that often (but not always) help:
Delete and then create the preview again.
Remember that the Preview is only available for a few hours.
Force stop the application.
Force stop the Google Assistant.
Even if you don't see a message, check out the Troubleshooting steps for "Sorry, I couldn't find that"
I'm working on making a conversation flow for smart speakers.
with google action builder console. And I'm using google cloud function for webhooks.
However, from this morning I cannot change, simulate or release my google action project.
Cannot save any changes in 'develop' menu on the google action console
(error message : "An error occurred saving the scene")
-> screenshot img showing error in develop
I cannot test any version in 'simulator' menu on the google action console
(error message : "We're sorry, but somethin went wrong. Please try again")
->screenshot showing error for save any changes in develop menu
I can't release alpha or beta version in 'Deploy' menu on the google action console
(error message : "Error submitting Assistant app")
-> screenshot showing error in release
No logs are found in google cloud function related to these problems.
And actually I didn't change anything since the recent release. How can I deal with this one?
UPDATE: another solution is to press ctrl+F5 or clear browser data & cache. This works pretty well specially if you have multiple tabs opened.
It is happening to more people. Maybe this can help:
See this link or this one.
Google console doesn't offer much information about those errors. Only for the model ones. When that happens, and if your model is too big, I suggest to reduce it a little bit (or try with a well-known version that is working) and try deploying/running the simulator again. That way you can find out if it's your fault or Google is updating their system.
It is working again for me, after few hours throwing errors.
I have the following problem: I have a Laptop with two different user accounts (UserA & UserB / they belong to the same person but have different priveleges).
UserA: can build the solution and run tests locally (Everything is working as expected)
UserB: Has the rights to publish to the specific network drive, however he cannot build the project. The reason is that the Windows user itself has not the correct proxy settings configured, and thats why the nuget packages cannot be downloaded.
I have no possibility to change the proxy settings for UserB right now (It depends on internal processes, which might take a while)
However I would have expected, that when I build the solution with UserA, UserB would not need to build it again and just can publish it. This, does not work, as soon as I want to publish, VS tries to rebuild the solution and this does not work because some dependencies are missing and cannot be loaded.
Is there any solution for this problem? I tried to make a research, however I was not really sure for the correct keywords to search for.
Edit: I have now the domain added to my UserB, but I still have some other problems. However I found out that this article is heavily related to my issue: Unable to launch Visual Studio 2015 as a different user.
When I start Visual Studio via Command Line with the mentioned arguments, more works, however I am now not able any longer to connect to my database using Integrated Security = true in the connection string. But at least I can build now. Deploying also works but I just get a 500 Server error when I try to connect to the resource.
Edit2: I needed to add the domain to my user when opening Visual Studio with the command mentioned in the link above. This fixed my problem with connecting to the database.
Actually I do not need an answer anymore for my initial question but I will not delete it because maybe someone has an answer for a person who will have the same question later on.
I have a Visual Studio setup with a custom action written in C++. I need to launch a process from a custom action but both Install and Commit actions are run elevated and thus my process runs elevated too. I want the new process to run as a regular user.
I have seen Start exe after msi install but using current user privileges but it seems overly complicated and shows no code. I haven't got the time to experiment with an unknown API.
Are there any easy ways? Can I use VS Setup to define a non-elevated custom action or do something from the elevated custom action?
If you just want to test your code, it wouldn't be hard to update your built msi file with Orca. It'll let you add the dll with your code to the binary table, add a corresponding row to the customaction table, and add the action to a sequence.
If you need this to happen as part of your build process, you could accomplish the same thing with vbscript. The SDK comes with good sample vbscript code for interacting with an msi database, as described here:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372865%28v=vs.85%29.aspx
Visual Studio setup projects do not support immediate custom actions. They are all deferred by default.
So either you use custom code to impersonate the current user or you switch to another setup authoring tool which supports immediate actions.
i try to install my WebService on Windows-XP,
and i got this error:
The installation of
C:\MyWS\MyWS_Setup.msi
is not permitted due to an error in software restriction policy processing.
The object cannot be trusted
what can be the problem ?
thanks in advance
Run regedit and verify that there are no policy restrictions disabling installer under this key:
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer]
If there are, just right click on them and delete them. A reboot may be necessary.
The restriction name would be "DisableMsi"
Also, as a test, if you are logging in as Administrator in Safe Mode -- could you try creating a new User Account and giving it Administrative rights and test these issues under the new account in normal mode?
One more thing, just to make sure the account you are having problems with in "normal" mode really has administrative rights, would you right click on the Start tab and see if "open" and "explore" "All Users" is present?