
Fredrik Larsson
Securing websites
Some years ago we used Ironwasp as our tool to check websites and making them as secure as possible. Since it’s not being developed we searched for an alternative and found it in Zap. It’s a nice and easy tool and highly recommended while trying to secure websites and APIs.
.Net Conference 2019
Visual Studio and multiple projects
I want to take a moment to share a new gem that I found on the Internet.
For larger solutions it can happen that you want to startup several projects in one go. Sometimes you want to start variants among the projects you have.
SwitchStartupProject is a Visual Studio plugin that allow you to have switchable multiple startup projects. A json-file is used to configure your project.
I hope you like this little plugin, just as much as I do. Enjoy! Links are below to download and source.
https://marketplace.visualstudio.com/items?itemName=vs-publisher-141975.SwitchStartupProject
https://bitbucket.org/thirteen/switchstartupproject/src
The specified password for user account ‘root’ is not valid, or failed to connect to the database server.
While trying to set up this site as a WordPress + MySQL solution I ran into problems. Platform Installer indicated the root password was faulty. I changed it just to make sure that I haven’t changed it earlier for some reason but it still failed. Note that the platform installer had installed WordPress and MySQL for other sites earlier.
I tried the following and none of them worked. I had to create the MySQL database and user manually and then download WordPress and install it manually as well.
It’s fairly quick task but the platform installer should have worked or just simply asked to ignore the MySQL installation step since WordPress installer can do that.
Here are some of the workarounds I tried:
- Delete the value mysql_pwd under HKCU\Software\Microsoft\WebPlatformInstaller
- Installed the latest MySql .NET Connector (32 bit).
Note that MySQL installed on my server is 64-bit, I can only guess the platform installer is 32-bit so it might have something to do with this. But the platform installer has worked earlier.
And here are some of the links that I found:
https://answers.microsoft.com/en-us/windows/forum/windows_8-networking/web-platform-installer-fails-to-install-wordpress/b25871b3-bb50-4de5-8803-7c6572c1adac
http://www.swiftsoftwaregroup.com/the-specified-password-for-user-account-root-is-not-valid-or-failed-to-connect-to-the-database-server/
https://dev.mysql.com/downloads/connector/net/6.6.html
https://codex.wordpress.org/Installing_on_Microsoft_IIS
https://wordpress.org/download/
So the point is, sometimes it faster and easier to just install it manually. Good luck!