windows-server-2003

Upgrading from IIS 6 to 8.5: increased concurrent requests

怎甘沉沦 提交于 2019-12-11 19:41:13
问题 We upgraded our web server from Windows Server 2003 to Windows Server 2012 R2. The web application in question runs against ASP.NET 4.0. The web application in turn communicates with a third-party Web API. Shortly after the upgrade, the Web API latency increased, which in turn lead to notable timeouts. I suspected that on IIS 8.5, the number of allowed concurrent requests increased, causing an increase in throughput that the Web API was unable to handle. However: IIS 6 isn't limiting the

Running 32-bit ASP.NEt 3.5 apps in Windows 2003 64-bit

a 夏天 提交于 2019-12-11 19:36:18
问题 I've managed to get my 32-bit apps working on IIS in Windows Server 2003 64-bit, but I'm wondering if I will encounter any other issues doing so. Any ideas? 回答1: One issue with IIS6 (but fixed in IIS7) is that you are stuck using either 32-bit or 64-bit ASP.NET worker processes. See http://blogs.msdn.com/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx ... However, if you really need to access 32-bit DLLs in your

No Coverage for Moles Tests on x64 Windows Server 2003

本小妞迷上赌 提交于 2019-12-11 15:35:40
问题 For some reason OpenCover is not covering tests using moles on Windows Server 2003 (64bit). I raised a similar question which solved it on my 32bit Windows 7 machine, but for some reason setting the Environment Variable on the Windows Server machine doesn't make a difference. CLRMONITOR_EXTERNAL_PROFILERS: 1542C21D-80C3-45E6-A56C-A9C1E4BEB7B8 Is there a different CLSID for the x64 profiler? Or could this be another problem? Steps to reproduce Create a new project in visual studio with three

How to set folder permissions with .NET?

心已入冬 提交于 2019-12-11 14:03:23
问题 Is it possible to use a small .NET page to set folder permissions on some folders on the server where it resides? What is the code or objects that can be used for this? I am on Windows Server 2003. Basically I want to hit the page with a GET or POST and have it run and check and/or update the permissions on a folder. 回答1: There's a number of possible ways to approach this. One is to use the FileIOPermissions class, which allows you to specify permissions on files and folders. The other option

Compress PDF files on Windows Server automatically

浪子不回头ぞ 提交于 2019-12-11 09:21:43
问题 I have a user PDF upload submission system whereas quite often users will upload very large sized PDF's that have been originally meant for Print when we only need them for web sized viewing. I need to automatically compress them on the server. We are running Windows Server 2003 . Right now, we just have user upload PDF via SoftArtisans.FileUp method. My question is what is the best or easiest way to do this on the server automatically after user uploads PDF? 回答1: Why not try this site. Used

ASP.net problem with Regional & Language Options (win2k3)

喜你入骨 提交于 2019-12-11 08:37:10
问题 I have a TextBox in an Asp.net form. there is a simple javascript witch separates each three digits in TextBox. it works fine when you enter data in TextBox. I used coma , for separating digits and used dot . as floating point character. as I said every thing works fine when I am entering data in TextBox. but when the post-back occurs and saved data returns to client, every . (s) has been removed (for example 2.3 saved as 23 and digits in TextBox are separated by . instead of , . this problem

ETW File IO Monitoring on XP/2003

半世苍凉 提交于 2019-12-11 08:26:50
问题 I've been investigating ETW for process/file/registry/network monitoring. It looks like it on Win7 it has everything I need. However, on XP it seems to be lacking the same level of detail. Specifcally, with file IO only "FileCreate" events seem to be logged and process creation events don't give a full path. Is it possible to determine when a file is written to on XP with ETW? And how about the full path to a process start event? 回答1: Starting with Vista MS added a lot of ETW providers to

Monitoring ASP/COM+ application performance in Windows 2003/IIS 6.0

混江龙づ霸主 提交于 2019-12-11 07:49:39
问题 We are running a website using Active Server Pages & COM+ components . The ASP pages call COM+ components which in turn communicates with external systems and respond to ASP page requests. We find that the application becomes slow over a period of time and requires restarts (like in couple of days). The website runs on good hardware and does not have huge traffic and so we believe it's not a capacity issue. The application was written in ASP 3.0, VB 6.0 (COM) by an external vendor who does

Control IIS 7 server from Windows 2003 server programmatically

对着背影说爱祢 提交于 2019-12-11 07:28:00
问题 We run various jobs using a Windows 2003 server. Some of these jobs send app pool commands to web servers running IIS 6 (recycle, start, stop). Now we have a Windows 2008 web server running IIS 7, and we want to send the same commands. This is all done using C#. This is the code we use to send commands for IIS 6: var methodToInvoke = "Stop"; // could be "Stop", "Start", or "Recycle" var co = new ConnectionOptions { Impersonation = ImpersonationLevel.Impersonate, Authentication =

Schedule a .vbs file to run in Windows

非 Y 不嫁゛ 提交于 2019-12-11 06:48:05
问题 I have a VBScript script that starts a cmd prompt, telnets into a device and TFTP's the configuration to a server. It works when I am logged in and run it manually. I would like to automate it with Windows Task Scheduler. Any assistance would be appreciated, here is the VBScript script: set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cmd" WScript.Sleep 100 WshShell.AppActivate "C:\Windows\system32\cmd.exe" WScript.Sleep 300 WshShell.SendKeys "telnet 10.20.70.254{ENTER}"