iis7

ASP.NET/IIS7 - Securing access to SQL Server for multiple user roles

I'm working on an web application using ASP.NET 4.0, C#, and IIS7. The web application is a content management system that defines multiple user roles, such as editor and administrator. These users and roles are managed by the asp.net membership framework, and the associated database tables are integrated into the web app's database usin...

Dynamic content switching based on stylesheet

Hi! I'm making a new design for my website, but I want to keep the old one and possibly switch between the two. Unfortunately, I've changed the content on the Master Page (luckily I have a backup). What I was thinking was to keep separate master files for each theme, and then just determine which one to server based on which stylesheet...

Compilation Error: [No relevant source lines]

I'm getting this error when trying to view a page in my localhost. Web site worked before. The code files are not pre-compiled. I've cleaned asp.net temporary folders and gave full control permission to IIS_IUSRS account for wwwroot and Temporary ASP.NET Files folder but no change. I also get Access Denied error while try to execute C...

Setting Private Memory Limit for application pool in IIS 7 increased page faults before crossing the limit

I have set Private Memory limit of 200mb in IIS 7 for an application pool. The Private Working Set memory(Task Manager) for the application is always below 125mb but the number of page faults have increased a lot and application cache is getting cleared frequently after setting the limit. I haven't set any limit on Virtual Memory. Can s...

Where is the Web Deployment MSI?

I'm following a set of instructions where a line reads: Launch the x86 or x64 Web Deployment Tool’s MSI. My IIS's Web Platform Installer verifies that i have Web Deployment Tool 1.1 but I can't find a location to launch it. ...

How to update Http Request and send it to another web server

Following is our environment setup: IIS 7 receives Http (.jsp) request from client (browser). It blindly redirects it to JBoss using ISAPI_Redirect.dll. Now we are trying to modify this setup in such a way that before IIS7/ISAPI_redirect sends it to JBoss, we need to modify posted form data using Http module. This http module is normal...

IIS 7: Redirecting from non existing subdomains to a subfolder

I'm working on an ASP.NET MVC Multi Tenancy app. Right now I managed to create dynamic subfolders, for instance some one registers with username "bob" and gets the following website: domain.com/bob My next goal is to provide subdomains: bob.domain.com instead of subfolders. I found out that it's very complex to create dynamic subdoma...

Control IIS 7 server from Windows 2003 server programmatically

We run various jobs using a Windows 2003 server. Some of these jobs send app pool commands to web servers running IIS 6 (recycle, start, stop). Now we have a Windows 2008 web server running IIS 7, and we want to send the same commands. This is all done using C#. This is the code we use to send commands for IIS 6: var methodToInvoke = ...

What are the best practices to be followed in deployment of asp.net web application & WCF service in IIS 7?

Anybody can provide me the best practices to be followed in deployment of asp.net web application & WCF service in IIS 7 regarding the IIS 7 configuration settings , Security setting, application access level settings.. ...

Check how many times file downloaded?

I have a zip file on website running on a Windows 2008 / IIS7 server. Is there a way to check how many times that file was downloaded? ...

How would you use msmq acknowledgements in an asp.net application?

What are best practices for using msmq acknowledgements in an asp.net application? In my case, some request from Flex to Asp.net (using WebORB or FluorineFX) adds an id to a queue. A windows service handles the queue to do a job with each id. Now, after I added the id to the queue, I can't just wait until a message arrives in the ackno...

Which Publish method is most efficient at maintaining a large website?

I'm using VS2010 and TFS to build a complex medium sized website. Which protocol is most efficient and secure? I think I can enable any protocol I need since I own the IIS server and control all aspects of it. My choices are: Webdeploy FTP FileSystem FPSE There is also a hint at something called "one click"... not sure what that ...

Where can I learn how to deploy ASP.NET 4 MVC 2 applications to IIS7?

I've done a significant amount of searching and am having difficulty finding people who have encountered a similar problem. I have gone into the properties for my project and set it to use the local IIS web server instead of the VS Dev server. It created the virtual directory just fine. When I attempt to browse to the site, I receive th...

IIS Acting Funky: windows process activation service fails to start

Any one seen this? When we attempt to start windows process activation service on IIS 7 on a 64-Bit windows machine. Error 1326 logon failure: unknown username or bad password. We were using shared config then we deactivated it. ...

Can you stop IIS from monitoring changes in a particular directory?

An error occurred loading a configuration file: Failed to start monitoring changes to '[path]' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886 The KB article talks about how you can increase the MaxCmds or MaxMpxCt registry values ...

HTTP Error 500.0 - Internal Server Error with IIS 7and PHP 5.3

I have configuired PHP 5.3 on IIS 7 using the following instructions: http://www.php.net/manual/en/install.windows.iis7.php and it works fine. Util I enable any extension from .ini file. After enabling any php extension I am see the following errors : HTTP Error 500.0 - Internal Server Error C:\PHP\php-cgi.exe - The FastCGI process ex...

How do I allow the GET request for only one method or webservice?

As I've found here, I can change the webconfig to allow/disallow methods on webservices. I need only one method to be a GET and for the others it should be a POST, is there a way to configure just one method (or maybe webservice if there is no other way) to accept GET requests? I am on IIS7. ...

The remote host closed the connection. The error code is 0x80070057.

I'm getting a lot of these error messages in my logs on one of my servers and intermittently on two others. Googling didn't reveal very much information, mostly related to file uploads or downloads being interrupted. My pages are basically just text files with "ok" in them that only have .aspx extension for future plans, there's no a...

IIS7 URL Rewrite - RegExp to match any string that does not contain a DOT (.)

I am using URL Rewrite module 2 in IIS 7. I have a certain rule for rewriting URLs in IIS. But I want that rule to apply to only strings that DO NOT contain a DOT (.) If the string contains a DOT, I want it to fail and simply be not rewritten. I thought this will work - ^([^.]+) but it rejects only strings that start with a DOT. Examp...

IIS 7 Log Request Body

I need to log the request post payload for requests made to IIS. Is this possible to configure the logging of request post payloads with the existing logging and advanced logging modules within IIS 7.5 or can anybody direct me to any custom modules that will allow me to log the post payload. Regards David ...