windows-server-2003

Sed creates un-deleteable files in Windows

I'm trying to run the following command in Windows Server 2003 but sed creates a pile of files that I can't delete from the command line inside the current directory. for /R %f in (*.*) do "C:\Program Files\gnuwin32\bin\sed.exe" -i "s/bad/good/g" "%f" Does anyone have any suggestions? Mysteriously enough, I'm able to delete the files u...

how to debug asp server-side script using MS script debugger

how to debug asp server-side script using MS script debugger. ...

Why does Castle Windsor constructor crash on Windows Server 2003 with a manifest?

As part of getting our application ready for Windows7, we recently added a manifest to our our user interface's exe. It runs ok on Windows7. However, now when I try to run the signed exe on Windows Server 2003, the program crashes during startup. I've looked at the crash dump, and it seems to by failing in the constructor of Castle.Core...

.bat file can not execute on windows server 2003

Hello, I want to execute the batch file on server but the problem is that it can not execute. Even it is not giving any error. What should I do? this is my code try { ProcessStartInfo info = new ProcessStartInfo(AppPath + @"bin\execute.bat"); info.UseShellExecute = false; info.RedirectStandardInput = true; i...

Default installation path of Windows 2003 server: C:\WINDOWS or C:\WINNT

I have a couple of Windows 2003 server (32-bit) with the system files on C:\WINDOWS\SYSTEM32. At one of our client place, the Windows 2003 server (64-bit) system files are in C:\WINNT\SYSTEM32. What is the default installation folder for Windows 2003 server? In case if NT based OS use C:\WINNT as default, then why Windows XP (which is...

error installing VSTS 2008 SP1

Hello everyone, I am installing VSTS 2008 SP1 on Windows Server 2003 R2 32-bit, which has already installed with VSTS 2008 successfully before. I met with the following error (from install log, at almost the end of install progress from progress bar), any ideas what is wrong? (IronSpigot::MsiExternalUiHandler::InstallMessageErrorHandle...

Can't run Windows service from ASP.NET page?

I'm trying to start a Windows service on Windows Server 2003 from an ASP.NET page: the code of line 35 is: 32. Dim controller As New ServiceController 33. controller.MachineName = System.Environment.MachineName 34. controller.ServiceName = "WindowsServiceRealName" 35. controller.Start() The error code is Sys...

Site update, testing was fine, after deployment, again fine, once user load increases, FAIL?

We are using ASP.NET MVC with LINQ to SQL. We added some features and tested them all to perfection on our QA box. We are using Windows Server 2003 and SQL Server 2005. So when we pushed out changes to the Live web server we also used Red Gate SQL Compare to push new database changes to the LIVE database. We tested again between the few ...

Sql Failure Audits Every Second

I'm looking at my event viewer on my computer and seeing that every single event in the Applicaiton event viewer is a Failure Audit for SQL Server. The properties of the event all say Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 78.111.98.132] Does this mean that there is s...

How do I programmatically add an IP address to the blocked list in Windows Server 2003?

Following on from the general answers in this question: http://stackoverflow.com/questions/1954012/blocking-access-to-site-by-banned-ip-addresses and working on a C# ASP.NET MVC stack, how would I programmatically add IP addresses to the list of banned IP addresses on a Windows Server 2003 firewall? The use case is that the log files ...

MS charts not working on server

I have started using MS charts in ASP.NET 3.5 with code behind in C# I worked with the charts which worked fine with localhost; but problem startd when i started working on the server i get an error in web config Parser Error Message: Could not load file or assembly 'System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, P...

Set cronjob/scheduled task in windows server 2003? Php & Mysql

I would like to set a scheduled task/cron job to update database. I planning updating the database using a php script, i.e connect to database and execute SELECT and UPDATE query. I already prepared the php script, and what should I do next? I am (my server) is using Windows Server 2003, IIS, php and mysql. When I google this, I got t...

Leverage browser caching

I have a website and when I check page speed with Google plug-in, I receive: Leverage browser caching The following resources are missing a cache expiration Searching only returns information on using htaccess under Apache, but my site is running on Windows 2003 Server, in plain HTML language, and I don't even have access to the ...

64-bit php timestamp issue

Need to be able to use dates beyond the 32-bit timestamp limit so upgraded our server to Windows Server 2003 64-bit version. And running php 5.2.5 64-bit. However still can't use dates beyond the 32-bit limit. echo strtotime("11-11-2050"); returns nothing. Running php on IIS 6.0 using C:\WINDOWS\system32\inetsrv\fcgiext.dll Let me ...

how to create hidden web site on IIS

I need to hide web sites on the IIS 6.0. My target is to configure some user don't show and don't administrate some web sites. For example: User1 (Group: Administrator) user only show and configure website1 User2 (Group: Other group) user only show and configure website2 How to create hidden web sites on IIS? ...

What does this Windows crash dump mean?

Yesterday my system software got crashed on WINDOWS 2003 server. The Core shown below. kernel32.dll!_RaiseException@16() + 0x3c bytes rpcrt4.dll!_RpcpRaiseException@4() + 0x21 bytes rpcrt4.dll!_NdrGetBuffer@12() - 0x1d3fe bytes rpcrt4.dll!_NdrClientCall2() + 0x132 bytes hnetcfg.dll!_FwOpenDynamicFwPort@16() + 0x1...

IIS appcmd on Windows Server 2003?

Hello everyone, For IIS 7.0 on Windows Server 2003, any tools like appcmd for IIS 7.0 with Windows Server 2008? I did not find such command on Windows Server 2003. thanks in advance, George ...

maintainScrollPositionOnPostback="true" does not work globally after setting in web.config ,but works in page level,what should I do?

the title is already clear but to add more info ,the production server is windows server 2003 sp2 with .NET 3.5 sp1. setting maintainScrollPositionOnPostback="true" globally in web.config does work in my xp sp3 under iis 5.1 but not for production server. but if add maintainScrollPositionOnPostback="true" for any <%@ Page directive it ...

Why does ActivePerl 64-bit crash when I call sqlplus from backticks?

We came upon an error with a Perl script that processes data into an Oracle database. A few details: Server: Windows Server 2003 R2 64-bit Oracle: 10.2.0.4 Perl: ActivePerl 5.10 64-bit, build 1005 So the perl script connects to an Oracle database, and runs SQL to load data from another database. It runs the SQL through a sqlplus co...

How to automatically open a session after a Windows 2003 SP2 reboot ?

Hi, i'm using a Windows 2003 Server. I have a session with my username on it and i have a windows application (not service) opened on it. I want this application to always be running. The problem is, when Security updates force Windows to reboot, my session is closed and i need to reconnect to the session to get my application working...