MongoDB error as setup Wizard ended prematurely, while installing it on windows 10 - node.js

I have downloaded MongoDB from the official site as an .msi file and during installation it stops and freezes and after half an hour, and gives an error as the setup wizard ended prematurely.
I have a fresh installation of Windows 10 Pro (64-bit) installed just today, and there are no other applications which should be interfering with MongoDB.
I have NodeJS (v8.10.0), npm(5.6.0) installed properly
Windows firewall is turned off and there is no antivirus running.
Is this problem of any missing drivers or any change in BIOS settings?

For me unchecking Install Compass helped ...

I disabled installing the router (mongos) and bundeled software client (MongoDB Compass) and installer ran fine after that. Hope this helps.

I had this problem too and solve it in this way:
Remove the older version of MongoDB if you have installed it before.
Disable your antivirus if you have any of them
Go to C:>users>"UserName">AppData>Local>Temp
Right Click on Temp and go to Properties
Select Security Tab
Select the User and check the permission and controll give the user full control by Checking Full Control on permission
Go Ahead and Install MongoDB.
Note that if you want to install MongoDB compass too, you should have internet connection.
I hope this will work for you.

Related

Imagemagick IIS install issue VBScript error "800a01ad"

I have Imagemagick running on a remote server and have had it running on a local server successfully for many years, but recently I have had need to reinstall on a new machine and can't for the life of me figure out what i'm doing wrong, It's probably really simple and I'm hoping someone can point me in the right direction.
Scenario
WIN 10 running iis as localhost
Successfully installed Imagemagick 32 and 64 bit so they run on the local machine, however when try to access the localhost web page requiring Imagemagic I'm receiving the following message
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'ImageMagickObject.MagickImage.1'
my app pool is current set to allow 32bt application and as far as I am aware all permissions are correct, although I do believe this may be the issue somewhere.
Can anyone help to shed some light on this issue.
Thanks :-)
Resolved.. It turns out the latest version of Imagemagick 7.1.x does not ship with ImagemagickObject.dll, fortunately, I had a saved download .exe for an earlier version 7.0.8 which still had the .dll, once install I could copy imageMagickObject.dll to the system32 folder, after that everything worked as expected. Not sure what would replace this in my code if I have to ever user a newer version, if someone knows please add to the post.

Installing MongoDB compass this may take a few minutes

It has been half an hour and it is still stuck at the same progress. My machine is Windows 7 and I have downloaded the Community Server 2008 R2 64-bit and later. Sreenshot
Does anyone know why? Do I really need Compass if I were to use it with Node.js?
I'm new to MongoDB and node.js
Please help. Thanks in advance
As for January 2021, I've faced this issue with version 4.4.3. Press cancel on the installation won't help, and need to close the PowerShell process.
Then, Re-install without the compass, and after successful installation, install manually only the compass itself.
Compass is a GUI client which can be used to manages collections, documents etc.
To do development in Node.JS (or any other programming language) you do not need Compass as it is a GUI tool which is a mongo client.
You can use mongo CLI client(Recommended). If you really need GUI tool, you can try Robo 3T.
Only MongoDB server + any client is needed for most web development. Any client can be used to configure it, like CLI or Robo 3T or compass.
Although, you even don't need local installation of mongoDB server. You can use a cloud database like MongoDB Atlas. It has all tools inbuilt as is very powerful. However I would still recommend doing a local installation of mongo server to avoid dependency of network while testing your app.
Please refer to the following link.
https://checkinnuggets.wordpress.com/2018/01/14/installation-update-of-mongodb-3-6-2-on-windows-hangs/
Instead of choosing Complete Installation, choose "Custom" instead, then at the last step, uncheck 'Install MongoDB Compass'. This will complete the installation.
Downloading/installing version 4.0.14 worked for me.

Atom installation error on Windows 10

I was getting this error when trying to install Atom using the installer.
I tried to run as Administrator but ever having the same error.
So I opened the Setup Log and found this line in many places of the log:
Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\david\AppData\Local\slack\packages\RELEASES'.
To resolve this problem, I simply tried to change the AppData folder properties, unchecking the Attribute "Read-Only" and applying to subfolders.
After that, I could install the application and everything is working well.
I don't know whether what I did was the best solution, but it fixed my problem :)
Hope this help someone
If you have anti-virus installed on your system. Please disable it and try it once. Hope this will work for you because this worked for me like a charm.
One more thing you can check that your windows update service is also running. You check it out in Task Manager ->
So do this thing and check it out.
This is a permission related issue. Could be you don't have permission to write, in that case run as Administrator.
Right Click on the installer and select Run As Administrator.
If you still have the issue, disable your antivirus, defender or whatever you have to protect your PC from threats. Once Installed Enable it BACK
if you have Dropbox opened, close it.
You can try this:
open control panel
Windows firewall
click allow an app or feature through windows firewall
In that at right bottom click allow another app
Browse the downloaded atom.exe file and click open and click ok
first uninstall or disable the antivirus. In my case Guardian net secure was handling all the things of windows firewall. so i was not able to allow the app through windows firewall. therefore, it is necessary to uninstall these. then restart your laptop.
after restarting open control panel. go to windows firewall. on left top you will see
allow an app or feature through windows firewall . click on it. dialog box appears. click on change settings. at bottom click allow another app. then browse the downloaded file atom.exe. then install it
What worked for me was closing Slack and terminating any of it's processes in Task Manager.
This was what worked for me (Windows 11):
Go to properties>compatability on the installation file. Run the troubleshooter for compatibility, and it shoul provide a solution, wait, and if it works, select that it did so, and you’re all done.
To resolve this problem, I simply tried to change the AppData folder properties, unchecking the Attribute "Read-Only" and applying to subfolders.
After that, I could install the application and everything is working well.
This worked for me on Windows 11 home version.
Hope this helps
I managed to install by finding an older version.

