iis-7.5

ServerManager CommitChanges makes changes with a slight delay

爱⌒轻易说出口 提交于 2020-01-13 04:27:06
问题 i have a little problem with the ServerManager class (from the Microsoft.Web.Administration assembly) and i hope some of you can help me out. Basically I need to create a new application inside a site (using IIS 7.5) and redirect the user to the new application, inside the same event.This functionality is implemented inside a .net web app using mvc 3/c#. Here is my code: ServerManager iisManager = new ServerManager(); Site mySite = iisManager.Sites["mySitesName"]; ApplicationCollection

How can I debug a VB6 IIS Application on Windows 7 64-bit

别来无恙 提交于 2020-01-12 14:26:48
问题 I have a need to be able to debug a Visual Basic 6 IIS Application on Windows 7 64-bit. Not just for a single problem but for continuing development. An attempt to debug results in an error "An unspecified error has occurred" from the WebClass runtime. If I do not debug and simply access the compiled webclass the page loads just fine. Therefore, I don't believe there is anything wrong with the registration / configuration of the application but rather this is somehow related to Windows OS

How can I debug a VB6 IIS Application on Windows 7 64-bit

末鹿安然 提交于 2020-01-12 14:26:43
问题 I have a need to be able to debug a Visual Basic 6 IIS Application on Windows 7 64-bit. Not just for a single problem but for continuing development. An attempt to debug results in an error "An unspecified error has occurred" from the WebClass runtime. If I do not debug and simply access the compiled webclass the page loads just fine. Therefore, I don't believe there is anything wrong with the registration / configuration of the application but rather this is somehow related to Windows OS

Does editing a Web.config file trigger an overlapping recycle or a start+stop of the application pool?

微笑、不失礼 提交于 2020-01-12 10:10:25
问题 I have Overlapping Recycling configured for my ASP.NET MVC site. As I understand it (from this SO question), if I Recycle the Application Pool, this will spin up a new w3wp.exe process to take up the load of the one being recycled, and only when the new process is initialised and taking the load, will the old process be shut down. And if I stop/start the Application Pool, it does an immediate kill without letting the process quit gracefully or letting a replacement process spin up first.

Does editing a Web.config file trigger an overlapping recycle or a start+stop of the application pool?

淺唱寂寞╮ 提交于 2020-01-12 10:06:40
问题 I have Overlapping Recycling configured for my ASP.NET MVC site. As I understand it (from this SO question), if I Recycle the Application Pool, this will spin up a new w3wp.exe process to take up the load of the one being recycled, and only when the new process is initialised and taking the load, will the old process be shut down. And if I stop/start the Application Pool, it does an immediate kill without letting the process quit gracefully or letting a replacement process spin up first.

Does editing a Web.config file trigger an overlapping recycle or a start+stop of the application pool?

筅森魡賤 提交于 2020-01-12 10:02:34
问题 I have Overlapping Recycling configured for my ASP.NET MVC site. As I understand it (from this SO question), if I Recycle the Application Pool, this will spin up a new w3wp.exe process to take up the load of the one being recycled, and only when the new process is initialised and taking the load, will the old process be shut down. And if I stop/start the Application Pool, it does an immediate kill without letting the process quit gracefully or letting a replacement process spin up first.

User rights needed for IIS 7.5 application pool user (domain user, not the AppPoolIdentity)

房东的猫 提交于 2020-01-10 09:06:10
问题 We have an active directory domain (let's call it foodomain ) and a domain user account ( foodomain\fooAppPoolUser ) used for the IIS application pool identity. We want to run the app pool under this user account and not under Network Service or the new AppPoolIdentity as we have to access SQL server and have multiple applications on IIS (with own app pools) accessing different databases. The problem is that I can't find a clear HOW-TO explaining, which user rights have to be set for this

User rights needed for IIS 7.5 application pool user (domain user, not the AppPoolIdentity)

半腔热情 提交于 2020-01-10 09:06:04
问题 We have an active directory domain (let's call it foodomain ) and a domain user account ( foodomain\fooAppPoolUser ) used for the IIS application pool identity. We want to run the app pool under this user account and not under Network Service or the new AppPoolIdentity as we have to access SQL server and have multiple applications on IIS (with own app pools) accessing different databases. The problem is that I can't find a clear HOW-TO explaining, which user rights have to be set for this

AutoStart a WCF on Azure WebRole

岁酱吖の 提交于 2020-01-10 01:49:23
问题 I have a WCF hosted on Azure (WebRole). That WCF does a lot of background tasks and replies to some petitions. The problem is that if the WCF doesn't receive any petition for a long time (10 hours or more) the application pool is recycled on the azure instance and the WCF tasks stops. I did a little investigation an I can enable a AutoStart feature touching the machine.config, but this is not an option with a azure deploy. Can I enable AutoStart within web.config or deploy config files? 回答1:

ERROR 404.3 Not Found for JSON file

一世执手 提交于 2020-01-09 08:52:09
问题 I have been getting the "ERROR 404.3 Not Found" for JSON file that I am calling using AJAX call on "Internet Information Services 7.5" even after I have activated all the "Application Development Features". Other than JSON file, all other files are getting loaded. I am running an HTML page on IIS server on my local machine. If I open the file directly then there is no problem at all. When I host the files on an online server it works fine. Any quick help will be much appreciated. 回答1: Is the