windows-server-2008

A process crashed in windows .. Crash dump location

最后都变了- 提交于 2019-11-29 22:21:23
A windows process got crashed for some reason. I need to analyse the crash dump. In Windows 2003 PC health helped us to find the crash dump file. How to get the crash dump file location in Windows 2008? I have observed on Windows 2008 the Windows Error Reporting crash dumps get staged in the folder: C:\Users\All Users\Microsoft\Windows\WER\ReportQueue Which, starting with Windows Vista, is an alias for: C:\ProgramData\Microsoft\Windows\WER\ReportQueue Kiquenet Maybe useful (Powershell) http://sbrennan.net/2012/10/21/configuring-application-crash-dumps-with-powershell/ From Windows Vista and

Windows Server 2008 as development machine - step by step

放肆的年华 提交于 2019-11-29 21:50:23
I have found many tutorials about using Windows Server 2003 as a development machine, and very little information about Windows Server 2008 for the same purpose. For a nicer experience, I have followed the steps from Convert your Windows Server 2008 to a Workstation . I am searching for the requirements and installation order for IIS 7 with IIS 6 compatibility mode, .NET Framework 3.5 SP1 (does it require the installation of .NET Framework 3.0 feature, or can be installed directly), SQL Server 2005 SP2 (with Reporting services and Analysis Services), Visual Studio 2008 SP1. SQL Server 2005 -

IIS ASP.Net Website - ManagedPipelineHandler Error ( An operation was attempted on a nonexistent network connection)

安稳与你 提交于 2019-11-29 18:08:28
问题 I am experiencing a strange issue. I have an ASP.Net web application that uses Forms Authentication. If I open the log-in page and there is a couple of minutes of inactivity, the log-in attempt times out or IE / FireFox display "Cannot display this page". If there is no pause or lack of activity, there is no issue and the website run as expected. I enabled tracing in IIS. The area that appears to be hanging is NOTIFY_MODULE_START Module Name:ManagedPipelineHandler. After 132141 ms, I get the

Batch Script on 2008 server - If Ping successful then

筅森魡賤 提交于 2019-11-29 16:31:59
I am attempting to write a script that will check to see if a computer is on my LAN before running the rest of my script. It is a simple backup script using robocopy but I would like it to output a file based on whether it was successful or not. This is what I have. set machine=userbox ping -n 1 %machine% > nul if errorlevel 1 goto BAD goto GOOD :GOOD robocopy source destination echo "backup complete" > c:\scripts\backupgood-%machine%.log shutdown /s /m \\%machine% /t 600 goto END :BAD echo "Computer not on" > c:\scripts\%machine%-offline.log :END Right now the script is not detecting whether

Using Microsoft.Ink in ASP.NET on Windows Server 2008

有些话、适合烂在心里 提交于 2019-11-29 15:42:01
I'm developing an ASP.NET web application. The site generates PDF files which contain images of handwritten content (signatures etc.). The bitmap images are created by some methods of the Microsoft.Ink library, converting MS Ink data (generated on a Tablet PC and transferred to the site.). Now, it works like charm on my Vista development machine, but not on the production server, a Windows Server 2008 64bit machine. There is some unmanaged code for Microsoft.Ink besides the .NET assemblies I deployed. So I installed the Tablet PC SDK 1.7 on the server - but I still get some missing COM

How do I install this service_wrapper for mongrel/rails on my windows server?

狂风中的少年 提交于 2019-11-29 15:34:28
问题 I have been given the unpleasant task of installing a Rails 3 app I have written on Windows Server 2008 (definitely not my choice - was promised a linux server but I.T. pulled the rug out at the last minute so please don't suggest a change in environment as a solution). I followed the instructions on this blog post (with a few minor modifications) and now actually have my app up and running under Windows/IIS (proxying mongrel) after a great deal of frustration. The only thing remaining is to

Is it safe to run a pool under NT AUTHORITY\NETWORK SERVICE?

巧了我就是萌 提交于 2019-11-29 12:25:37
问题 I normally would create a limited rights user and run the process under that but the fact that pools automatically created under IIS7 in 2008 use this account makes me think that this is perfectly safe, and possibly more so than something I create? The whole Secure By Default push from Redmond would lead me to believe this is the case. 回答1: Yes it is safe. Services and Service Accounts Security Planning Guide One more thing. It is even better to use the local service account ( not to confuse

'+' symbol problem in URL in IIS 7.x

梦想的初衷 提交于 2019-11-29 11:58:48
问题 We are sending an HTML encoded string in the Query string. It was working fine on IIS 6 (windows 2003). We have recently moved the website to Windows 2008 (IIS 7.x). Since the move any Query String that contains "+" sign i.e., "%2b" gives error on the server "404 - File or directory not found." Any help? Best regards. 回答1: Here is an answer! https://serverfault.com/questions/76013/iis6-vs-iis7-and-iis7-5-handling-urls-with-plus-sign-in-base-not-querystri 回答2: The reason why you are facing

How to list installed features of Windows Server 2008 in c#

强颜欢笑 提交于 2019-11-29 11:56:14
How can I list all installed features of Windows Server 2008 in c#. I tried to query dism.exe or oclist.exe but not all versions have it. Can I use System.Management.ManagementClass to do this somehow ? Darqer I have found it, you have to use Win32_ServerFeature Class ( http://msdn.microsoft.com/en-us/library/cc280268(VS.85).aspx ) and System.Management.ManagementClass. It works on ws2008. ManagementClass objMC = new ManagementClass( "Win32_ServerFeature"); ManagementObjectCollection objMOC = objMC.GetInstances(); foreach (ManagementObject objMO in objMOC) { string featureName = (string)objMO

Make server automatic run asp-script every day

放肆的年华 提交于 2019-11-29 11:43:54
Is it possible to create a batch-file which opens firefox, runs a website and then closes firefox again? Something like: @echo off start firefox http://..... This is where I am stuck... It needs to close firefix again when the website is finished loading. It is used to run a maintenance-script every night at 23:59. The script is based locally, but one cannot run a asp-file without using a server, so I have placed it as a website. Adapted from an article I wrote on aspfaq.com years ago. Use the AT command and Windows Scripting Host (or the more rudimentary task scheduler) to schedule a VBS file