iis7

IIS 7 application automatically redirecting

I have 2 servers, server A and server B. Both have IIS7 and same OS. I published through my VS2008 the same website on both servers. the problem is on one the application in IIS7 website works on the other it doesnt. Server A - IIS7 - WebsiteA - Application (Works) Server B - IIS7 - WebsiteA - Application (Does not work) what are the t...

SMTP service on Windows 2008 R2 Core

Hello, I have setup a server with Windows 2008 R2 Core Web Edition. The question is, how can I install the IIS7 SMTP service? Or is SMTP missing in the Core editions? Thank you ...

Absurd problem displaying silverlight video player on differing domains

I'm having a problem displaying two silverlight movies from different domains. They are both in the bindings of IIS, both are redirected to my private computer/server and both are loading a silverlight plugin into the browser. The first domain displays the movies and the contents of the silverlight. The second one doesn't. The first d...

URL Rewrite IIS 7 - url redirect not working

I have a website running on IIS 7 bound to port 80 with 2 domains (for our purposes - example.com & test.com) pointed at it. example.com is our canonical name so I would like any client that hits test.com to be redirected to example.com. I have been trying to use the IIS 7 Rewrite module. However it doesn't seem to have any effect what...

Error publishing a webservice in IIS 7.0

Hi, I get the following error message while trying to publish my webservice in Vista IIS 7.0: Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: CS0016: Could not wri...

How to make IIS to deliver stylesheets with the correct MIME type?

Currently my IIS is serving CSS files with no Content-Type header. How to change it? Should I change it on my application or in the server? ...

Do we really need to restart IIS 7 application pool? Do the same practice apply to other web servers?

I am just wondering why is restarting IIS 7 application pool consider a good practice? I know that it'll clean up orphan resources like threads or session state, but how does other web server deal with this kind of problem? Do java developer/admin have to restart weblogic/websphere/apache/tomcat every so often to clean up junk in memor...

IIS7 restart issue

Hi All, I have a webservice on one of my websites which restarts the websites app pool. The problem Im getting is the IIS7 app pool keeps stopping with the following warning and then error: Warning: A process serving application pool 'appPoolNameHere' exceeded time limits during shut down. Error: Application pool 'appPoolNameHere' is...

Questions About Asp.NET and IIS

Hi Everyone, Can you help me thru these questions : Application Pool may contain multiple worker processes (w3wp.exe) ? Application Pool may contain multiple Asp.NET Applications ? Asp.NET assigns one ThreadPool per AppDomain ? One AppDomain only contain one Web Application Instance but Application can contain multiple AppDomains ? ...

IIS 7.0 Error - 500.19 Internal Server Error

Hi I am currently on a shared hosting plan with iis 7.0 I have an asp.net mvc application in the wwwroot of my hosting. Now I made a virtual directory to store my webservice in(I don't want to have to host this on a sub domain and pay extra) However when I put my web service code in my virtual directory and try to run it I get this E...

What is the effect of <authentication mode="windows"> in versions of IIS?

I am wondering what the effect of setting <authentication mode="windows"> in the web.config is in different version of IIS. I believe that in IIS 5, it has little to no effect, as all of that is integrated and controlled by the web server. On IIS 6 and 7, I believe that I can set the web server to Anonymous access and then each hosted ...

Flakey debug behavior in application start, global.asax

Not using Cassini, but IIS7 to run an ASP.NET app. The debug behavior is flakey. Sometimes it works, sometimes it doesn't. I was able to step into the application start event in global.asax but sometimes I can't. Sometimes VS2008 opens the published global.asax so I have two instances of global.asax opened in VS, the source and the p...

Getting HTTP Error remotely instead of 'Connection was reset message'

Hi, On an ASP.NET Web Application I have an upload file functionality. I'm restricting the file size up to 10 MB by configuring the inside web.config the maxAllowedContentLength attribute. (I'm using IIs 7.0 BTW). It get the desired HTTP Error when I access the application from the local machine: HTTP Error 404.13 - Not Found The requ...

gzip HttpWebRequest

I am submitting HTTP POST requests via HttpWebRequest which contain a large amount of content. I would like to gzip the message content. Is this possible? Does IIS 7 have to be configured to handle the compressed content? It has already been configured to serve compressed responses. I've tried adding a Content-Encoding = gzip header a...

IIS7, web.config to allow only static file handler in directory /uploads of website

Hi, If it's possible which I think so, How do I modify my web.config to make a sub directory static -- files inside will only processed as static file, even if its name is "aspx" or something else? Thanks. ...

Viewing raw XML build log on CruiseControl.NET under IIS7 - 404

I've installed CruiseControl.NET 1.5 (CTP) on a Windows 2008 server with IIS7. The installer doesn't create a virtual directory for the ccnet dashboard. No biggie, configured that manually, and also changed the AppPool to be Classic as opposed to Integrated Pipeline mode. The web dashboard displays and generally works fine (I can view ...

web site already exist issue?

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am using publishing portal template. And I am using command, stsadm -o restore -url http://machinename:8090/siteabc -filename c:\backup\siteabc.bak But met with the following error -- there is a web site already exist on "/siteabc...

ASP.NET MVC Exception?

Hi, since today i get an Exception on IIS7.5 with ASP.NET MVC, but i dont know why. It occurs while using System.Net.WebClient.DownloadString() [WebException: The remote server returned an error: (500) Internal Server Error.] If I open URL in Browser. Site shows up fine. In VS2008 Debug Trace Status is: "200 OK" The only thing it ...

MVC Views returning 404 in IIS 7.5

I've been trying to figure out why my views are returning 404 in my staging environment, but not my development environment. Windows Server 2008 R2 IIS 7.5 MVC 2 Beta definitely installed. The first Route entry in my Global.asax is as follows: routes.MapRoute( "FindStore", "FindStore", new...

Allow MDB Downloads in IIS7

Currently if I am hosting an Access .MDB file to allow users to download, IIS7 is throwing a 404 error. I know the file is there and the permissions are fine. It appears to be a Handler issue, but I cannot figure out how to change the handler to allow downloading of MDB file. I assume I need to add something to the Handlers section of...