iis-7

How can I get Chrome to delegate credentials without opening asp.net apps in IE first?

懵懂的女人 提交于 2019-12-13 03:06:41
问题 I get the following error in Chrome browser (if I have NOT opened the app in IE first): : Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' and depending on the code used to get the username I might get this error: System.DirectoryServices.DirectoryServicesCOMException: An operations error occurred I've narrowed down the issue to Chrome gets to the impersonation level of " Impersonation " whereas IE gets to the impersonation level of " Delegation ". I wrote a simple app c#.net 4.5.2 called

ASP.NET Website Compatability issue on IE11

浪子不回头ぞ 提交于 2019-12-13 02:58:38
问题 I have a Website developed in ASP.NET which works fine in Chrome, Firefox browsers but not IE. It requires the Compatability to be set specifically in the browser. If we remove the compatability, the website is rendered useless. Is there some solution to this other than putting in Meta Tags like : <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> 回答1: Most likely you have mobile.browser file in /App_Browsers . The problem is that the mobile.browser file does not have an entry for IE 11

Using Crystal Reports XI with classic asp

早过忘川 提交于 2019-12-13 02:57:06
问题 I am trying to use Crystal Reports XI for viewing/edits reports in classic ASP. I run into following error on this line : Set session ("oApp") = Server.CreateObject("CrystalRuntime.Application") Error: Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed I went through all the solutions found online but couldnt find resolution. I am using IIS7. Please help. 回答1: There are many DLL's that have to be registered. The easiest way is to install the runtime libraries from SAP (the

Using URL Rewrite for Cross-Domain Http Requests

我只是一个虾纸丫 提交于 2019-12-13 02:56:34
问题 I am trying to write an inbound rewrite rule that basically captures all the requests to the root folder /api/*, and rewrite it to api.v2.movideo.com respecting the HTTP vs HTTPS traffic. I followed the step by step instructions here: http://code.movideo.com/Setting_up_IIS7_to_use_URL_Rewrite_2.0_for_Cross-Domain_XMLHttpRequest_Calls I installed Application Request Routing http://www.iis.net/expand/URLRewrite Followed all the steps on that page, removed the instructed headers, did everything

relative links not working in CruiseControl.NET HtmlReportPlugin

倾然丶 夕夏残阳落幕 提交于 2019-12-13 02:56:19
问题 I have a merge task in the publisher area of my CruiseControl.NET project that successfully copies a collection of html and png files to the artifacts directory. I've enabled the HtmlReportPlugin in the dashboard like this: <buildPlugins> <buildReportBuildPlugin> <xslFileNames> <xslFile>xsl\header.xsl</xslFile> <xslFile>xsl\compile.xsl</xslFile> <xslFile>xsl\modifications.xsl</xslFile> <xslFile>xsl\MsTestSummary2010.xsl</xslFile> </xslFileNames> </buildReportBuildPlugin> <buildLogBuildPlugin

BizTalk low latency - response time issue calling C# to WCF-Published-Orchestration

回眸只為那壹抹淺笑 提交于 2019-12-13 02:54:39
问题 Calling a WCF published orchestration from a C# program usually is sub-second response time. However, on some occasions, it can take 20-50- seconds between the call in the C# program and the first trace message from the orchestration. The C# that runs calls the WCF runs under HIS/HIP (Host Integration Services/CICS Host-Initiated Processing). Almost everytime I restart the HIS/HIP service, we have a very slow response time, and thus a timeout in CICS. I'm also afraid it might happen during

Redirect in IIS using Variables ($1$2)

让人想犯罪 __ 提交于 2019-12-13 02:33:26
问题 Right now I have a redirect set up like this <rule name="EN" stopProcessing="true"> <match url="en/(.*)" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false" /> <action type="Redirect" url="$1$2" /> </rule> However, it is not working properly. I'm trying to get it to be so when a user types in www.mysite.com/en/anything.aspx That it redirects to www.mysite.com/anything.aspx I have a feeling I've set something up wrong, maybe incorrect syntax. Any help would be greatly

Can't get static redirects to work with IIS Url Rewrite 2.0

我怕爱的太早我们不能终老 提交于 2019-12-13 02:31:55
问题 Running the following IIS URL Rewrite setup locally and can't get it to work (from web.config): <rewrite> <rewriteMaps> <rewriteMap name="StaticRedirects"> <add key="^tvb/" value="/tv/" /> </rewriteMap> </rewriteMaps> <rules> <rule name="StaticRedirectsRule" stopProcessing="true"> <match url=".*" /> <conditions> <add input="{StaticRedirects: {REQUEST_URI}}" matchType="Pattern" pattern="(.+)" ignoreCase="true" negate="false" /> </conditions> <action type="Redirect" url="{C:1}"

Use AppCmd to LIST CONFIG in APPHOST only

这一生的挚爱 提交于 2019-12-13 01:55:22
问题 I have a requirement to use powershell to configure IIS7.5 on WebApplications that have not yet had code deployed (possibly at all, possibly old/broken web.configs exist) to the file system. I would like to be able to do this all at the APPHOST level. (Note at the bottom about use of Powershell > AppCmd). I can SET all the values properly, however, being somewhat diligent, I like to also validate the values were set properly by retrieving them after setting. Here's the scenario: I can set

Redirect http to https in default.aspx

我怕爱的太早我们不能终老 提交于 2019-12-13 00:42:54
问题 our site address is like "http://members.XXX.XX", so I want to redirect to the "https://members.XXX.XX" no matter user type "members.XXX.XX" or "http://members.XXX.XX", here is my code, and i put it in the default.aspx protected void Page_Load(object sender, EventArgs e) { if (Request.IsSecureConnection == false) { Response.Redirect(Request.Url.ToString().Replace("http://", "https://")); } if (!Request.Url.ToString().StartsWith("http://") || !Request.Url.ToString().StartsWith("https://"))