the procedure entry point sprintf_s could not be located in DLL [closed] - windows-xp

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
We are using windows XP SP3 version "PosReady" which is still supported by MS.
We have several old computers running on this OS.
Recently we have problem with any software using msvcrt.dll.
Constantly this message popup shows:
"the procedure entry point sprintf_s could not be located in DLL msvcrt.dll".
Tried removing and reinstalling all MS visual C++ run times but it did not help.
Any help is appreciated.
Thanks,

There was an express update pushed through Windows Update yesterday (FEB-16), that solves the issue and is listed in my installed updates as:
Security Update for Windows XP (KB4487085-v2)
So it seems the issue was in the first version of that update.
Microsoft in 4487085 states:
This update was rereleased February 15, 2019 to address a known issue that occurred when you installed the original February 12, 2019 version of the update.
and
After you install the originally released version of this security update (from February 12, 2019), applications that use the msvcrt.dll dynamic link library (DLL) do not load properly.

Uninstall the Windows XP updates that were pushed out February 12.

Windows update, via the "shield" in task bar, notified me that there were updates. I installed them and after reboot had the issue described here. So, pretty obvious what the problem was. I used "Add/Remove Programs" to uninstall the nine or so updates that were showing for that date.
Most of the updates affected .NET libraries and I think that's where the problem is. The newest MSVCRT.DLL on my system is from 2012, even when the updates were still installed, so messing with them won't help.
Ideally, MS will fix this, but if not, we're almost out of support anyway. Don't forget to disable automatic updates or the problem will come back.

Related

How to start fresh with PostgreSQL on Mac? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed yesterday.
Improve this question
So, I did some work on my Mac with PostgreSQL about 6-7 years ago. I am trying to get back into it and am following along with a tutorial. There are two issues that I have ran into regarding my pre existing configurations.
I do not know the password I used when I originally set up PostgreSQL and the postgres user on my machine.
I installed the latest version of PostgreSQL (15) from postgresapp.com but am getting the following error message:
PostgreSQL version error
I tried steps I found on another stackoverflow question for uninstalling as well as running the following commands commands I used but this has not fixed the issue as when I install the latest version I get the same error mentioned in #2 above and the psql command still prompts me to enter a password that I do not remember.
Could someone help with providing the necessary steps to start "fresh" with PostgreSQL on mac or point me to an online resource that explains it? Everything I have found so far has not worked.
If you don't need any of the previous settings or data and you're happy to delete them, you can try deleting the entire directory that was established the first time you installed Postgres.app.
Can you open Postgres.app and look at your server settings, as in the screenshot below?
If so, that will tell you where your settings and data are being stored, For me, it's in my home directory's Application Support folder.
As long as you're 100% certain that you don't need any of your previous data and settings, you should be able to delete the entire Postgres folder. Note: this will also delete any data/settings from the current version of postgres, but it doesn't sound like that will be a problem for you.
PS: I can see two weird red squares at the bottom of my screenshot which seems like something somewhere is not correctly handling the transparent parts of the PNG.
Regarding your postgres user password, you can follow advice from this Stack Overflow question to change it. It's pretty much the same steps, but with changing the postgreSQL configuration directory path on your machine. The key to solve your problem is to login on your system as a super user or root or whatever it is. and make sure it's allowed {in your postgreSQL server configuration } to connect and login via unix socket without requiring the password.
Regarding your version issue: install both version of PostgreSQL on your machine (the old one and the v15) then follow along with the official docs to migrate your database to work on latest versions. Another approach is to use pg_dump commands which you can search for its usage and manual online on the internet.

Remove postgres user account on windows 7 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I want install postgresql (9.2 version) on my local computer (OS: windows 7)
So, in first time at install, I had some error and now, I need just uninstall old postgres, but when I am trying uninstall, I got warning message: The data directory (bla bla....) and service user account (NT AUTHORITY\NetworkService) have not been removed
Question: how to remove this old user account ?
You do not need to remove the service account if you're going to reinstall. The new install will use the existing user account. That, and the fact that multiple versions might be using it, are why any user account the installer creates isn't removed.
In any case, 9.2 doesn't use the postgres user account anymore. By default it installs as NETWORKSERVICE. This is a windows system account. You can't remove it even if you want to, and if you did it'd render your system completely nonfunctional. That uninstall message is just a leftover from when the installer used to use the postgres account, though it's still useful if you install with a non-default user account. I've reported it to EnterpriseDB as a bug.
Now, if you have an existing data directory you want to get rid of and you know it has no information of any value you should remove it or rename it so the new install doesn't try to just use the existing data directory. The data directory location is shown in the message emitted by the uninstaller.

