windows-server-2012

Fiddler4 in windows server 2012 provokes RestSharp Requests to be null

为君一笑 提交于 2020-01-06 07:37:28
问题 So I'm testing Neo4J in pure REST (no Neo4JClient) and I have this code: var client = new RestClient("http://url"); string requestText = "{ \"query\" : \"start x = node(1) match path = (x--IsFriendOf) return path, IsFriendOf.name\", \"params\" : { }}"; var request = new RestRequest(); request.Method = Method.POST; request.RequestFormat = DataFormat.Json; request.Resource = "/foo/bar"; request.AddHeader("Content-Length", requestText.Length.ToString()); request.AddHeader("Host", "ip:port");

How can I make ARR work with SSL offloading DISABLED? 502.3 Bad Gateway

☆樱花仙子☆ 提交于 2020-01-04 03:56:29
问题 So I have been hitting this error for days now. I have googled and googled but nothing seems to resolve my scenario and am hoping someone out there can help. The problem: When I disable SSL offloading in ARR (Routing Rules) I receive the following: 502 - Web server received an invalid response while acting as a gateway or proxy server. There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the

Why is JDK1.8.0u121 unable to find the kerberos default_tkt_enctypes types? (KrbException: no supported default etypes for default_tkt_enctypes)

[亡魂溺海] 提交于 2020-01-02 05:07:13
问题 Following are my environment details:- KDC Server : Windows Server 2012 Target machine : Windows 7 JDK Version : Oracle 1.8.0_121 (64 bit) I'm getting the following exception on running the Java's kinit command the on Windows 7 machine :- C:\Program Files\Java\jdk1.8.0_121\bin>kinit -k -t "C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\tomcat_ad.keytab" HTTP/dev26.devdevelopment.com@DEVDEVELOPMENT.COM Exception: krb_error 0 no supported default etypes for default_tkt_enctypes No

AppFabric Cache memory very intensive

北城以北 提交于 2019-12-31 04:05:33
问题 The question(s): Am I doing something wrong? Incorrect config setting? Is the amount of memory usage by AppFabric shown below normal? The problem: I am reading the data from a SQL database table into AppFabric cache memory. It seems like AppFabric uses a large amount of memory for a fairly small object and I cant understand why(I have recently started using ApppFabric-so I am a noob with it) Description: A SQL table of about 60MB converts to about 800MB once in AppFabric cache. Details: SQL

Alternative for the Registering ASP.NET 4.5 on Windows Server 2012

纵然是瞬间 提交于 2019-12-30 03:17:06
问题 I am getting MIME is not registered error when I run WCF service. I used this link to resolve this issue. After that I started getting another error which asked me to register the ASP.NET framework with IIS. So I used "aspnet_regiis" command for it but it shows me following error. Microsoft (R) ASP.NET RegIIS version 4.0.30319.17929 Administration utility to install and uninstall ASP.NET on the local machine. Copyright (C) Microsoft Corporation. All rights reserved. Start installing ASP.NET

Unable to send powershell email using php script to outlook using iis windows server 2012

廉价感情. 提交于 2019-12-25 05:36:52
问题 Error -: New-Object : Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80010001 Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)). At D:\get-process.ps1:5 char:12 + $Outlook = New-Object -ComObject Outlook.Application + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (:) [New-Object], COMExcept ion + FullyQualifiedErrorId :

Firewall rules to allow remote connection to SQL Server in a different domain

喜欢而已 提交于 2019-12-24 17:25:45
问题 I recently installed SQL Server Express 2014 on a series of machines running Windows Server 2012. Seven machines in total. All but 1 of them live in the same local domain company.local . A single rogue machine lives in a different public domain public.company.org . The installation process on this machine on a separate domain was carried out by someone who was not paying much attention to the process and pretty much selected all defaults (a.k.a. a click-click-click installation.) As such,

.net giving 400 bad request on get request made from certain server

左心房为你撑大大i 提交于 2019-12-24 16:19:04
问题 If I run IE on my computer as the user DOMAIN\automatic the url works: right click IE shift + right click "Internet Explorer" in the menu run as different user When opening the url http://server/ClearCache there is no problem. When I do the same with powershell and run it again as DOMAIN\automatic the following script runs: $url = "http://server/ClearCache" $req = [system.Net.WebRequest]::Create($url) $req.UseDefaultCredentials = $true $res = $req.GetResponse() $res The route ClearCache has

Remove Ip From Ip and domain restriction through powershell

社会主义新天地 提交于 2019-12-24 12:40:14
问题 I am able to add IP in the IIS IP and domain restriction list through powershell, but cant able to remove the IP from there. example: add-WebConfiguration /system.webserver/security/ipsecurity -Location "iis:\default web site" -Value @{ipaddress="192.168.1.1";allowed="true"} How can I remove the same ip from there through powershell 回答1: I needed the same and this is working: Remove-WebConfigurationProperty /system.webServer/security/ipSecurity -location "iis:\default web site" -Name "."

Postgres pgAdmin III Access to Database Denied

≯℡__Kan透↙ 提交于 2019-12-24 07:09:09
问题 I get the following error when attempting to connect to the Postgres instance on my server. Access to database denied The server doesn't grant access to the database: the server reports FATAL: no pg_hba.conf entry for host "fe80::2d93:af94:879c:4fa%12", user "postgres", database "postgres", SSL off I have tried the three obvious solutions found HERE. Namely I attempted Syed Aslam solution found in that^ link. I tested that I was restarting the service correctly by removing some config to