iis-7.5

WCF .svc file served as plain text in IIS7.5 .NET 4.0 - Not under Default Web Site

风格不统一 提交于 2019-12-02 08:22:17
FINAL UPDATE : It turns out this was a red-herring due to a compression issue with a DotNetNuke module. I had to add to the PageBlaster DNN module, so this is no longer an issue. I am deploying a WCF svc file to my live website for the first time and it is rendering/served up to the browser as plain text. It works fine on my dev environment on localhost. You can see the problem here: http://www.pokerdiy.com/test.svc The website is running on IIS 7.5.7600.16385 on Windows Server 2008 R2 Version 6.1 SP1 (64 bit) in an Integrated Application pool with .NET 4.0 (I am using Entity Framework 4.2).

How to get the request processing time in Asp.net mvc?

爱⌒轻易说出口 提交于 2019-12-02 07:37:37
问题 I want to log the request processing time for Asp.Net MVC application . I can get ' time-taken ' from IIS logs but this time includes the network time taken to send the response back to client browser. I am only interested in the time taken to preocess the request by asp.net worker process. I have an option of writting a HttpModule but I can not control the order of running of HttpModules. Update - 1 : I need to log the processing-time for all the requests. The requests are slow only for some

How to implement a very long running background task in Asp WebAPI application

人盡茶涼 提交于 2019-12-02 06:24:41
问题 I'm writing a WebAPI application to perform a number of long running background processing tasks. I'm noticing, that my test data loading task, is being killed by System.Threading.ThreadAbortException, even after I disable the pool recycling in IIS. I know, that there is a way to run a very long running (a few hours long) background tasks within a Web application, but, I just do not know how exactly that is done - either some specific configuration settings, a coding technique, a Wen.config

Session Time Out in Asp.net 4.0 on IIS 7.5

无人久伴 提交于 2019-12-02 04:43:13
问题 I want to set timeout for my web application for 12 hours. I have done setting in web.config file as: <system.web> <sessionState timeout="720" /> </system.web> As suggested in the following post: I came to know that the Application Pool recycles in every 20 minutes (if the pool is ideal). And I also checked for changing the application pool time out using one question about application pool timeout setting But still the session time-out is not set to 720 minutes. Do I need to change machine

What are the problems with loading CSS and JS from Django to IIS7?

拈花ヽ惹草 提交于 2019-12-02 03:37:44
问题 I successfully deployed my Django site to IIS7 but I still have problems about how to configure IIS to serve the static files. I tried many many things from the internet but nothing seems to work. Everything is working fine on Django server ( manage.py runserver ) and with debug = True , but as soon as I turn off debug ( debug = False ) and open it on IIS, the bootstrap css and js are not loaded. Do you have any ideas about why I'm experiencing this behavior? Perhaps you could point me to a

How can I make ADO database connections in 'TISAPIApplication` before processing incoming requests?

十年热恋 提交于 2019-12-02 03:14:30
问题 TADOConnection is failing to connect in the application initialization section of Delphi ISAPI App ( TISAPIApplication ): Application is built with Delphi XE SPI, running Win 7 64/IIS 7.5 and WinServer 2008 RS2 - it cannot connect with ADO in the global ISAPI application context. (Example code is using MS-SQLServer OLEDB - but we also fail using Sybase ASE provider.) The following code fails when conn.Open is called - TADOConnection.open never returns - ISAPI app hangs in la-la land, no

ApplicationPoolIdentity cannot access network resources

此生再无相见时 提交于 2019-12-02 02:50:30
问题 My Setup: W2K8-R2 IIS7.5 x64bit servers (app pool is running in 32bit, though) We have a (.net 4.0) web application that runs under the "ApplicationPoolIdentity". It has "Windows Authentication" enabled. The web app calls a web service on different (older - W2K3 II6) web server (same domain). The web service requires Windows Authentication as well. On some of our web servers, this works well and I can see that the Web App calls the web service and identifies itself as the machine name for the

How to Redirect any subdomain request to main domain in asp.net

。_饼干妹妹 提交于 2019-12-02 02:27:50
问题 I'm trying to redirect all subdomain requests for domain.com to www.domain.com and user must access all part of website only by enter to main domain and click on links , for example if user directly enter following address in browser: subdomain.domain.com OR www.domain.com/post/showPost.aspx?pid=11 i want to show error page and then redirect to www.domain.com i use asp.net and IIS 7.5 and visual studio 2010 Thank you. 回答1: Using the URL Rewriting module could be the way to go. Try using

ApplicationPoolIdentity cannot access network resources

不羁岁月 提交于 2019-12-01 23:26:34
My Setup: W2K8-R2 IIS7.5 x64bit servers (app pool is running in 32bit, though) We have a (.net 4.0) web application that runs under the "ApplicationPoolIdentity". It has "Windows Authentication" enabled. The web app calls a web service on different (older - W2K3 II6) web server (same domain). The web service requires Windows Authentication as well. On some of our web servers, this works well and I can see that the Web App calls the web service and identifies itself as the machine name for the web server it is running on (as expected). However on other web servers the application will not

What are the problems with loading CSS and JS from Django to IIS7?

↘锁芯ラ 提交于 2019-12-01 23:10:57
I successfully deployed my Django site to IIS7 but I still have problems about how to configure IIS to serve the static files. I tried many many things from the internet but nothing seems to work. Everything is working fine on Django server ( manage.py runserver ) and with debug = True , but as soon as I turn off debug ( debug = False ) and open it on IIS, the bootstrap css and js are not loaded. Do you have any ideas about why I'm experiencing this behavior? Perhaps you could point me to a step-by-step guide to help me? Right click on your website in IIS7 manager and add a virtual directory