windows-server-2008

Dlls missing for Win Server 2k8 core

Hi All, I am planning to port an application(rather make it run) on win 2k8 core. But it seems that a lot of dlls are missing on core. I understand that this is a stripped down version of Windows server, but then how is one supposed to develop applications or rather make existing applications run seamlessly on server core. While runnin...

how to create a web part to track page creation time

Hello everyone, I am new to SharePoint Server 2007 Web Part, and I am using SharePoint Server 2007 on Windows Server 2008. I program using VSTS 2008 + C# + .Net 3.5. I want to create a simple web part which could display page creation time and modified time (display such time information at the bottom of a web page). Any reference cod...

WMI Error in Windows Server 2008 (WMI Provider)

Hi, I've implemented a WMI provider (Window service, Instance, Methods and Properties provider). It works fine on Windows Server 2003, but when it run on Windows Server 2008 with non-local administrator user, I cannot query it. The error I get is 0x8004101d - unexpected error. When the service user is a local admin everything is OK. Wh...

Issue with URL length in IIS7 (Windows Server 2008)

Hi, i have an issue with url lengths in iis7. If you go to: http://demo.kontrolit.com/myaccount/login.htm?ReturnUrl=aa2Fmyaccounta2FdefaultaaspxadnoaauserSuppliedIdentifierahttpa3Aa2Fa2Faaaaaaamaapenidacoma2Fadnoaareturnatoasigahandleaa7B633942228855348748a7Da7BaRINLQa3Da3Da7DadnoaareturnatoasigaxSa2FFPGusD7UvskGqfkJq4QtEYjc4fSVFoa2F3s...

Cannot connect to TFS after adding domain controller Windows Server 2008

Hey Guys- Just added a domain controller to my server that is running tfs as well. And I believe Ive really "mucked" tfs now. Before it was configured to run at HTTP://CHICAGO:8080. It looks like I need to reconfigure TFS, I am just unsure how. I can still access Sharepoint Central Administration. However when I try to get at the Servi...

Microsoft.Ink not working on Server 2008 (not R2)

To start off, we have 2 servers: Alpha (Server 2008 R2) and Beta (Server 2008). We cannot create images Beta using Microsoft.Ink.dll (we have version 1.7.2600.2180). The code works great on Alpha (Server 2008 R2) but on Beta (Server 2008) it fails. Our code is compiled in x86 and both server's app pools are set to allow x86 programs. ...

Application pool reset breaks ASP site

I am seeing a weird behavior on IIS7 on Windows 2008. I have an ASP MVC application installed and fully functioning. Every time i reset its application pool, the website stops working and displays a 404 error. The only workaround I found for this is: 1. Rename default.aspx, global.aspx, and web.config to something else 2. Create a simpl...

IIS 7/ASP.NET WebForms application on Multi Processor server getting confused? Column '{dataColumn}' does not belong to table {dataTable}

We have been working on our application for about a year now and today we performed a manual stress test with about 70 users. Our SQL server and WinForms application ran smooth, however, once the web application hit around 20 users, the server started acting strange. One error that we received multiple times was when a stored procedu...

Configure an IIS Site to default to non-root directory?

Say I have a directory structure like so: /public /public/company /public/globals /public/globals/images /public/jobs /public/jobs/it ... etc. What I would like to do is to be able to configure an IIS Site to load from /public/company when visiting the domain root. I know I can change the site to /public/company, but if I do that, I...

problem using IIS7 SMTP with C#

Hello, I'm trying to make a C# application that sends email notifications, utilizing using the Microsoft SMTP server. The computer where both the SMTP and the C# app are is a Windows Server 2008 with IIS7. It might be confusing to point out IIS7 in the topic since the new SMTP server comes as a feature of Windows Server 2008 and not II...

Programmatically change IIS7's ApplicationHost.config on Windows 2008 64-bit

I need my 32-bit InstallShield installer to make a change to ApplicationHost.config (Part of IIS7). I want to set the value of overrideModeDefaults from "Deny" to "Allow" for the ipSecurity configSection. This works fine in Windows 2008 32-bit, but not in Windows 2008 64-bit. The problem is that the installer only looks in systemWOW64...

Do parent website application pools serve child application pools as well?

I am running a .NET web application in its own application pool on IIS7. The parent website is set to run in its own application pool. Today we noticed a huge number of connections going to IIS. I tried to browse a plain ol' .html page in the directory of the web application and it hangs. I then try to browse another plain .html file in ...

Creating a long running, nightly task in .NET 3.5 for use on Windows Server 2008

I have a long running, compute and disk intensive task that needs to run nightly on Window Server 2008; my Framework of choice is .NET 3.5 sp1. There's a chance this task could fail too for any number of reasons (i.e. lack of disk space) and I'd like to make sure errors are handled & reported reasonably. Also, this task would require p...

Deploying ASP.NET app on Windows 2008 R2

Hi, I have a ASP.NET web app (.NET 3.5 SP 1) compiled on a Windows XP x86 (32 bit) box. The app currently runs on a Windows 2003 (IIS 6) server. I'm planning to move the application to a Windows 2008 R2 (64 bit) server. I was wondering if anyone has had any experiences with a similar migration? Does a x86 ASP.NET web app work out-of-the...

Recreate DefaultWebsite on IIS7 / Windows Web Server 2008

Dear All, I have accidently deleted the default-website on an "experimental" machine. It is a standard-installation of "Windows Web Server 2008" with II7 running. I have already tried to create a custom website on my own, but this always fails when I try to access the website in the browser (remote and locally). There is an endless num...

CDO.Message problem on Windows Server 2008

I have a Classic ASP page that creates a CDO.Message object to send email. The code works on Window Server 2003 but not 2008. On 2008 an "Access is denied" error gets thrown. Here is a simple test page I wrote to diagnose the problem. How can I get this to work on Windows Server 2008? dim myMail Set myMail=CreateObject("CDO.Message") ...

PHP fopen/fwrite problem on IIS7

I am running PHP5 on IIS7 on Windows Server 2008 R2. Check out the below code which writes a string received via a POST request parameter into an XML file. <?php $temp = ""; if($_SERVER['REQUEST_METHOD']=="POST"){ if($_POST["operation"]=="saveLevels"){ $fileHandle = fopen("c:\\inetpub\\wwwroot\\test\\xml\\levels.xml", 'w'); ...

VB6 Apps Hangs only in Vista/Win7/Win2008 Must reboot to bring them back

I have vb6 apps that runs without any problems for hours on vista/32/64 or win7/32/64 and Xp32/64 machines. It sometimes hang in XP machines but I can just close the app in Task Manager then restart without any problems. Now with Vista/Win7, it still hangs after several hours then I close the apps with Task Manager then restart the app...

File open fails initially when trying to open a file located on a win2k8 share but eventually can succeeed

Core of the problem: I receive "(0x80070002) The system cannot find the file specified" for roughly 8 to 9 seconds before it can open it successfully. In a nutshell, we have two com components. Component A calls into Component B and asks for a UNC filename to write to - the filename returned doesn't exist yet, but the path does - it th...

Windows Media Service 2008 authentication plug-in sample?

Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + Windows Media Service 2008 on Windows Server 2008. I want to develop a custom authentication sample. I want to use C#. But what I find is C++ samples. For example, http://msdn.microsoft.com/en-us/library/dd892688%28VS.85%29.aspx Any simple C# samples? thanks in advance, George ...