windows-server-2008

Stop sync windows 2008 r2 clock

不羁岁月 提交于 2020-01-13 06:22:08
问题 I need to stop the sync from a windows server 2008 r2 from sync. Already stop the windows time service, but it sync in 2 seconds. how can i delay 1 day in the clock and dont sync ? 回答1: TO do it, i have to stop this two services Hyper-V Time Synchronization Service Windows Time 回答2: temporarely stopping the service: net stop w32time unregistering the service: W32tm /unregister 回答3: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1318 If running a

mysqltuner.pl on a windows 2008 server r2

烂漫一生 提交于 2020-01-13 02:27:31
问题 I usually use linux for mysql and have something called mysqltuner.pl and this is great but we have a mysql server on a windows 2008 r2 server that we have and was wondering if any of you know of something simular to mysqltuner that i can use. I have seen on the project page that they have a windows version but it only works on winXP. Any pointers or if anyone has ported there own version would be great. many thanks 回答1: There is a windows version you can use at http://gggeek.altervista.org

Getting blank value for $_SERVER['AUTH_USER']

两盒软妹~` 提交于 2020-01-12 14:59:34
问题 I have a PHP app running on Windows 2008 server R2, which authenticates users against Active Directory using PHP's LDAP library. As per this answer, I'm looking to use $_SERVER['AUTH_USER'] , but I'm getting a blank value for it. Same for AUTH_TYPE and AUTH_PASSWORD . The variables are declared, but none of them have any value assigned to them. I've enabled both the Basic Authentication and Windows Authentication roles (through Server Manager), but neither has solved the issue. I'm using PHP

Hosting Mercurial on IIS7

独自空忆成欢 提交于 2020-01-12 07:06:22
问题 Note, this might perhaps be best suited on serverfault.com, but since it is about hosting a programmer source code repository, I am not entirely sure. I'm posting here first, trusting that it'll be migrated if necessary. I'm attempting to host clones of my Mercurial repositories on my own server (I have the main repo somewhere else), and I'm attempting to set up Mercurial under IIS. I followed the guide here , but I get an error message . Solved : See bottom of this question for details. The

PHP mail will not send from Windows Server 2008

你离开我真会死。 提交于 2020-01-11 10:12:51
问题 I have two servers. One (linux) will send mail fine using the script below. The second (windows server 2008) sends nothing. <?php mail ( "nobody@email.com", "Contact Us Form", "This is an email from your site", "From: nobody@email.com" ) ?> 回答1: mail() works very different on linux and windows. On Linux it pipes your mail to the sendmail binary, which does all the work On windows it actually needs to act as an MTA to pass the mail off to another application. On windows your best bet is to set

PHP mail will not send from Windows Server 2008

三世轮回 提交于 2020-01-11 10:12:11
问题 I have two servers. One (linux) will send mail fine using the script below. The second (windows server 2008) sends nothing. <?php mail ( "nobody@email.com", "Contact Us Form", "This is an email from your site", "From: nobody@email.com" ) ?> 回答1: mail() works very different on linux and windows. On Linux it pipes your mail to the sendmail binary, which does all the work On windows it actually needs to act as an MTA to pass the mail off to another application. On windows your best bet is to set

Excel ODBC and 64 bit server

♀尐吖头ヾ 提交于 2020-01-11 04:39:06
问题 using ASP.NET I need to update an excel template. Our server is running Windows 2008 in 64 bit mode. I am using the following code to access the excel file: ... string connection = @"Provider=MSDASQL;Driver={Microsoft Excel Driver (*.xls)};DBQ=" + path + ";"; ... IF the application pool is set to Enable 32 bit applications the code works as expected; however the oracle driver I am using fails as it is only 64 bit. If Enable 32-bit applications is set to false the excel code fails with the

An error occurred during local report processing.The definition of the report ' is invalid

廉价感情. 提交于 2020-01-11 03:42:29
问题 I am new to using SSRS. I am using a .rdlc file for report generation in a PDF with VS 2012. When I tried to set the parameters like ReportParameter param = new ReportParameter(kvp.Key, kvp.Value); LocalReport.SetParameters(param); This throws an exception: An error occurred during local report processing..The definition of the report '' is invalid.. Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

An error occurred during local report processing.The definition of the report ' is invalid

随声附和 提交于 2020-01-11 03:42:08
问题 I am new to using SSRS. I am using a .rdlc file for report generation in a PDF with VS 2012. When I tried to set the parameters like ReportParameter param = new ReportParameter(kvp.Key, kvp.Value); LocalReport.SetParameters(param); This throws an exception: An error occurred during local report processing..The definition of the report '' is invalid.. Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

Sending PHP mail from Windows server

走远了吗. 提交于 2020-01-11 02:49:24
问题 I have a form on my page. When the user hits the Send button - it's supposed to send an email with the details he entered in the form. Up until recently the form was hosted on a Linux server and I had no problem with it - the mail was sent and received. Recently I had to move to shared Windows server and since the move the mail is not sent. Here's the code that supposed to send the mail: function send_contact_form($strName, $strEmail, $strPhone, $strMessage) { $to = 'mymail@mysite.com';