iis-8.5

IIS 8.5: Change authentification mode for url sub path

余生颓废 提交于 2019-12-21 22:02:12
问题 We have a client intranet web application running as a remote proxy on IIS 8.5 with Windows Authentication enabled. Now, we need to disable Windows Authentication and enable Anonymous Authentication on the URL sub path /api/ to make all data from this path publicly availailbe within the client intranet domain. Actually, the solution from chensformers (Add authentication to subfolders without creating a web application) sounds quite promising. However didn't get it to run yet as I am missing a

IIS 8.5: Virtual Account for App Pool (IIS AppPool\{Application Pool Name} is not available

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-21 07:55:50
问题 I am running IIS 8.5 on a Windows 2012 R2 Core box. I created a new application pool called "MyNewAppPool". I have a website instance, called "MyNewWebsite.com" running in the "MyNewAppPool" application pool. The Identity used for "MyNewAppPool" is "ApplicationPoolIdentity". It is my understanding that I can assign security permissions for application pools in IIS 8.5 by using the auto-generated local virtual accounts, which will be named "IIS AppPool\{Application Pool Name}". So, in Windows

PHP 5.5 and MSSQL driver: Installing ODBC Driver 11 in Windows Server 2012 R2

南笙酒味 提交于 2019-12-21 04:06:13
问题 I have a Windows Server 2012 R2 with IIS 8.5, and another server with MSSQL 2012. I must install PHP in IIS and connect to MSSQL, and I don't have Internet available for Web PI. I managed to install PHP 5.5 and I'm able to run phpinfo() , and I also assured that php.ini is being loaded from C:\php\php.ini . I was also able to load sqlsrv driver, it reports in example sqlsrv.ClientBufferMaxKBSize 10240 10240 . But when I execute a php file that connects to DB, I get a message This extension

Force locale with Asp.Net Core

偶尔善良 提交于 2019-12-21 02:57:15
问题 I'm having some odd issues with a web application written using Asp.Net Core 1.1, using the full .Net Framework v4.6.2. I want to force the application to use a swedish locale (sv-SE). This is working just fine on the development machine (of course...) but not on the server where it's supposed to run (running Windows Server 2012r2). I've tried the following: 1) Putting "SiteLocale": "sv-SE" in the appsettings.json file. 2) Putting the following in the web.config <configuration> <system.web>

Setting MaxWebConfigFileSizeInKB in IIS8.5

三世轮回 提交于 2019-12-19 16:35:47
问题 I have a web.config file that references a rewrites.config file that is used by the inbuilt IIS Rewrite module. However my rewrites.config file is larger than 250kb, so i have followed the advise on this post. However it appears that in IIS 8.5 (Windows Server 2012) these keys are ignored. I've search the interwebs and haven't been able to find much on IIS 8.5, anyone got any advice on how to increased the maximum.config size? Or alternatively split rewrites.config into smaller files? 回答1:

IIS8.5 is automatically changing Physical Path property

别等时光非礼了梦想. 提交于 2019-12-19 08:48:10
问题 I have a couple of Applications added under my Default Website in IIS8.5 (simply http on port 80 IP=*) They point to different physical paths (which are not nested) and this works fine after adding such an application. But after a while the Physical Path of one of the applications automagically changes to the physical path of another Application. Why? I have flushed my DNSCache and removed and added the Application once again, but something is changing the physical path of my configuration.

Missing “Import Web Application” option in Web Deploy 3.6

女生的网名这么多〃 提交于 2019-12-17 22:34:27
问题 Using Web Deploy 3.6 both on IIS 8.5 (Windows Server 2012 R2) and IIS 7.5 (Windows 7), I cannot find the Deploy -> "Import Web Application" option. The "Export Web Application" is also missing (see screenshot) I can still see the "Install Application from Gallery" but that does not really help. All works fine with Web Deploy 3.5. Are the Import / Export Web Application options removed in 3.6? If yes, what is the alternative to deploy a standard ASP.NET MVC app to IIS 8.5 with Web Deploy 3.6?

Web service method works fine on development computer but failed on server

佐手、 提交于 2019-12-14 00:40:00
问题 I have a serious problem with ASP.NET web service. I have a web service method that checks for the existence of user password in my project's database. I wrote the method inside an asmx file to access to it. [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. [System.Web.Script.Services

MVC 6 Windows Server 2012 R2 IIS 8.5 - Error: Unable to load application or execute command 'Microsoft.AspNet.Server.Kestrel'

余生长醉 提交于 2019-12-13 21:43:15
问题 When trying to deploy a MVC 6/ASP.NET 5 application to IIS I get the error Error: Unable to load application or execute command 'Microsoft.AspNet.Server.Kestrel'. Available commands: web, ef. in the stdout log file. I published the application using Visual Studio 2015 and it runs ok if I call web.cmd directly in a command prompt. My project.json file looks like { "userSecretsId": "aspnet5-H3CustomerPortal-2b9cfc76-487a-41dc-a29f- c81e45251c25", "version": "1.0.0-*", "compilationOptions": {

change web application authentication to use Windows Authentication

半腔热情 提交于 2019-12-13 04:19:58
问题 I'm trying to publish my web application on IIS 8.5, but I'm getting this error when the application tries to retrieve data from the SQL Server 2008. InnerException: {Message:An error has occurred., ExceptionMessage:Login failed for user 'domainname\WES-JXC2J02$'.,…} ExceptionMessage: "Login failed for user 'domainname\WES-JXC2J02$'." The SQL Server doesn't have WES-JXC2J02$ listed as the authorized user because it's my dev machine name. If I try to add the machine name as user in SQL Server