windows-server-2008-r2

Manage DNS Zone in "slave" Mode with MS Windows 2008 R2

Hello @all following issue, I configure a DNS Zone "location.domain.tld" for my internal Network and it works well, but now I want to manage the domain.tld for my internal Network, but the domain.tld is managed by an external DNS Provider. In location.domain.tld there are all Clients and Servers for internal use only (with local IPs)...

Windows Server 2008 R2 + IIS 7.5 + ASP.NET 4.0 = HTTP Error 500.0

I am having an impossible time getting asp.net 4.0 to work in any fashion at all. In fact, I completely wiped my server, reinstalled with Server 2008 R2 Standard (running on a VMWare ESXi box, not that it should matter), and cannot even get a test .aspx page to work. Here is exactly what I did: Installed 2008 R2 Standard Activate...

CREATE_NO_WINDOW flag used in ::CreateProcess() function does not work in Windows Server 2008 R2 WoW64 environment.

Hi All, I have a MFC application that uses ::CreateProcess() function for creating "cmd.exe" for executing the command with hidden window. The window name has been defined in the STARTUPINFO structure which is used with the ::CreateProcess() function. I am using ::FindWindow() API to get the handle of this window. ::FindWindow() API is...

Windows Server 2008 R2 File Permissions

I’m having some problems understanding some particular file permissions behaviour. Here are the steps to reproduce: Log into the server using the default Administrator account Create a text file (testfile.txt) in C:\ProgramData containing some arbitrary text Create a new user account and make it a member of the Administrators group Log...

C# How to maximize chance that particular section of code will have no context switch?

I have time-critical piece of code in my app. I made the thread which runs it Highest priority - that's the most I could do. Is there any suggestions on how to make part of the code run in this thread to be interrupted as few times as possible (less context switch occurred) ? The code is not complicated. I replaced all the method calls...

Windows Server 2008 R2 time slice size?

How big is time slice for a thread to run in W2008R2 ? ...

Performance monitor: all heap .NET heap counters are wrong and show zero bytes in use

This worked the other day and all counters (Total committed bytes, %Time in GC, Gen 0 heap size, Gen 1 heap size, Gen 2 heap size and Large object heap size) were all showing explicable amounts. The counters all come from object .NET CLR Memory and use instance w3wp (IIS worker process). However, since this morning, all counters are zer...

ReadEventLog() API fails with error code 87 on Windows Server 2008 R2 while reading Application/System/Security event logs from system.

Hi All, I have an MFC application which reads system (i.e. Application/System/Security) event logs on Windows Server 2008 R2 in WOW64 environment. I am facing a problem with std SDK ::ReadEventLog() function in Windows Server 2008 R2. Below I have provided the code snippet, but the same code/API works perfectly in Windows XP WOW64 & x64...

Setting user's password via System.DirectoryServices.Protocols in AD 2008 R2

Hello. I am connecting to a Microsoft Active Directory server in a DMZ from my .net application (asp.net VB .net 4.0). I need to create a new "inetorgperson" in an orgunit called "SingleCustomerAccount". I have had to use the System.DirectoryServices.Protocols namespace for all the work, because the ADSI classes (System.DirectoryServic...

create a link for a word document on windows server and IIS 7

I need to create a http link for a document i have on windows sever, do i need to configure something with IIS? ...

Use of StateServer with C# Website?

I've got two web portals that are almost identical in architecture. One requires that I add the following to my web.config and enabling the state server, as the logged-in user sessions expire after 2-5 seconds: <sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424" coo...

Timeit in Windows Server 2008 R2

timeit doesn´t work in Windows Server 2008 R2. Which other could I use? ...

Unable to make Business Intelligence Projects. How do I resolve a "Configuration system failed to initialize" error message?

My problem is that I am receiving a "Configuration system failed to initialize." error every time I try to open or create a Business Intelligence Project in Business Intelligence Development Studio. I am on a fairly new install of Windows Server 2008 R2 Enterprise in which I first installed SQL Server 2008 R2 Enterprise (with the Busine...

Newly deployed website (in new environment) renders slowly in IE only

We have a brand new deployment environment for testing asp.net website builds. I’ve deployed the latest version of the website to this new server (decent specification, by no means a slouch) but when I hit the new pages in IE they render horrendously slow, taking about a minute to render the page. However, in Firefox and other browsers i...

Custom implementation of IPrincipal throws System.SystemException: The trust relationship ...

We have a ASP.NET site that partially depends on forms authentication for login credentials, however the implementation of IPrincipal is completely custom. But, when running the site on a particular server (which is somewhat semi-hardened when it comes to security), the app crashes when invoking IPrincipal.IsInRole() with the following ...

sharepoint 2007 installation an installation package for the product microsoft office document lifecycle components cannot be found.

Hi all When I try to install MOSS 2007 on Windows Server 2008 R2, the installation stops and I receive the following error: sharepoint 2007 installation an installation package for the product microsoft office document lifecycle components cannot be found. try installation again using a valid copy of installation package 'dlc.msi'. Wha...

IIS 7 on Win 2008 R2 does not display images by default.

I have some images hosted on the Default Web Site on IIS 7 but when i attempt to browse them IIS blocks the images. Help me please! )) ...

Adding application level authentication using ActiveDirectory

I am not sure if this is the right place to ask this question or no but i could not find any other website. I want to give access of different applications using ActiveDirectory. Before you answer this question, let me explain you few things I know only the very basics of AD When i said application security, I meant that those applic...

How to install PHP in IIS 7.5, Windows Server 2008 R2 (64bits)

In http://windows.php.net/downloads I couldn't find any x64 built for download. Further I have to choose among "Thread Safe" and "Non Thread Safe" with no explanation whether one is safer than the other or it performs better. The install.txt inside the available ZIPs for download seems out-dated an it doesn't mention anything about this....

How should i setup an Active Directory on WinServer 2008r2 to use with TFS in extranet?

I'm trying to deploy Moss and tfs for extra net at home with win server 2008 r2. How should i configure win server active directories? Web server + Active Directory + SqlServer + MOSS + tfs is it enough for successful config? ...