windows-server-2008-r2

Windows Server 2008 r2 + IIS7: .mp4 files can not be played

雨燕双飞 提交于 2020-01-11 12:37:11
问题 I have the strange trouble.Folder of web application in my server (IIS7.5, Windows Server 2008 R2). Web application has Video player. <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <video src='<%# ResolveUrl(GetVideoHandler(Eval("id"))) %>' width="900" height="400" controls="" preload=""></video> </ItemTemplate> </asp:Repeater> It can play .mp4 on my local System, but it don't play on live server when i accessing a video on other system.i have a Value gettong in ResolveUrl

Creating private queues in PowerShell on Windows Server 2008 R2

拜拜、爱过 提交于 2020-01-07 05:05:48
问题 I googled how to do this and I found this code: Write-Host "... create a new queue" $q1 = [System.Messaging.MessageQueue]::Create(".\private$\myqueues") Write-Host "... create new queue, set FullControl permissions for queuename" $qb =[System.Messaging.MessageQueue]::Create(".\private$\queuename") $qb.SetPermissions("queuename", [System.Messaging.MessageQueueAccessRights]::FullControl, [System.Messaging.AccessControlEntryType]::Set) but when I run it, I get this error: Unable to find type

Wordpress portal not accessible from intranet

谁说胖子不能爱 提交于 2020-01-05 23:18:48
问题 I'm trying to build a portal for my organization, using Wordpress. I have installed windows server 2008 R2, Wampserver 2.5 and the WP 3.9.1. I followed the Wampserver's guide to setting a virtual host for the site. On the server machine everything works ok. Localhost at the address bar shows Wamp's main page and the link to the site shows only the site's name (without localhost) and when I click it it loads ok. The problem is when trying to access it form a client machine on the intranet.

Where are the C++ compiler folders LIB and INCLUDE located?

一笑奈何 提交于 2020-01-05 05:49:12
问题 I'm trying to set C++ compiler for IBM DataStage ETL tool. I installed Microsoft Visual C++ 2008 Redistributable (x64) for my Windows Server 2008 R2. The DataStage guide says that Visual Studio .NET 2008 Express Edition C++: Set the LIB environment variable to the location of the library directory for the SDK. For example, for Microsoft Visual Studio .NET 2008 Express Edition C++, a typical location is C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib. Set the INCLUDE environment variable to

Windows permissions on a directory: Mercurial - hg merge - “abort: access is denied”

元气小坏坏 提交于 2020-01-03 17:28:40
问题 Background: this is running on a Windows 2008 Server. https://www.mercurial-scm.org/wiki/Workflows#Feature_separation_through_named_branches I'm a Mercurial newbie, and am trying to follow the advice above where it says to "Merge default into your feature as often as possible" -- and I've done this a couple of times previously today, already, with other files. However, this newest change just won't merge. When I do the 'hg merge default' I get the error "abort: Access is denied". After

How do I debug an environment specific bug?

▼魔方 西西 提交于 2020-01-03 01:22:11
问题 I have an application that is running absolutely fine on local computers, using a variety of environments (SQL, Windows). However, we have one particular environment where it fails to run, throwing up a c0000005 error in clr.dll. Are there any techniques that I can use to identify what is going on in this particular (somewhat restricted) environment? The C# code is not hit, so there is something in the initial load and setup of the app that is failing. I don't expect an answer to why it is

Services crashed with event name [CLR20r3] [duplicate]

坚强是说给别人听的谎言 提交于 2020-01-02 04:45:10
问题 This question already has answers here : Deciphering the .NET clr20r3 exception parameters P1..P10 (2 answers) Closed 5 years ago . I have created a service in .Net c# that basically send emails periodically. The service works fine on my x32 XP machine but when i deploy the x64 build on an another 'x64' based Windows Server 2008 R2 machine, the service starts and just stops after few seconds and in event log it has this: Fault bucket , type 0 Event Name: CLR20r3 Response: Not available Cab Id

Stdin to powershell script

为君一笑 提交于 2020-01-02 04:12:08
问题 I have a service running that can invoke an external process to modify a text stream before it is returned to the service. The text stream is handed from the service to the external process on stdout and the modified result is read from the service on stdin. The external process (command) can in other words be used as a text "filter". I would like to use a powershell script to modify the text stream. I can successfully launch a script from the service on win 2008r2 using the command

Remotely change computer name for a Windows Server 2008 machine using C#?

此生再无相见时 提交于 2020-01-01 18:59:10
问题 Might someone be able to point me towards a conclusive resource to learn how to remotely change a computer name on a Windows Server 2008 machine using C# I've looked at lots of sites for help and now in day two of my task and not really any closer (other than deciding WMI is pretty much my only option) Totally out of my normal skillset so I guess pretty much any info would be nice, but especially anything having to do with changing a computer name remotely. (this would occur right after I

How to execute a program in compatibility mode from code?

我的梦境 提交于 2020-01-01 14:23:37
问题 Environment: Windows Server 2008 R2 64 bit I have a program that works with Windows Server 2003 SP1 compatibility mode . However, when I try to execute this program using C#, the program errors out. I think it is because it is not running in compatibility mode when invoked from another program. I use Process.Start(pathToExe) from my code to start this program. I tried to run the calling program in compatibility mode to check if this would make the program run correctly. Please note that I