windows-server-2008

How to determine if a machine is running Active Directory

I would like to know from Java code if the machine that I'm on is running active directory or that it has active directory installed (e.g. service may be stopped). Is there a reliable registry key to inspect? This is specifically for Windows 2008. I found info on the web that mentions HKLM\SOFTWARE\Microsoft\MSDTC\Security\DomainControl...

Setting up 301 redirects with Dynamic URLs

I'm guessing this is actually an impossible task, but I thought I'd run it by StackOverflow to see if I'm wrong. Basically we have some dynamically created URLs for SEO purposes (around 300,000+ of them) and we want to do 301 redirects to them. Our current URLs look like this: http://www.site.com/&lt;Brand&gt;/&lt;Product Name>/<pr...

WordPress url error on IIS 7

Hello I have install WordPress as a web application at IIS 7 but i have ont problem. When i access the site like this: http://foo.com/wordpress/ it works grate. But when i write http://foo.com/WordPress/ it give me a 404 error. but http://foo.com/WordPress/index.php works, but that don't give any posts from the database. So can i do a...

unable to obtain public key for StrongNameKeyPair

I have visual studio 2008 running on a Windows 2008 virtual PC. I decided to try out the Microsoft Test Tools built into the IDE (as opposed to NUnit, which I typically use). Using the Unit Testing wizard, VS adds a new test project to the source tree, creates a bunch of unit tests. When I try and compile, I get this "Unable to obtain...

Installing IIS 7.5 on Windows Server 2008

I would like to know if I can install IIS 7.5 on Windows Server 2008 and NOT Windows Server 2008 R2? ...

IIS7: AppDomain isn't recycling when it should?

Hi there, got a weird question for you based on some weird happenings on our site. We have four .DLLs in our ASP.Net solution (ie. managed code in the /bin folder). This morning we updated all four of them, the site was tested and worked fine. This afternoon I uploaded a new version of one of the DLLs, and it took the whole site down, m...

MSMQ on Win2008 R2 won’t receive messages from older clients

Hi all I'm battling a really weird problem here. I have a Windows 2008 R2 server with Message Queueing installed. On another machine, running Windows 2003 is a service that is set up to send messages to a public queue on the 2008 server. However, messages never show up on the server. I've written a small console app that just sends a "...

Dirs Program Files (x86) and Program Files

I am developing on a Windows 2008 R2 Server, 64 bit. I am developing for SharePoint 2007, 64 bit. My file structure has these two directories. I am trying to fix a solution reference in VS2007. Does it matter where I reference something, are these somewhat duplicate dirs, or how should I consider these two dirs? ...

My service does not start on Windows 2008 (it works on Windows 2003)

When we install our product on Windows 2008 SP2, couple of services fail to start. After trying different things, we figured out that these service were able to start when "Log on as" is set to "Local system account". This service does need to run as a specific user because it requires access to secure resources. The service did run j...

How to collect the new "Applications and Services Logs" found on Windows 7 or Windows Server 2008 using WMI?

In Windows Server 2008 and Windows 7 there are new Events categorized under "Applications and Services Logs". There is also a subfolder called Microsoft which has tons of subfolders as well. Is there any way to collect these events through WMI? For the regular "Windows Logs" such as Application and Security, it is possible to use the Wi...

ASP error Server.CreateObject with new server IIS7/WS2008

Getting an error when migrating an old ASP script to a new box. The old server was IIS6, Windows Server 2003. The new server is IIS7, Windows Server 2008. Here's the error: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed /img.asp, line 39 800401f3 The offending line is set download = Server.CreateObject("csFil...

Windows web server 2008, setting character encoding

Hi, How do you set the character encoding being used by the web server? Thanks, R. ...

Known Issue? PropertyGrid shows empty DropDownList on Windows Server 2008 Enterprise

Running the following 39 lines of a minimal Windows Forms PropertyGrid shows an unexpected behavior on a Windows Server 2008 Enterprise machine: using System; using System.Windows.Forms; namespace MinimalPropertyGrid { public sealed class SomeType { public Kind Kind { get; set; } } public enum Kind { ...

glitchy access website, freezes for 30-60 sec intermittently

asp website with access database freezes for 30-60 seconds intermittently. The site is on an internal 2008 server. About 25 users access the site simultaneously. Is it just the limits of access or can i do something to improve the situation? change any timeout/refresh settings anywhere? or could it be a problem with the network? ...

How to change Windows Server 2008 Login Screen

How do you change the settings on a windows server 2008 so that the login screen for remote desktop doesn't show any user names? I want to revert back to the old 2003 screen as this prompts for both a username and password. The new screen seems insecure to me as it gives anyone that might try and compromise the server valid login names. ...

SharePoint Search Center issue

Hello everyone, I am using SharePoint Server 2007 with collaboration portal template on Windows Server 2008. The default search address for a site is pointed to /SearchCenter/Pages/Results.aspx. Any ideas how to change the address to some other address? Either programming solution or easy config solution is fine. thanks in advance, Geo...

Migrate application running in Windows 2000 server to windows Server 2008

Currently we are running an application build in VB6,ASP,Commerce Server2000 and Sql Server 2000. This application is running in Windows 2000 server. Now we are planning to migrate Windows server 2000 to Windows 2008. Will this application run in Windows 2008 or do we need to upgrade this application to dotnet and Sql 2008? ...

SharePoint Search Service is not working

Hello everyone, I am using SharePoint Server 2007 with collaboration portal template on Windows Server 2008. When I use the following function from Central Administration from Application Management -> search -> Manage Search Service, I met with the following error message, any ideas what is wrong? The search service is currently offli...

IIS and the number of w3wp processes

I'm running IIS 7 on Server 2008, with a single AppPool for an application which is basically just a collection of ASP.NET WebMethods. Some of these methods process for hours before they return. What's weird, is that sometimes when I launch multiple simultaneous requests IIS spins up a single w3wp process (and seems to share it amongst...

Is there any way for a win2k8 scheduled task to have normal priority IO?

I have a scheduled task that is very IO intensive (deleting hundreds of thousands of files). For disk space reasons, this job has to be performed reasonably quickly. On win2k8, scheduled tasks always have a low IO priority. Raising the priority of the process did not change the IO priority. Is there any way to get a scheduled task to...