windows-server-2008

How many different places do you have to set date formats in IIS 7.0 and win2k8

送分小仙女□ 提交于 2019-12-12 21:06:44
问题 I am trying to migrate an old classic asp application to IIS 7.0 with win2k8 and I definately don't want to change the old code if I can help it. I have set a date format in the Customise Regional Options in the Date formats in the regional and and language options in the control panel to dd-MMM-yy. I am still getting Conversion_failed_when_converting_datetime_from_character_string errors using this date format even after reboots. I am using also using SQL Server Express 2005. Where else do

How can i give permission to a folder in windows server IIS 7

强颜欢笑 提交于 2019-12-12 16:23:38
问题 I'm a PHP and windows Server newbie and I'm getting the following error when viewing a form that I created in PHP. Error in exception handler: The stream or file "C:\inetpub\wwwroot\wrp\app\storage/logs/laravel.log" could not be opened: failed to open stream: Permission denied in C:\inetpub\wwwroot\wrp\vendor\monolog\monolog\src\Monolog\Handler\StreamHandler.php:84 I'm on a Windows 2008 Server R1 (64bit) running IIS 7 and PHP through Fast CGI. Except for this issue PHP is running fine on the

Impersonating in .NET using Process.Start and UAC

主宰稳场 提交于 2019-12-12 15:40:56
问题 I am trying to run programs from another .NET program that requires elevation using the impersonation option of the Process.Start (System.Diagnostics) method. The user for impersonation is a local administrator. The O/S is 2008 and UAC is turned on. Whenever calling process start I'm getting a Win32 permission error: "The requested operation requires elevation" 回答1: If the .NET application you are calling is configured properly in the app.manifest, you don't have to specify anything in the

SQL Problem “The ORDER BY clause is invalid in views…”

邮差的信 提交于 2019-12-12 12:24:49
问题 I have a SQL Server error I'm trying to resolve. Could someone please help me out? The query is: SELECT TOP 10 * FROM ( SELECT c.id, c.name, c.inserteddate, c.cityname, ftblstates.name AS statename, clc.name AS catname, '' AS listingimagelogo, '' AS orgname, relocateyn, '' AS employerclassified FROM ((tblclassifieds c LEFT JOIN tblclassifiedscategories clc ON c.categoryid = clc.id) LEFT JOIN ftblstates ON c.stateid = ftblstates.id) WHERE (c.expirydate != '') AND NOT c.id IN ( SELECT TOP 10

How can I programmatically check if a server feature is installed in Windows Server 2008?

血红的双手。 提交于 2019-12-12 09:38:13
问题 Specifically, I'm working with an application that only runs on Server 2008 if the "Desktop Experience" feature is installed, and I'd like to have that application's installer verify it's there. The only way I'm aware of currently is to run ServerManagerCmd -query and parse the output; I'd prefer something more lightweight (like checking a registry key). 回答1: This is a code snippet of what I use to do it at runtime. public static bool isServerFeatureInstalled(Win32_ServerFeature_ID id) { bool

Setting Up Windows Authentication for Apache

我只是一个虾纸丫 提交于 2019-12-12 08:50:02
问题 To begin, I've been searching the internet for about an hour trying to find out how to do this with no success - therefore I'm writing this question. I have an intranet site that requires to access the users Windows Username (not the server running Apache, but a user accessing the intranet site). I have installed adLDAP and have it working where a user can log in by that, to check the group that the user is in. But, to have my site more secure I'd rather it access the Windows username. I've

DirectoryEntry.NativeObject throws access denied for a user in Administrators group in windows 2008

别来无恙 提交于 2019-12-12 07:23:07
问题 I have a local user, which is member of Administrators local group. When I run this code: using System; using System.DirectoryServices; namespace nanttest { class Program { public static void Main(string[] args) { using(DirectoryEntry entry = new DirectoryEntry("IIS://localhost/W3SVC")) { object absobject = entry.NativeObject; Console.WriteLine("Name: {0}", entry.Name); } Console.Write("Press any key to continue . . . "); Console.ReadKey(true); } } } I receive: Unhandled Exception: System

Is the memory not reclaimed for Delphi apps running on Windows Server 2008 (sp1)?

旧街凉风 提交于 2019-12-12 07:16:34
问题 We have a D2007 application whose memory footprint grows steadily when running on Windows Server 2008 (x64, sp1). It behaves normally on Windows Server 2003 (x32 or x64), XP, etc... where it goes up and down as expected. We have tried with the included Memory Manager or the latest FastMM4 4.92 with the same results. Has anyone tried to monitor the memory usage of any Delphi app on Win2008 and would confirm? Or would have any clue? Precisions: - no memory leaks in the common sense (and yes I'm

Windows 2008 / IIS 7 Website works fine in 64bit mode does not work in 32bit mode

戏子无情 提交于 2019-12-12 07:03:32
问题 I am building web site on windows 2008 / iis7 that requires 32bit mode for reporting functionality. Everything working fine with app pool allow 32bit applications set to false, but when I set app pool to allow 32bit application set to true I get 404 error because the path being called is getting changed. Below is clip from the IIS log: uat set to false - Works fine 304 means that the request is cached 2012-07-09 18:29:56 xxx.xx.xxx.xx GET /Metron/images/flags/ae.png - 80 - xxx.xx.xxx.xxx

VB6 Server.CreateObject(“WebClassRuntime.WebClassManager”) fails on Windows Server 2008

旧城冷巷雨未停 提交于 2019-12-12 03:58:34
问题 I'm trying to get a VB6 Webclasses application running a Windows Server 2008 box. I was successful on one, and went to repeat my steps be sure before sending it off to QA and it doesn't work on the second server. I have the application pool set to .NET 2.0 and Enable 32bit = true. ASP and IIS6 Metabase Compatibility are installed on the server. Under my Application > ASP, I set Enable Parent Paths to True. I have copied over and registered the dlls specific to the app, as well as MSWCRUN.dll,