I have the need to create a web setup project for some of our web applications. We have clients on both IIS6 and IIS7. I want to create an MSI, or some type of setup project that allows me to do the following:
1) Detect if databases exist. If they don't create the database and their objects
2) Select the directory where the files shou...
Hi. I've transferred my IIS6-based website to IIS7. It uses ISAPI Rewrite. I want to use the built in IIS7 rewrite engine. I have the following code in my httpd.ini file:
[ISAPI_Rewrite]
RewriteRule /httpd(?:\.ini|\.parse\.errors).* / [F,I,O]
RewriteRule ^(.*)$ http://www.workcity.co.il/$1 [R,R=301]
RewriteRule /([^/.?]+) /sc.asp?p=$1 [...
Hello,
I have ASP.NET MVC 1.0 application (.NET 3.5) running on II7 and Windows 2008 Server.
The application is deployed in 'Integrated Pipeline' mode.
In Global.asax.cs I added:
public void Application_EndRequest(Object sender, EventArgs e) {
//print URL
}
The method is being called even for static content (images,css,js) in /Conte...
I have a ASP.NET MVC app on IIS7 using Forms Authentication in Integrated Mode. I am noticing that the ASP.NET runtime is being hit for every request that comes in even if it is only for static files (probably because of Integrated Mode). Is there a way to configure IIS7 to serve up static files without hitting ASP.NET?
I've been thinki...
Two-part question (parts are closely related): with the default OOTB ETag policy that IIS7 employs, why don't we see the If-None-Match/304 interaction as we navigate through pages?
The headers returned for an empty-cache request, for instance, are:
Content-Type image/png
Last-Modified Thu, 03 Dec 2009 15:51:56 GMT
Accept-Ranges ...
Hey fellow geeks,
For the last couple of days of my X-mas holidays, I have been struggling with an UnathorizedAccessException when trying to READ a XML file on a remote share through my ASP.NET application using an implementation of the IHttpAsyncHandler a long with the IRequiresSessionState.
After much headache, and concluding that th...
Had to switch to "Application user" (pass-through authentication) to see the site again (site advanced settings).
If I set "Specific user" (the one the site folder belongs to), iis7 shows the error.
I've changed the user password as I've lost the old one.
It seems that the OLD password is stored (encrypted) in some configuration file (...
Can anyone suggest the best way of moving websites on server1 with IIS7 to server2 with IIS 7.5 on it? I've read some articles which suggest copying the applicationHost.config file while preserving the configProtectedData node, but I'm concerned there may be settings in the IIS 7.5 config that don't exist in the current IIS7 config whi...
Hi Everyone,
I was wondering how Asp.NET handles multiple requests ? E.g : When 1000 users request a page from an Asp.net installed web server, are they queued and handled in order or is there any other way to simultaneously handle those requests ?
I found some articles but they were too deep and long, I need a couple of quick answers ...
In IIS6 was there a reason for using ISAPI filters/ extensions?. Can the same not be achieved using httphandler/ http modules. Also in IIS7 has ISAPI been removed completely ?. Is the entire code of IIS7 written in .Net. I want to know should one know about ISAPI in detail for debugging or adding new features ?
...
I have an MVC 2.0 application that I'm playing around with in VS2010 which is a .Net Framework 4.0 application, which works great on my local dev machine, but fails when IIS gets involved, giving me all sorts of IIS errors.
Can someone please tell me the sequence of steps I need to do in order to get an application set-up in IIS 7.0 (ru...
Hello everyone,
I am using VSTS 2008 + C# + .Net 3.5 + ASP.Net + IIS 7.0. And I am implementing Forms authentication.
I want to know in Forms authentication, how to check whether a user is already authenticated or not?
thanks in advance,
George
...
I get an exception after upgrading Spring.NET 1.2 to 1.3 in my web application. Here's the setup on my web app:
I created an application pool with its identity set to ApplicationPoolIdentity. I use NHibernate 2.1, my SQL Server 2008 is local and I'm using SQL server authentication. There's no network or shared folder. Everything is loca...
I'm trying to deploy my ASP.NET MVC 2 website from VS2010 beta 2 to IIS7. The publish works fine but none of the routes work, so when I go to the URL http://localhost/myapp/Home/Index I get the error:
HTTP Error 404.0 - Not Found The
resource you are looking for has been
removed, had its name changed, or is
temporarily unavaila...
I can't seem to get the ASP.NET engine to handle ALL wildcard mapping.
When I try to make a request that is supposed to be handled by the asp.net engine, i get a 404 error from the StaticFile handler
Here is the content of my web.config file.
You will notice that the last entry contains the wildcard mapping rules.
<handlers>
...
I've set up a custom error page to handle errors thrown through my site.
I'm running asp.net 3.5 with IIS 7.0 on Godaddy shared hosting ("deluxe" account).
Normally, if I set Response.StatusCode = 412 the server outputs:
Server Error
412 - Precondition set by the client failed when evaluated on the Web server.
The request was not comp...
Before describing my problem, let me go into the configuration.
I bought an Android phone and thought that it would be a great idea to access my personal files at home on my Windows 7 Professional 64 bit computer from anywhere.
I setup IIS 7.5 to create an FTP site for my user directory (C:\Users\MyUser). Permissions are set to read-on...
Recently I had to get an old ASP application working in IIS 7.5 on a W2K8 server. Almost everything works fine, except that I can't seem to get it to accept uploads larger than ~200kB. I did find a setting, that from what I can understand should to the trick, in the applicationHost.config, I set the max request size to 100 MB like this:
...
I am developing an ASP.NET site with C# on IIS 7, but I hope for an answer that will apply to IIS 6 as well. Part of this site is the ability to upload up to 5 images at a time. I have a nice algorithm to resize the image that is uploaded to my optimal size and ratio.
So the only real size limitation I have is during the initial upload...
My website uses ASP.Net Membership Services for handling site security, I'm also using the URL rewriting module for IIS 7. One of the issues that I'm having with the URL rewriting is when I go to access a restricted page it redirects me to the login page for my application, and the "ReturnUrl" shown is the raw URL and not the rewritten U...