windows-server-2008-r2

How to allow MySQL on Windows Server for external remote access?

♀尐吖头ヾ 提交于 2019-12-07 12:08:44
问题 i have installed xampp on my windows server 2008 R2. I'm running a script there that stores me data over the day. Now i want to retrieve the data from my own computer or just external by connecting the database via mysql_connect("hostname","username","pw"). after some research i have got told that i have to commend > [...] > #bind-address = 127.0.0.1 > #skip-networking [...] in /etc/mysql/my.cnf didn't find the my.cf file in mysql but found one in xampp/mysql/bin/my.ini . But when i opened

IIS & service-based generation of web images - GDI, GDI+ or Direct2D?

旧时模样 提交于 2019-12-07 09:51:36
It is May 2017. My boss has asked me to produce some code to make some custom web images on our website based on text that the user enters into their browser. The Server environment is Windows 2012 running IIS, and I am familiar with C#. From what I read I should be able to use GDI+ to create images, draw smooth text into them etc. However, one of my colleagues suggested GDI+ may not work on Windows Server, and that GDI+ is based on older GDI which is 32-bit and will therefore be scrapped one day soon, and that I should use DirectX instead. I feel that to introduce another layer would make

log4net RollingFileAppender and IIS 7.5

守給你的承諾、 提交于 2019-12-06 13:45:34
I'm trying to use log4net with a RollingFileAppender on IIS 7.5 / Server 2008 R2. However, the configuration from my old IIS 6 / Server 2003 box doesn't appear to work anymore, I simply don't see any log files being created, here's what I've got setup: In Web.config (inside <configSections> ) <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> In the same file (inside <configuration> ) <log4net> <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> <layout type="log4net.Layout.PatternLayout"> <conversionPattern value="%date [%thread]

TCP Provider: The semaphore timeout period has expired

让人想犯罪 __ 提交于 2019-12-06 13:12:54
In Sql Server2008 R2 and Windows Server 2008R2, when I start Replication I have this error: TCP Provider: The semaphore timeout period has expired Please help me to solve it. in order to fix the error: System.IO.IOException: The semaphore timeout period has expired. ​Solution​ I have done below NIC changes to resolve this error. Open the Network and Sharing Center. Right click on Ethernet Adapter>>Properties Select Client for Microsoft Networks Click on Configure Tab Click on Advanced Tab And then - Disable the below settings IPv4 Checksum offload Large Send Offload V1(Ipv4) Large Send Offload

How can I use the Browse for Folder dialog from a WPF app on Windows Server Core?

蹲街弑〆低调 提交于 2019-12-06 07:54:39
I've tried using the FolderBrowserDialog and that seems to work on my development machine. However, this is not supported on a Windows 2008 R2 Server Core . I tried running this code anyway - the dialog appears, but the main display pane is not available. I've also tried using Windows shell32 API (SHBrowseForFolder) with the exact same results. ComDlg32 GetOpenFileName seems to work fine for selecting a file. Not sure what else to try. There have been questions about why this is necessary. I agree with the sentiment. I did not give away a lot of details about the what and the why, and this is

Socket still listening after application crash

半腔热情 提交于 2019-12-06 06:30:44
问题 I'm having a problem with one of my C++ applications on Windows 2008x64 (same app runs just fine on Windows 2003x64). After a crash or even sometimes after a regular shutdown/restart cycle it has a problem using a socket on port 82 it needs to receive commands. Looking at netstat I see the socket is still in listening state more than 10 minutes after the application stopped (the process is definitely not running anymore). TCP 0.0.0.0:82 LISTENING I tried setting the socket option to REUSEADDR

Creating a private MSMQ queue in a Microsoft Cluster via a script

安稳与你 提交于 2019-12-06 05:45:43
问题 We are migrating to Windows 2008 R2 Standard and will be using a Microsoft Clustering (active-passive) configuration. Our application is heavily dependent on MSMQ private queues and our install creates well over 100 private queues using the following C# code. MessageQueue.Create(".\private$\myqueue", false); Since the install is not running inside the context of the cluster, the queues are created on the local node and not in the cluster. We then tried changing the code to: MessageQueue

ADODB COM object not found

时光毁灭记忆、已成空白 提交于 2019-12-06 05:06:17
I am using ADODB COM object in my c# application which is developed on Windows 2008 R2 Standard 64bit. Now I have moved application on prod server with Windows 2008 Standard 64bit(not R2) and now I get error below. It seems MDAC 2.8 is not installed on my prod machine? I can't find any reference how to install MDAC 2.8 on Windows 2008 machine, maybe someone could point me to right direction? Error: Unable to cast COM object of type 'ADODB.StreamClass' to interface type 'ADODB._Stream'. This operation failed because the QueryInterface call on the COM component for the interface with IID '

How can I prevent the “… has stopped working” window on my Server 2008 R2 dev box?

雨燕双飞 提交于 2019-12-06 04:29:11
问题 I'm using a Windows Server 2008 x64 R2 machine as a development box. Amongst many other things I've got Visual Studio 2008 SP1 installed on it. When I'm working on a project, I sometimes need to use Debug > Start without Debugging (Ctrl + F5). If the program throws an exception, I get a new R2-style window appear. I'm pretty sure I didn't see this on my XP box - this is the first time I've developed directly on a server. Is there any way to avoid this - it's really beginning to bug me? E.g.

How to allow MySQL on Windows Server for external remote access?

时光总嘲笑我的痴心妄想 提交于 2019-12-06 03:56:10
i have installed xampp on my windows server 2008 R2. I'm running a script there that stores me data over the day. Now i want to retrieve the data from my own computer or just external by connecting the database via mysql_connect("hostname","username","pw"). after some research i have got told that i have to commend > [...] > #bind-address = 127.0.0.1 > #skip-networking [...] in /etc/mysql/my.cnf didn't find the my.cf file in mysql but found one in xampp/mysql/bin/my.ini . But when i opened the file i found the lines even commented so hadn't got to change anything..... strange. then i got told