iis-7.5

Forcing custom 404 pages for pages in URL Routing

南笙酒味 提交于 2019-11-30 11:49:28
Coding Platform ASP.NET 4.0 WebForms on IIS7.5 If I request a page blahblah.aspx which does not exist, I get navigated to my custom error page for Page not found Exception. I have implemented URL routing and so I have omitted all my .aspx extensions for routes. Now, If I type www.mysite.com/blahblah (thats a url without extension) instead of going to my custom error page, it gets redirected to my IIS 404 error page. What should I do to make my custom error page appear on my site instead of IIS error page? The Easy Way If your IIS 7 web server doesn't already have it, install the IIS 7.0

ASP.NET MVC 4 on IIS 7.5, returns 404. Something to do with extensionless route mapping

和自甴很熟 提交于 2019-11-30 11:18:12
I have deployed an MVC 4 web-site to a Windows 2008 R2 server with IIS 7.5. .NET 4.5 is installed on the server. The site works fine locally. All routing works fine. However, when I put it on the server, nothing works. I have confirmed that the DNS/binding is working by putting a static text file in the site and this works. Here's a few things I've tried: The default route / returns 403.13 - indicating directory browsing is disabled (correct). This should surely map to /home/index? Any route (eg. /Organisation, Organisation/Index) simply returns 404. Made sure all my DLLs are copied over (as

IIS 7.5 web application first request after app-pool recycle very slow

半腔热情 提交于 2019-11-30 11:07:48
问题 We have our website running on two machines with iis 7.5 One works fine. The other one how ever takes a really long time to process the first request after an app-pool recycle. It can take upwards of 60secs which is unacceptible since its going to be used as our production server. I've checked the app-pool settings on the both servers and they are the same, and the webapp version on both servers is the same. I've run the task manager and resource monitor, add see a connection to the machine

Debug ASP.NET application running on remote IIS Server from VS2010

╄→гoц情女王★ 提交于 2019-11-30 10:48:45
问题 Just wondered if anyone could point me in the right direction here? I'm trying to debug a deployed web application and can't seem to get the attach to work. Here's the scenario: VS2010 installed on my machine - with all source code. IE8 on my machine browsing to ASP.NET site on production IIS server (FWIW .pdb files on production site.) When I attach the debugger to the IE session, and continue browsing the site, no breakpoint is ever hit... so effectivly I don't think I'm really debugging

How to set proxy settings for IIS processes?

坚强是说给别人听的谎言 提交于 2019-11-30 09:17:10
I have internet connection via http proxy, and some of my web applications at localhost need to access internet. Where can i set up proxy settings for them? Ilya Smagin All I needed was to set system.net in web.config <system.net> <defaultProxy> <proxy proxyaddress="http://10.0.2.231:42" bypassonlocal="true" /> </defaultProxy> </system.net> See: Element (Network Settings) . 来源: https://stackoverflow.com/questions/4739669/how-to-set-proxy-settings-for-iis-processes

an unhandled win32 exception occurred in w3wp.exe

↘锁芯ラ 提交于 2019-11-30 08:57:06
I get the following exception when trying to load an ASP.NET MVC website: Unhandled exception at 0x07070a91 in w3wp.exe: 0xC0000005: Access violation reading location 0x00000000. The Visual Studio Just-In-Time Debugger opens and the only information I can see in the debugger is this: Call stack location: msvbvm60.dll!06c00a91() The website uses some COM objects and everything worked fine until last week. This problem appeared out of the blue. This is the error log from Windows Event Viewer: Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8 Faulting module

Deploying a .Net 4.5 website to an IIS 7.5 server

谁说胖子不能爱 提交于 2019-11-30 07:14:27
We are using Teamcity to do continuous integration builds for our website and have just upgraded our website to .Net 4.5RC. The application builds and runs in IIS express on my box and builds on our build server that I have installed .NEt 4.5RC on. But when we deploy it to the server that has had .Net 4.5RC installed on it we get the following error. The application pool that you are trying to use has the 'managedRuntimeVersion' property set to 'v4.0'. This application requires 'v4.5'. What can I do to fix this problem. I have tried setting the application pool on the server to 4.5, but can't.

Sharing SQL Server Session State across Web Applications

点点圈 提交于 2019-11-30 07:06:24
I'm setting up a very basic demo of SQL Server Session State, but am having some trouble getting it working. I'm trying to test this out locally running Windows 7 with IIS 7.5 and SQL Server 2008 R2. Ultimately, I need a way to track the number of users logged into a system that is load-balanced between a few different web servers. So I need to update a session variable (stored in SQL) every time a user logs in or out. So the session ID could always be different. Is this possible? Here's what I've done so far: Created two new sites in IIS (Site1 and Site2) Created two new Web Application

Create SQL Server Login for IIS APPPOOL - IIS and SQL Server on different machines

六月ゝ 毕业季﹏ 提交于 2019-11-30 06:42:37
I've searched thoroughly- apologies in advance if I am missing an obvious answer. Followed the recommendations at link below and the solution did not work. The solution also does not indicate whether it applies to a production webserver running IIS and SQL Server on separate computers. Add IIS 7 AppPool Identities as SQL Server Logons Microsoft link below does not provide specific syntax for creating a SQL Server Windows Login: http://www.iis.net/learn/manage/configuring-security/application-pool-identities Our goal is to securely deploy a ASP.NET 4.0 web application to the public on a Server

Can't use WAMP , port 80 is used by IIS 7.5

我怕爱的太早我们不能终老 提交于 2019-11-30 06:13:16
问题 I am trying to use WAMP on Windows 7, my WAMP is online, but when I open localhost I get the welcome page of IIS 7.5, although I have uninstalled IIS 7.5 from my PC! Apache server test says that port 80 is used my Microsoft-HTTPAPI/2.0 MS Visual Studio 2010 was uninstalled a short while ago as well. 回答1: By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open port, left click on the WampServer icon in the system tray and go to Apache >