windows-server-2008-r2

The following exception was thrown by the web event provider 'EventLogProvider' [closed]

雨燕双飞 提交于 2019-12-10 14:53:29
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I can't get a new ASP.NET 4.0 application to work on IIS 7, in Windows 2008 R2. All I can see in my event log is the below error. I can't seem to find any information about what it means, can anybody help? Log

Import-PSSession fails in script, works in shell

喜欢而已 提交于 2019-12-10 14:22:52
问题 I'm new to Powershell scripting and I'm working on a user management Powershell script, but I have run into a strange error. The following code works when I run it from the shell, but not when it is run from a script: $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionURI http://servername/Powershell/ -Authentication Kerberos -Credential $UserCredential -AllowRedirection Import-PSSession $Session When I run it in a script with a Param()

Got “Access is denied” when I tried to install 64-bit mongodb in Windows server 2008

让人想犯罪 __ 提交于 2019-12-10 12:32:35
问题 All I did is to run below script: D:\Tools\MongoDb\bin\mongod.exe --dbpath D:\MongoDb\data\ Then I got exception: Error connecting to the service Control Manager: Access is denied. (5) I was using administrator account to operate this, I already created folders related to the script. And I didn't experience issue like this when I installed 32-bit mongodb in 32-bit Windows Server 2003. I appreciate any help about this! 回答1: You need to install it from the command prompt that you have opened

JQuery to asmx fails on Windows 2008 R2 SP1

∥☆過路亽.° 提交于 2019-12-10 06:06:35
问题 Since the installation of SP1 we are facing problems in calling asmx pages from JQuery client code. IIS is pointing the JQuery post call to his default 404 page. We did a roleback of our environment to assert this issue is caused by SP1 and tests confirm it. Waiting for a fix @MS Technologies used: ASP.Net 4.0 - JQuery - IIS 7.5 - Windows 2008 R2 SP1 --Bart Code Sample calling (front-end): // Code to load vars... $.ajax({ type: "POST", url: "/Handlers/ProductRating.asmx/RateProduct", data: "{

Differences between Windows 7 and Windows Server 2008 R2

孤街醉人 提交于 2019-12-10 03:11:15
问题 There are features and APIs that are included in Windows 7 or Windows Server 2008 R2, but not the another. Where can I find a specific list of the differences? Is there anything to especially avoid if the program is to be compatible with both? Naturally, the question can be generalized to any version of Windows and its respective server edition. 回答1: https://serverfault.com/questions/55355/whats-the-difference-between-windows-server-2008-2008-sp2-and-2008-r2 In general, the core API set of

32-bit DLL “may not compatible” on Server 2008, but works on Server 2003

痴心易碎 提交于 2019-12-09 07:53:38
问题 We have a project that compiles to a 32-bit COM DLL and to a 64-bit COM DLL (the same one from my earlier question). When I register both on my Windows 7 machine, both register successfully. When I register both on a Windows Server 2003 machine, both register successfully. But when I try to register the DLLs on a Windows Server 2008 R2 standard SP1 machine, the 64-bit DLL registers successfully, but the 32-bit DLL fails with the message (sic): The module ""%1"" may not compatible with the

TeamCity Agent Missing DotNetFramework4.0_x86, but not?

我的梦境 提交于 2019-12-08 21:38:36
问题 I've been trying to move our TeamCity install from an old server onto a new Windows Server 2008 R2 server, I've finally got everything configured. However the build agent is saying that DotNetFramework4.0_x86 isn't available on the build agent, but .NET 4.0 framework is installed. Has anyone come across this issue, is it a Windows Server 2008 R2 thing? 回答1: Your build agent seems to failed to autoupgrade. Do the following: stop agent kill all java processes remove agent/system, agent/plugins,

Why isn't my machine.config HttpModule running in my web app?

左心房为你撑大大i 提交于 2019-12-08 09:12:19
问题 I wrote a HttpModule in .NET 3.5, 32 bit Win 2003, IIS 6 that worked great. Its assemblies were in the GAC and the config was in the machine.config . Everything has been great for years. I just brought it all over to a new .NET 2-4, 64 bit Win 2008 R2, IIS 7.5 machine and put the same, old configuration in the machine.config . Unfortunately, the module isn't listed as those that are running on the site. When I put the configuration directly into a site's web.config , then it runs as expected.

IIS & service-based generation of web images - GDI, GDI+ or Direct2D?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 06:19:36
问题 It is May 2017. My boss has asked me to produce some code to make some custom web images on our website based on text that the user enters into their browser. The Server environment is Windows 2012 running IIS, and I am familiar with C#. From what I read I should be able to use GDI+ to create images, draw smooth text into them etc. However, one of my colleagues suggested GDI+ may not work on Windows Server, and that GDI+ is based on older GDI which is 32-bit and will therefore be scrapped one

Changing owner of HKCR\CLSID\* key to Administrator on Windows Server 2008 R2

爱⌒轻易说出口 提交于 2019-12-07 17:53:55
问题 There is a registry key on Win Server 2008 R2, HKCR:\CLSID\{76A64158-CB41-11D1-8B02-00600806D9B6} whose owner is not Administrator. It is TrustedInstaller. Now to make Remote DCOM/WMI connection working, I need to give Administrator the permission to have Full Control over this key and ownership as well. As this needs to be done on several machines, I was hoping I could do this using Powershell. I followed these Controlling Registry ACL Permissions with Powershell Change the owner of