MongoDB compass not initializing - database

I am trying to install MongoDB compass, however, my screen is getting stuck at initializing screen. Please help me as I really need help here. Here are the entire details: -
OS - Windows 8.1 64bit
Powershell version - 4.0 (I also tried to change the execution policy remote assigned. but that also didn't help)
MongoDB server version - 4.2.0 stable (tried MSI version)
MongoDB compass version - tried both (1.23beta version and 1.22 stable version)
I have also tried to install and uninstall multiple times.
Could anyone please help me? Any help will be highly appreciated.
Thanks in advance.

Have you tried adding this path C:\Windows\System32\wbem to your user Path variable?
I also had the same problem on Windows 10 and this has resolved my issue.
I found the fix there: https://dev.to/debugagrawal/fix-mongo-db-compass-initializing-screen-error-131e
Step by step instruction for less experienced Windows users:
Kill all running Compass instances using Task Manager (i.e. Ctrl + Shift + Esc, then find running instances, if any, and kill them with right click and End task)
Right click on This PC and then Properties
You should be in Control Panel\All Control Panel Items\System
Click Advanced system settings link on left pane
On System Properties window go to Advanced tab
Click on Environmental Variables button closer to bottom of the page
Select Path in top list window (User variables)
Click Edit button located below that list window
Click New button to create new entry on the list
Paste C:\Windows\System32\wbem and click OK.
Another OK on Environmental Variables window
And another OK in System Properties window
Now you can try to run MongoDB Compass application again.

Hey thanks for the blog mention 😄, hope it worked. I faced the same issue while use MongoGUI so I figured out the way to fix it with help of environment variables.
To know more about environment variables you can read this blog, I referred to this to get more clarity on such kind of issues
https://www.digitalcitizen.life/simple-questions-what-are-environment-variables/

Related

pgAdmin 4 v3.0 Query Tool Initialize Error

I recently got a new laptop and downloaded pgAdmin 4 v3.0. Before now, I had been running pgAdmin 4 v2.0 with no issues. However, now whenever I try to open the Query Tool (just by going through the drop down Tools menu), I receive the error message "Query Tool Initialize Error". The Query Tool worked for two or three queries after the initial error message, but has been returning the error message whenever selected in the days since then. I am able to create and edit tables and views, but only by right clicking the icons on the left-hand side of the screen. I tried uninstalling and reinstalling pgAdmin to no effect.
Has anyone encountered this issue before?
Query Tool Initialize Error
In Ubuntu 16.04 I updated my pgAdmin 4 version 2.1 to 3.0 and saw the same thing when attempting to open the Query Tool through the drop down menus. While this is not a fix, instead of browsing to http://12.70.0.1:5050 I changed the URL to http://localhost:5050. Then I was able to use the Query Tool via the drop down menus.
Edit: What I did was edit the
pgAdmin4/lib/python3.5/site-packages/pgadmin4/config.py file by
updating the line:
DEFAULT_SERVER = '127.0.0.1'
to
DEFAULT_SERVER = 'localhost'
Now when I open pgAdmin, the Query Tool works accordingly.
Try resetting your layout, under the File entry in the top menu. I suspect that there's something in the layout settings saved under v2.0 that's incompatible with the v3.0 release.

Autocomplete stopped working on SSMS 2016

Autocomplete stopped working some while ago for me. Intellisense seems to be otherwise working.
I tried everything mentioned here:
Tools >> Options >> Text Editor >> Transact-SQL >> IntelliSense, and
Enable IntelliSense is selected
Refreshed IntelliSense local cache: both Edit >> IntelliSense >> Refresh Local Cache or the CTRL+Shift+R keyboard shortcut to refresh
Enabled statement completion: please go to Tools >> Options >> Text Editor >> Transact-SQL >> General, and checked on Auto list members and Parameter information boxes
Rebooted SQL Server Management Studio several times
Checked that shortcut "CTRL+Space" is enabled for "Edit.CompleteWord" in Text Editor in Tools >> Options >> Environment >> Keyboard
I have problem only with option:
For each opening query window, please go to Query >> Intellisense Enabled
which is greyed out all the time:
I do not know, whether it is connected to my issue, but it might be.
So, how do I enable Autocomplete again?
it worked for me after pressing Alt+(Right Arrow)
I would recommend to forget about this issue and install 17.1 instead https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms. It is stable, free, looks beautiful and has more nice features than 2016.
Had the same problem: I did all the above mentioned. Solved it finally by disabling the SQLCMD Mode (which was activated)!
IntelliSense stopped working for me, due to offline databases. After bringing them online again, IntelliSense worked again.
My issue was solved by: Edit -> Intellisense -> Refresh Local Cache
I tried all the suggested solutions but nothing worked then I realized it didn't effect the query windows that was currently open.
Simply opening a new query window solved it.
SSMS version 18.12.1
I found that Intellisense was failing on an existing large SQL query window with many lines of different queries contained within.
I took the suggestion from Rikard Askelöf of opening up a NEW query window, and Intellisense started working to auto complete the table names after I put a DOT after the schema name in a new query line.
I finally found the problem was caused by this:
My large original query window had some "errors" in it from me pasting row data, and not commenting it out. I'm guessing Intellisense was getting so confused it just gave up.
Once I went through my query window and commented out all of the lines that had RED error's indicated by the scrollbar on the right, Intellisense works once again.
Invalid Linked Server Credentials
There is one additional case that I have seen. Took quite a bit of trouble to diagnose!
If the Server has a linked server and the credentials are no longer valid.
Autocompletion on objects freezes the cursor for a few seconds, then control comes back with no objects listed.
My issue was solved by: Edit -> Intellisense -> Toggle Completion Mode

how to make mavensmate sync a flow from salesforce platform to sublime

I created a flow from the process builder , and I want to sync it locally.
When I looked at the project from mavensmate , I couldn't find the file which is named .flow
This is my first question in stackoverflow , I'm sorry about my poor english , hope you can understand what I described . who could give me some suggestions?
Thanks!
First, you need to update your local SF project metadata. For that, in SublimeText, go to MavensMate menu -> Project -> Edit Project. It should open the project metadata tab in your browser. Click the "Refresh" button and then choose the flow that you need in your project tree. Click "Update project". After that you should be able to find the flow in your project folder.
Go into Mavensmate's settings.
Add ".flow" to the list of extensions under "SALESFORCE FILE EXTENSIONS (MM_APEX_FILE_EXTENSIONS)" if it isn't there already.
You might want to update "SALESFORCE API VERSION (MM_API_VERSION)" to the latest as well.
If your still having problems with that, you might want to check the Flow names including the version numbers. In my case, Mavensmate shows Versions 1, 2, 3, and has no number after the current (active) version. The file on my hard drive is labelled as version 4, so the names don't match up.
To fix this, you'll want to deactivate the processes and update your project.

Datazen - Live data won't display

To the best of my knowledge, I'm correctly importing my MS-SQL data source in the Control Panel (It says successful in green). I'm also pretty sure I'm importing the data correctly into the Windows 7 Publisher app since I can view the data in the DataView:
but when I go to the Layout View or Run Preview, I just get a blank chart:
It works if I use the default SimulatedTable but once I change the data source to my MS-SQL table, I can't get anything to display, no matter what display element I'm trying to use.
I've tried re-importing the data, using a different MS-SQL table, and re-naming the columns to match the SimulatedTable but it doesn't change the result. Can anyone tell me what I'm doing wrong?
Please try one thing, I am just guessing it might work.
Please select one of the Time Preset buttons and see if you see data in that(where there is blank) chart object.
If yes, then while setting up the time navigator object, select an option in drop down box labeled "Default Time Range Preset"
There are some hacks, please do let me know if run into some weirdness. It might not make sense if i try to explain unless you run into that situation.
Cheers,
I ended up giving up on the Windows 7 version of the application and running a virtual instance of Windows 8.1 instead so I could install the Datazen Publisher app for Windows 8.1. It's FAR less buggy.
Not perfect, though.

Cannot publish because a project failed to build and Could not find file 'obj\x86\Debug\MyApplication.exe' Errors

I am striving to get the source of my issue but no luck. I did check almost all suggestions to fix this problem when publishing project (publishing using right-click, checked DevExpress is not installed).
-Regarding DevExpress the application have some of it's assemblies.
- Cannot publish because a project failed
- Could not find file 'obj\x86\Debug\MyApplication.exe'
I did send publishing diagnostic to the Output and get this :
Task "GenerateApplicationManifest" (TaskId:158)
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2580,9): error MSB3113: Could not find file 'obj\x86\Debug\MyApplication.exe'.
Done executing task "GenerateApplicationManifest" -- FAILED. (TaskId:158)
Done building target "GenerateApplicationManifest" in project "MyApplication.csproj" -- FAILED.: (TargetId:194)
Can someone list all things I have to check to get this issue fixed ?
I just ran into the problem today. In my particular case, it was caused by this Microsoft Windows Update.
I uninstalled that update and publish began working as it always had. This is only a temporary work around and means you should probably regenerate your keys/certificates.
Right click on you Project
Click Publish
Go to Settings Tab
Click File Publish Options
Check All the options in the tab (As seen in attached image)

Resources