windows-server

Postgresql “pg_restore.exe” taking over a day to complete

半世苍凉 提交于 2020-01-06 07:09:30
问题 I'm on a Windows Server 2016 machine. I have run pg_dump.exe on a 3gb postgres 9.4 database using the -Fc format. When I run pg_restore to a local database (9.6) : pg_restore.exe -O -x -C -v -f c:/myfilename The command runs for over 24 hours. (Still running) Similar to this issue: Postgres Restore taking ages (days) I am using the verbose cli option, which looks to be spitting out a lot of JSON. I'm assuming that's getting inserted into tables. The task manager has the CPU at 0%, using .06MB

lower_case_table_name Error

不想你离开。 提交于 2020-01-02 02:52:13
问题 I'm trying to set the lower_case_table_name value to 2 , since it is a Windows server. But when I start MySQL Workbench and connect to my server I get the following error: A server is in a system that does not properly support the selected lower_case_table_names option value. Shouldn't a Windows server support a value of 2 ? I'm running MySQL 5.6 on Windows Server 2012 and using MySQL Workbench 6.3. 回答1: You can safely ignore this error. I recently installed MySQL on a new Windows computer

Is there a git activity log?

青春壹個敷衍的年華 提交于 2020-01-01 10:53:30
问题 Something went really wrong here. Allow me to give the background. Today I try to push to our company default bare msysgit windows server and get a dreaded error message duplicated everywhere in SO about pushing to non-bare. I thought the message was weird, since my server was supposed to be bare. And yesterday it was working just fine. Then I noticed the core.bare is, somehow, set to false ! This was a repo inited with --bare and it never had a " .git " folder in it. And then I go check, and

Where is MSBuild.exe installed in Windows when installed using BuildTools_Full.exe?

╄→гoц情女王★ 提交于 2019-12-31 20:32:07
问题 I'm trying to set up a build server for .NET, but can't figure out where MSBuild.exe is installed. I'm trying to install MSBuild using the Microsoft Build Tools 2013: https://www.microsoft.com/en-us/download/details.aspx?id=40760 回答1: MSBuild in the previous versions of .NET Framework was installed with it but, they decided to install it with Visual Studio or with the package BuildTools_Full.exe. The path to MSBuild when installed with the .NET framework: C:\Windows\Microsoft.NET\Framework[64

Styles not loading on Windows Server

我们两清 提交于 2019-12-31 05:45:05
问题 I have a WPF application here with a lots of custom styles. With Windows 7 or 8(.1) the applications looks very good. But if the application is started on Windows Server (2008 - 2012) the application looks like some of the styles did not load or some property's are not set. I'm confused why this is happening, do I need to include some style information in my application which are present on Windows 7/8 but not on Windows Server What I have done: 1. Installed Desktop Experience for server 2008

Determining if the program is running on Windows Server

房东的猫 提交于 2019-12-28 12:09:29
问题 I would like to determine if my program is running on a version of Windows Server. Apparently, System.Environment does not contain information about the fact that Windows is a server version (there is no such info in the OS version object). I know that I can use SystemInformation.TerminalServerSession to check whether my program is running on a Remote Desktop (see also this question), but this will also be true if the user is simply accessing a plain client Windows machine remotely. So is

Installing PostgreSQL on Windows Server 2008 [closed]

醉酒当歌 提交于 2019-12-25 03:22:32
问题 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 7 years ago . 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

Can't find SeiralPort Device by using SerialDevice.FromIdAsync() and got imformation that “DeviceAccessStatus.DeniedByUser”

南楼画角 提交于 2019-12-25 02:58:45
问题 CustomSerialDeviceAccess is a sample on Microsoft's GitHub and it's for UWP to read/write SerialPort. The problem is that the sample can open devices on Win10 but get "DeniedByUser" on Windows Server 2019 & Windows Server 2016. I try to find some different things about Registry and Group Policy but get nothing. Can you give me some suggestions? Thx! 回答1: I got the way to fix the problem. Use MDM/GP to set the trusted devices policy to ForceAllow. For GP example, gpedit.msc -> Administrative

Server IP Change - Is using Computer Name to point to server advisable?

谁都会走 提交于 2019-12-25 02:55:43
问题 IP of the DB Server of our application is being changed. All other settings, configurations etc. incl. "Computer Name" will remain same. (DB server's OS is Microsoft Windows Server 2003, DB is Microsoft SQL Server 2005. Applications are .NET 2.0 based.) It requires that intranet applications, websites pointing to that server need to be referred using new IP which is not yet known. The problem is that changing to a new IP will require significant time & client cannot afford down time of more

SMTP: cannot send email from windows server 2012

风格不统一 提交于 2019-12-24 09:39:40
问题 I have strictly followed this tutorial in order to configure SMTP server on Windows Server 2012 R2 by usng IIS 6. In fact, if I create a correct formatted file email.txt inside C:\inetpub\mailroot\Pickup with From, To and Subject fields, it is dispatched immediately to the destination email address with the correct sender. Then, I have a framework generating my ASP NET C# web application ad when it tried to send an email with: IDMailer v_M1 = null; v_M1 = (IDMailer)new IDMailer(); v_M1