Failed to create imageSource from the text '..\Images\Medium.png

I recently migrated windows 8.1. But unable to open vs2013/vs2012 new Project template.
IT was working fine in windows 8.
ERROR: Failed to create imageSource from the text '..\Images\Medium.png'
Tried all options but did not succeed.
Please HELP
This is because you migrated from windows 8 to windows 8.1
First Go to Control Panel --> Check Updates for Windows 8.1
Install All Important Updates
Restart Your Pc
All things will properly work..
I tried almost every solution I found.
I would like to share, what I have tried and did not work and what did work and solved the problem.
Here are the "solutions" which did not work for me but claimed that they worked for some people.
1) Removing FastPictureViewer Codec Pack (which was already not installed)
2) Having a modify permission to everyone for
c:\windows\microsoft.net\framework\v2.0.50727\config\machine.config
and
c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config
3) Using Procmon to see broken registries
4) Uninstalling/reinstalling VS13 and all shared packages
5) Renaming the machine.config.default to machine.config
6) Running Visual Studio as an administrator
And this what it solved it:
Simply installed all the updates for windows 8.1 (not only the important ones, also optional updates as well) and restart. It sounds crazy after spending hours and hours but that solved my problem.
Good luck!
I tried all the steps mentioned above and it did not work. Even I was not able to uninstall VS.
I reapaired .NET framework through Contrl Panel->Programs and Features-> Microsoft .Net Framework-> right click Chane/Uninstall Repair .Net Framework.
This solved the problem.
I got same error after Oracle Data Provider for VS 2013 installation. I installed all Windows 8.1 Important Updates but it didn't work. I read somewhere that it can be happened because of lastly installed VS Add-On etc. then uninstalled Oracle Data Provider for VS 2013 and problem solved.
I am using Visual Studio 2012. This problem occurred to me after I upgraded from Windows 8 to Windows 8.1, so it is definitely related to the OS upgrade.
As some answers say, installing updates for Windows 8.1 will resolve the issue. But you don't need to install everything. I installed only the .NET related updates. Specifically, I installed "Microsoft .NET Framework 4.5.2 for Windows 8.1" (KB2934520), and a few others "Security and Quality Rollup" updates as well.
After a reboot, the "Loading Components" dialog shows up briefly upon launching Visual Studio, indicating that the cache of some components are invalidated and they are compiled again. After that, the "Add Reference" dialog works again.

Windows 8.1 / Windows 10 breaks my ASP.NET / IIS : "Service unavailable"

With Windows 8.1 finally released to MSDN/Technet today I came across the following issue running my ASP.NET application after doing an in place upgrade with Win 8.1 RTM:
Service Unavailable
HTTP Error 503. The service is unavailable.
The AppPool has died and shows a status of Stopped
The IIS log has nothing
There's a clue is in the Windows Application log which contains this error
The Module DLL C:\WINDOWS\system32\inetsrv\rewrite.dll failed to load. The data is the error.
How can I recover my IIS to make it work again?
It looks like a simple uninstall and re-install of the rewrite module will do the trick.
Edit: As others have said - try a repair first - if it works then that should be faster.
It doesn't look like the Microsoft Web Platform Installer is able to uninstall it so just go to Programs and Features to uninstall it.
You'll find it listed as IIS URL Rewrite Module 2 and just click the Uninstall button on top.
Then reinstall it from here:
http://www.iis.net/downloads/microsoft/url-rewrite
Make sure your App Pool is started - or just restart IIS and it should all work again.
Edit: 8/30/16 : A similar but unrelated error can occur if you have the 'new' .NET core installed and update to Win 10 Anniversary edition. See here: https://github.com/aspnet/Home/issues/1583 - Running a repair on VS 2015 Tooling Preview should fix it. Wanted to add it here since the errors are very similar to this answer.
I got this Event Log error after updating Win8.1 to Win10. To fix, go to the Control Panel -> Programs and Features, locate IIS URL Rewrite Module 2, right click and select Repair (it's quick). Next, restart your stopped AppPool(s). Should be OK now.
No need to uninstall nor reinstall.
Gary Davis
Don't need to uninstall. Just do a Repair instead, and it will works.
For some weird reasons, the only solution for me was to install previous version of the module, from https://www.microsoft.com/en-us/download/details.aspx?id=7435
I just ran in to this issue after an update. All of the app pools where stopped!
Starting them resolved the issue.
I struggled with similar issues last night.
It started out with a complaint about missing redirect.dll. After installing IIS' Redirect feature, that log message disappeared and all I was left with was a bunch of error messages from WAS. It tried starting my application pool five times until giving up.
A listener channel for protocol 'http' in worker process '120' serving
application pool 'my app pool' reported a listener channel failure.
The data field contains the error number.
The error code was "8007007E" (File not found according to google).
I then installed ProcMon from sysinternals.com and every time the w3wp process complained about "NAME NOT FOUND" right before terminating, I googled and installed the corresponding IIS feature. I repeated this until I had installed them all and got everything working again.
Installing everything is not a good solution, but I do not have time to investigate deeper right now.
I came across similar symptoms after changing my domain password. I had to also reset my password in my (hard coded!) App Pool settings on my dev box.
I had a similar issue with "httpplatformhandler.dll failed to load". Again the solution was to download the appropriate httpplatformhandler install msi from http://www.iis.net/downloads/microsoft/httpplatformhandler and then run a repair.
The Repair worked for me after updating to W10 Insider Preview 160826-1902
I encountered the same problem in Windows Server 2012 R2. After I update Windows Updates to newest, it works.

Resources