windows-server-2008

WatiN through TFS on Windows 2008 Server

China☆狼群 提交于 2019-12-11 02:59:15
问题 I'm trying to run WatiN tests through continuous build on TFS, but I can't get it to work. The errror I get is following: WatiN.Core.Exceptions.IENotFoundException : Could not find an IE window matching constraint: Timeout while waiting to attach to newly created instance of IE.. Search expired after '30' seconds. at WatiN.Core.IE.CreateIEPartiallyInitializedInNewProcess() at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, IDialogHandler logonDialogHandler, Boolean createInNewProcess) at WatiN

ValidationMessageFor Language

谁说胖子不能爱 提交于 2019-12-11 02:59:04
问题 I am using ASP.NET MVC 5 . I am trying to get the message of the ValidationMessageFor in French. "The xxx field is required" -> "Le champ xxx est manquant". I have deployed my website in 2 servers Windows Server 2008 R2 SP1 + IIS 7 Windows Server 2012 + IIS 8 I added in my web.config this following line: <globalization culture="fr-FR" uiCulture="fr" /> Finally, I succeed in doing the "translation" for the WS 2012. But not with WS 2008, when I submit a form, I still have "The xxx field is

How to export SSL certificate from azure to local server?

时光怂恿深爱的人放手 提交于 2019-12-11 02:23:47
问题 I want to move my MVC application from Azure to an in-house server . How do I export the SSL certificate associated with the App to install it on the local server? Is it at all possible? 回答1: NO. There is no way to get certificate out of Windows Azure. Question is how it (the certificate) appeared in the Azure at first place. It was certainly not uploaded by Microsoft people or some magic. It is a developer who packed the deployment package to include the certificate reference (thumbprint)

Using session for user authentication in asp.net c#

三世轮回 提交于 2019-12-11 02:04:11
问题 I am using session to authenticate a user. I have 2 web pages in my project. One is webform and other one is EntryForm.aspx and other one is log.aspx In log.aspx i have done protected void Button1_Click(object sender, EventArgs e) { user_login loginu = new user_login(); String uid_db = loginu.login(this.DropDownList1, this.TextBox1, this.TextBox2, this.Label5); if (uid_db == "invalid") { Label5.Visible = true; Label5.Text = "Invalid Login"; } else { string uname = uid_db.Substring(0, uid_db

Start WinForms application from Windows Service

萝らか妹 提交于 2019-12-11 01:29:53
问题 I have a (3rd party) WinForms application that I need to keep alive 24/7 on a Windows Server. My first thought was to write a Windows Service that starts the application (using System.Diagnostics.Process ) and restarts it if it should crash or the server is restarted. Is this even possible? I need it to start even if no user is signed in on the server. Can an application with a user interface run when no one is logged in? If no, is there a workaround? N.B. I don't need to interact with the

ADO and msqli connections very slow

独自空忆成欢 提交于 2019-12-11 00:42:33
问题 I am experiencing a very slow ADO and mysqli connection for my production web server. The current software setup is windows 2008 server R2 Standard Edition SP1, Apache 2.4, PHP 5.3.10, MySql 5.5.24, Pear 1.94, Zend Engine version 2.30. I've profiled the code using XDEBUG and it shows the initial connections taking around 1200ms each (regardless of page being visited), whereas on my local development machine and another test server the connections only takes around 8ms. The code for the

Why is this giving me 2 different sets of timezones?

旧巷老猫 提交于 2019-12-10 22:19:53
问题 Edit I believe this is a issue with I am using windows 7 and my server is windows 2008. I think windows 2008 uses still GMT. So how could I get around this issue. Like I want to deal in UTC but I want to have the default selected item to be "Coordinated Universal Time" what is not in the gmt list but in the UTC list. So I am not sure what to do. (I am not a shared host so if you can change it on windows 2008 machine it won't help me much). Hi I have this line to get all the timezones

IIS File authorization failed for the request

一世执手 提交于 2019-12-10 20:38:23
问题 I am trying to access a webpage on our local web server. When I browse to the page I get the windows auth challange. Even if i try to enter my credentials it keeps asking again. As you can see from the below error message i am authenticated. I checked the user account and it has access to the root folder and all lower folders. I get this error message for all sites in IIS Any advice? Log Name: Application Source: ASP.NET 4.0.30319.0 Date: 1/5/2012 4:12:33 PM Event ID: 1314 Task Category: Web

ColdFusion Garbage Collection

☆樱花仙子☆ 提交于 2019-12-10 19:48:09
问题 We have 6 Windows Server 2008/IIS 7.5 ColdFusion 9.0.2 servers on a round-robin load balancer. Each server is allocated 2GB for ColdFusion. Servers have 6GB of memory total. Garbage collection seems to be an issue across all the servers but I'm not sure how to resolve the issue without recycling ColdFusion. The graph below is the AVG/MAX memory for our 6 servers over the past few days. Each day the AVG memory increases. Eventually, the servers start queuing requests (because they can't

Robocopy: ERROR : Invalid Parameter #4 : “/MT”

戏子无情 提交于 2019-12-10 17:53:32
问题 I have a server that I am working on that is using Windows 2008 SP2 Enterprise and I have found that the installed version of Robocopy is missing the MT (multithread) switch. Since I'm working with enterprise hardware, having multiple threads can really help my performance so I'd prefer not to have to remove the switch from the copy operation that I am attempting. What I don't understand is why the installed version is missing this switch since this is a 2008 windows instance. Was the MT