iis-7.5

Hows does one prevent passwords and other sensitive information from appearing in an ASP.NET dump?

坚强是说给别人听的谎言 提交于 2020-01-30 15:26:28
问题 How does one prevent passwords and other sensitive data submitted to and received from ASP.NET web pages in IIS/ASP.NET dump files? Steps to reproduce Using Visual Studio 2010, create a ASP.NET MVC 3 intranet application. Configure it to use IIS 7.5. Fire it up and register an account (say bob123 as the user and Pa$$w0Rd as the password. I'm assuming that the SQL Express database is created and the site is fully functional. Using task manager, right click on the w3wp process and create a dump

ERROR: Invalid domain for site key reCaptcha

夙愿已清 提交于 2020-01-30 12:22:17
问题 I registered my domain and added the key but want to test the site on my local machine. I publish the project on my machine to wwwroot and at the moment it runs on port number 8080. I get the error ERROR: Invalid domain for site key reCaptcha when trying to run it on my local machine. Is there a way testing this on the local machine? 回答1: Check your domains at https://www.google.com/recaptcha/admin, if you are using localhost you most set your domain to "localhost". 来源: https://stackoverflow

How do I process .asp extensions using the .Net handler?

被刻印的时光 ゝ 提交于 2020-01-30 10:53:17
问题 I have an older classic ASP website that I am migrating over to IIS7.5. I don't feel like installing classic ASP on the server, and so I just want the .asp files to be treated as if they were .aspx files. How do I go about doing this in IIS7.5? EDIT: To clarify, I am NOT asking how to get classic ASP code to work under .Net. I am just asking how to map the .ASP file extension to be handled by the .net runtime. I will upgrade the code in the .asp files to .net. EDIT: I gave up and ended up

Process.Start() under asp.net?

烂漫一生 提交于 2020-01-28 06:30:29
问题 According to msdn : ASP.NET Web page and server control code executes in the context of the ASP.NET worker process on the Web server. If you use the Start method in an ASP.NET Web page or server control, the new process executes on the Web server with restricted permissions . The process does not start in the same context as the client browser, and does not have access to the user desktop. Which account precisely is the "restricted permissions" ? Example : I'm logged to win7 as RoyiN windows

Process.Start() under asp.net?

一笑奈何 提交于 2020-01-28 06:30:04
问题 According to msdn : ASP.NET Web page and server control code executes in the context of the ASP.NET worker process on the Web server. If you use the Start method in an ASP.NET Web page or server control, the new process executes on the Web server with restricted permissions . The process does not start in the same context as the client browser, and does not have access to the user desktop. Which account precisely is the "restricted permissions" ? Example : I'm logged to win7 as RoyiN windows

Url rewrite and custom error message

試著忘記壹切 提交于 2020-01-25 21:27:24
问题 I have a website and a api configured on my host listening on 80 and 443. I am trying to split the 2 and put them on separate ports and use IIS url rewrite to route requests. So, I created a new blank site with just a web.config and put my rewrite rules there, my requests are being routed correctly, however I am not able to get the case working where the API returns 400. i.e. if you ping the API with a Bad request directly (specify the port), it correctly returns a 400 Bad request json

Url rewrite and custom error message

痞子三分冷 提交于 2020-01-25 21:27:13
问题 I have a website and a api configured on my host listening on 80 and 443. I am trying to split the 2 and put them on separate ports and use IIS url rewrite to route requests. So, I created a new blank site with just a web.config and put my rewrite rules there, my requests are being routed correctly, however I am not able to get the case working where the API returns 400. i.e. if you ping the API with a Bad request directly (specify the port), it correctly returns a 400 Bad request json

Server.CreateObject(“MSWC.ContentRotator”) error 'ASP 0177 : 800401f3'

瘦欲@ 提交于 2020-01-25 06:03:32
问题 I'm migrating a classic asp website from iis6 (Windows Server 2003) to iis7.5 (Windows Server 2008 R2). It uses the content rotator. The schedule is tight so I would prefer not to replace the content rotator at this time. I copied adrot.dll to the new server and successfully registered it with regsvr32. Dependency Walker did not identify any issues with adrot.dll. Any idea what is causing the error? line causing error: Set objContentRotator = Server.CreateObject("MSWC.ContentRotator") error

Server.CreateObject(“MSWC.ContentRotator”) error 'ASP 0177 : 800401f3'

僤鯓⒐⒋嵵緔 提交于 2020-01-25 06:02:06
问题 I'm migrating a classic asp website from iis6 (Windows Server 2003) to iis7.5 (Windows Server 2008 R2). It uses the content rotator. The schedule is tight so I would prefer not to replace the content rotator at this time. I copied adrot.dll to the new server and successfully registered it with regsvr32. Dependency Walker did not identify any issues with adrot.dll. Any idea what is causing the error? line causing error: Set objContentRotator = Server.CreateObject("MSWC.ContentRotator") error

Access is Denied - 401.2: Unauthorized Error

泄露秘密 提交于 2020-01-24 12:17:20
问题 I have an ASP.NET website hosted on IIS 7.5 as below: I have "customwebsite.com" as the website and in it I have two Web Applications - uk & us - so that I can access these application as customwebsite.com/uk & customwebsite.com/us. customwebsite.com directory does not have any web.config and have only two folders for web application us and uk. Both us and uk web application have their individual web.config and have Form Authentication specified as below: <authentication mode="Forms"> <forms