Vagrant and Red Hat Enterprise Licensing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Our team is starting to use Vagrant for development on Mac OS X machines so we can better simulate our Red Hat Enterprise Linux production environment. Our operations group says our Red Hat License only covers instances being run on our VMWare cluster. How do other people deal with RHEL licensing using Vagrant?
We were in the same situation and decided to use CentOS on our developer boxes. https://www.centos.org/
I downloaded basic rhel server I found online and built a vagrant box with Packer for use in Vagrant/Test Kitchen. I'm forced to use various other repositories (CentOS/EPEL/RPMFusion etc) instead of the RHN repos which I don't have access to without licensing. I actually wrote a small chef cookbook to write all the custom /etc/yum.repos.d/*.repo files after initial install. It definitely works for a dev environment. If you have access to different ISOs then you can built whatever versions of rhel that you need with Packer.
http://dtucker.co.uk/hack/creating-a-vagrant-base-box-for-rhel-with-bento.html
https://github.com/xacaxulu/packer-boxes/blob/master/README.md <----a box to use if you want.
Have you tried this?
https://access.redhat.com/downloads/content/293/ver=1/rhel---7/1.0.0/x86_64/product-downloads
Have you also checked the developer subscriptions?
https://access.redhat.com/support/offerings/developer/
There is a blog specifying how to use vagrant with RHEL... but I can't post 3 links :(
Here is a proposal (I am using this approach since I am also working with rhel vagrant boxes for running ansible scripts)
Create a red hat developers account here (click on register).
Download an rhel vagrant box from here (you will have to log in with your previously created account.
Fire up your box and ssh into it.
Follow these instructions to register your vm

Installing PostgreSQL on Windows Server 2008 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Trying to install PGSQL on Windows Server 2008 SP2 (not R2) x86_32.
Got errors like "Problem running post-install step. Installation may not complete correctly. Failed to start the database server" and something like that.
And also installation doesn't fill data directory - it empty.
I tried start PGSQL manually via pg_ctl(register and start) and initdb, but nothing works.
Reinstalled many times with removing postgres user via Computer Management and his folder. Again, no result.
Guys, maybe you have good manuals or experience about deploying PGSQL on Server 2008?
Anyone else running issues should read Common installation errors, Troubleshooting Installation and the Guide to reporting problems.
This known issue with some Windows systems is documented there, and advice on how to report issues with enough info to get an answer (including installer logs, etc) is also provided.
I've got solution.
http://forums.enterprisedb.com/posts/list/2448.page
Just register vbscript.dll and associate VBS files with scripting engine.

Which OS will be the best subsitute for the Microsoft Windows XP/7 [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I want to switch my OS from Windows XP to but as a software developer I am worried about that will I able to install/run the development tool successfully [Software like: Visual Studio, Sql Server, PHP ... other related tool].
Which OS will be the best subsitute for the Microsoft Windows XP/7, from a developer point of view?
This really depends what platform you want to develop the software for. If you are writing Windows programs, Microsoft makes great developer tools which of course run on Windows. The effective tools to develop Mac software are (no surprise) available on Macs. So there's really only a choice if you're targeting cross-platform or Linux. You can use virtual machines to construct whatever testing environments you need, so the main choice is your preference.
Since you sound like you are interested in experimenting with new environments, I would suggest you try Linux. I primarily use Emacs with GNU Global and GDB in Linux to do all my development, and I have benefited from other tools like strace and Valgrind. Eclipse is also available, and I hear it's nice. Since you're used to MS tools, I'll warn you that the open-source stuff isn't as polished or as integrated as MS's stuff appears to be, but it's certainly capable.
Well, if you need Microsoft-based software, such as Visual Studio and SQL Server, the best choice of OS will probably be a Microsoft one...
After that, you might want to run some Virtual Machines, for PHP / Linux development.