windows-server-2003

Resizing the boot partition

I'm using Windows Server 2003 in my machine. I've a meager 60 MB free space in C (system drive) and I've 8 GB in D drive. Is there any possibility that I can resize the C drive to add 6 GB taken from the consequent D drive? ...

MVC content cut off resulting in blank page

I have the strangest problem that I simply cannot solve by myself. I have this ASP.NET MVC 1 application that works flawelessly on my local development machine, using IIS5. I made the appropriate changes to get MVC to work on IIS5 by adding a route for .mvc controllers and an aspnet_isapi.dll filter as documented in http://haacked.com/...

How do I prevent an unwanted extra web site from being set up in Windows Server 2003?

I'm working on an installer that installs a suite of applications, among them being a web server. I'm having a problem where, in Windows Server 2003, in addition to the web site getting installed under DefaultWebSite, it is also appearing as an extra site below DefaultWebSite. Also, two Default Application items are being created under t...

Creating a Memory Dump of a Process in Windows Server 2003?

Since windows Vista, we have the nice option to create a memory dump of a process directly from Task Manager. Sadly, Windows Server 2003 does not have this option yet :( I found ways to do a complete system-wide memory dump, but that's a bit too much. Is there a way to dump a single process? As this is a production Server, I do not want...

Are virtual servers quirky with Windows Server 2003, IIS 6, ASP.NET MVC?

For several months I've been working on a customer site building a web site using ASP.NET MVC with C#, SQL Server 2005, ADO.NET Entity Framework, JQuery and some ESRI web APIs and geodatabases. The test server is running IIS6 on Windows Server 2003. Over this time I've seen some weird things that have caused a lot of rework: JavaScript...

Error crops up after weeks of running a website.

I have a website based on Vs2008, .NET 3.5SP1 C# code. One of the functions requires it to interop with a COM-based DLL that creates PDFs. About once every 3 to 4 weeks, anything COM related (e.g. generating PDFs) is completely hosed. I get the following error: Creating an instance of the COM component with CLSID {7A91D523-4...

Cygwin memory problem, only swap is being used?

Hi, I am porting a rails application to Win2K3 server, with cygwin. The application is up and running, but start to respond slowly very soon. I find that cygwin is only allocating swap to all process ( with top ), not using the 2GB memory available. Even Windows Task Manager shows high CPU usage but lots of free memory. How can I track...

IIS 6.0 not sending Expired header though I have turned it on

My website is hosted on Windows server 2003, IIS 6.0. The website is developed on ASP.net, with Microsoft Framework 3.5 I have set the content expiry to 12 hours for the complete site using the following settings : IIS Manager->Site->Properties->HTTP Headers->Enable Content Expiration->Expire After->12 Hours(s) The Problem is that whe...

Adding performance counters to existing category

I think this is more of a perfmon glitch, actually. Here's what's going on: 1. I create a counter category, and add some counters to it. They work fine. 2. I decide that I need some extra counters in that category. 3. I delete that counter category, and re-create it with new counters added. At this point, all old counters are working, b...

Windows 2008 task scheduler tasks can have user interface?

on Windows 2003 server, scheduled tasks appeared on the console if the user was logged in at the time the task started. eg a scheduled task run as user xyz would appear on the screen if xyz user was logged in. This was the default behaviour on 2003 but isnt on 2008. Is there some way to get it to work on 2008? ...

Asp.net IIS6 - application pool recycle.

Im running a asp.net website on windows 2003 ii6. Every 24-28 hours im getting the following error: When the error occurres all users are disconnected from the website. Event Type: Warning Event Source: W3SVC Event Category: None Event ID: 1013 Date: 02/02/2010 Time: 19:29:38 User: N/A A process serving applicat...

How do you validate an application's configuration?

I want to run a system configuration check on an app machine where the check reviews required SQL connection, disk permissions, installed apps, and IP:port access (i.e. firewall isn't blocking outgoing access). I'm using Windows Server machines and .NET framework if it makes a difference. Is there a standard way of verifying an applica...

TYPE_E_CANTLOADLIBRARY when using a COM object on a separate thread on Windows 2003 x64 only

Hi all, I have a Windows Forms app (compiled as x86) accessing a COM object. It gives me the following error, only on Windows 2003 x64, when the code is run on a separate thread: Exception during creation of IDoc:Unable to cast COM object of type 'PTISG.COM.TeklogixQueue.QueueClass' to interface type 'PTISG.COM.TeklogixQueue._Queue'. ...

Help needed in Setting up DNS Server in Windows 2008

Hi I'm trying to setup a DNS server on my loca network, so that when a client machine does NSLOOKUP MYPCNAME it returns the IP address of MYPCNAME I installed DNS on the server, and I added a Forward lookup Zone named 'LAN' Added an A record for MYPCNAME to point to 192.168.1.10 Now I can lookup the names using the fully qualified name...

Upgrading to ASP.NET 3.5

I have a server with some asp, asp.net 1.0 and 2.0 running on them. Now I'm planning to host 3.5 apps on them. Do i have to make any changes to server other than installing framework to make it handle all my previous version apps? Do i have to install new IIS or i can use same iis for 3.5? Do i have to install ajax newer version to...

Strange Flex Sizing in IE on Server2003

I have a modified version of a flex calendar found Here, and though it looks alright on most computers I've seen, there is a problem on two of the three servers here. Because of the way Citrix is setup here, I need to have it functional on all of the servers. When it loads, everything is stretched out vertically, and the numbers are mi...

Deployment script: setting folder permissions over a shared network path?

We have CruiseControl for deployment from dev to qa server. It also runs a batch script that we made that creates directories and sets permissions. Problem is that it won't set the permissions and we think it is because it is trying to do it across a network share, but we can't figure out how to get it to be able to change the permission...

How to set folder permissions with .NET?

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. ...

creating an online windows 2003 emulator - best program to use?

hi i would like to produce a online windows 2003 emulator so anyone can use windows 2003 through a browser instead of installing the software - something similar to temulator www.temulator.com/- and zen internet emulator va.zensupport.co.uk - i have basic html & css skills can it be done using html/css or is it better to use java/fl...

reading an event log

i am trying to read from the event logs on the server.. my current code is working.. but my worry is when there are thousands of entries in the events, will it take longer to load the page?? here is my working code ArrayList chromeEntries = new ArrayList(); EventLog eventLog = new EventLog("Application", "."); foreach ...