0
голосов
5ответов
1430 просмотров

IIS 6 to 7 is making me scared of web.configs

Hi guys, We have a mixed development environment of three servers running: Win Server 2003 & 2008, IIS 7 & IIS 6, ASP.NET 2.0 & ASP.NET 3.5. Previously, all three servers were Server 03/IIS6/ASP.NET 2.0, but with this new change, I am finding that pushing/moving any applications from...

0
голосов
5ответов
7518 просмотров

ASP.Net Invalid Viewstate error

I am randomly encountering the following error: Message: Invalid viewstate. Client IP: xx.xxx.xxx.xx Port: 2324 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.1; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618) ViewState: Stack T...

1
голосов
2ответов
1445 просмотров

MVC on IIS6 - 'Home' links not working correctly

I'm deploying a MCV 1.0 project on a web server running IIS6. (not by my choice) I've thru Steve Sandersons article Here and Phil Haack's article but I'm still having probelms. Right now I'm trying to implement Option 2 from Steve Sandersons article. The main problem I'm having is with the Home...

0
голосов
3ответов
2046 просмотров

how to redirect a pdf request to aspx in iis 6.0

Hi i'm wondering how to redirect a http://mysite.com/pdf/blah.pdf to http://mysite.com/pages/page.aspx for all pdf file requests in iis 6.0/asp.net. Haven't been able to find anything definitive by searching.

3
голосов
1ответов
699 просмотров

Will a Change to the IIS Home Directory Path Trigger a Restart?

In IIS (6.0 specifically), under the Home Directory tab, if I change the local path, will this cause either IIS to restart or the application pool to recycle? Related, is there a reference that outlines which changes to the IIS metabase will trigger either a restart or app pool recycle? I haven...

0
голосов
1ответов
760 просмотров

IIS6 with ASP MVC Wildcard mapping

Ok, so Im one of the 100's of people having issues getting ASP MVC running on IIS6. I have followed several tutorials including this and this, but still no joy. All I see is the standard IE 404 file not found page. Now in order to ensure that my site is pointing to the correct location I have ...

0
голосов
1ответов
107 просмотров

Performance loss due to add asp.net_isapi to request pipeline?

is there a notable performance loss if all files are handled with the aspnet_isapi in request pipeline using IIS6? IIS7 has the new integrated pipeline so that seems not to be a problem. I ask this, because I want apply an .net url replacer on .exe files for example. To do so, I have to add them...

2
голосов
1ответов
697 просмотров

PHP on IIS7 and Windows Server 2008 - Pros and cons

Background: I work for a small microsoft based web dev company who is slowly starting to do more PHP based work. To date we've run these sites (mostly WP) through IIS6 on Windows Server 2003 although this presents problems around mod rewrites etc. We're at a stage where we can make a decision b...

3
голосов
1ответов
733 просмотров

How do I programmatically check if ASP.NET is "allowed" in IIS6 Web Service Extensions?

Is there a way to programmatically check if ASP.NET is "allowed" in Web Service Extensions on IIS 6.0. I know I can set this by using aspnet_regiis.exe -i -enable, but how do I check this using code? Regards Deepak

24
голосов
6ответов
94175 просмотров

Send mail using localhost SMTP

I am trying to setup SMTP server on IIS for sending mails. The SMTP server is intended to be used by the ASP.NET code in C#. I was previously using gmail smtp wherein i provided the smtp.gmail.com as host with secure port and my gmail uid/pwd. That worked fine. Here is the code used to do that....

0
голосов
1ответов
166 просмотров

CGI application throws “System.Security.Permissions.SecurityPermission”

I'm working on a simple .NET application which is supposed to run under IIS6 through CGI. First of all everything works great on my Windows 7 development machine under IIS 7.5. But I'm stuck with “System.Security.Permissions.SecurityPermission” under IIS6. I've already tried to sign the assembly...

10
голосов
1ответов
8919 просмотров

Newly installed IIS. Aspx page not getting displayed

I have just installed a IIS on a win 2003 server and trying to setup an asp.net website. I have run the "aspnet_regiis" tool as well as made sure asp.net role is enabled. When i browse a plain from withing my asp.net virtual directory, i am able to view it. but, the server won't serve an aspx p...

0
голосов
1ответов
1418 просмотров

Newly deployed ASP.net web application returns "This is a marker file generated by the precompilation tool, and should not be deleted!" error message

I've handed my ASP.net 2.0 web application over to the System Admin for deployment to IIS 6.0 and when I hit the site I get the message: This is a marker file generated by the precompilation tool, and should not be deleted! This is not a precompiled web application. peace | dewde

4
голосов
1ответов
1334 просмотров

Best XML DB for a PHP website?

I'm planning on writing a RSS Feed Aggregator with a team, but I'm wondering what XML Database we should use. The server currently runs IIS 6.0 with PHP 5.3.0 x64, I understand already that I need both a server application and a PHP extension. What I've discovered already: Galax Have previo...

0
голосов
1ответов
255 просмотров

Server Side Includes and GZip?

Is it possible to use GZip compression on the ouput of files that have been created using server side includes in IIS 6? If so how?

1
голосов
3ответов
7669 просмотров

IIS7 fails to load aspx pages

I've been trying to migrate a fairly large web application from IIS6 to IIS7 the past few days, but every time it seems like we're about done, IIS7 fails to load aspx pages. The application is a .net 3.5 webapp that makes heavy use of reflection and web services. We use 2 main components (each w...

0
голосов
1ответов
715 просмотров

Restricting access to a website by IP address range / domain

I would like advice on the best way to restrict access to a weba pplication (using .net 2.0 and II6) based on the clients IP address. The two ways I am considering: 1) Through the server side code - check the client I.P against a list of IP addresses within the web.config. 2) Through IIS by cre...

1
голосов
1ответов
178 просмотров

ASP.NET MVC application running II6 with wildcard mapping using only 3 threads

During the performance testing of our ASP.NET MVC application I discovered interesting bottle neck. The application is using only 3 managed threads. I checked maximum thread pool size. It's 200 and we are having 197 available threads. I checked connection limit of web site and it's unlimited. ...

1
голосов
1ответов
1555 просмотров

"Enable HTTP Keep-Alive" in IIS cause disruption?

I have a production web site in IIS 6 where I need to change the value of the "Enable HTTP Keep-Alive" checkbox. Will that cause production disruptions? Recycles, app domain restarts, or similar?

2
голосов
4ответов
1893 просмотров

Why are my ASPX pages not being compressed with Gzip enabled?

So I set up gzip compression within IIS 6. I enabled the compression for both static files and application files. I set up a temp directory with the size of 1,024 MB. I modified the Metbase to include: htm,html,js,css,aspx,xml I set the compression level to 9. I added a WSE, called HttoCompr...

3
голосов
3ответов
5642 просмотров

WCF ServiceActivationException Confusion

I have a WCF service which works perfectly when deployed in our dev and test environments, but which falls over in the production environment. When attempting to browse to the service, the following exception is thrown (inner exception type is InvalidDataContractException): [ServiceActivationEx...

3
голосов
2ответов
41262 просмотров

How to upgrade from IIS 6.0 to IIS 7.0 in windows 2003

I have to deploy my WCF service on IIS 7.0 in windows 2003. Currently windows2003 has IIS 6.0 installed already. I like to know: How/Steps to upgrade from IIS 6.0 to IIS 7.0? Is there any installer for IIS 7.0. I am googling it but it gives the reference of setup that upgrade my internet explor...

0
голосов
1ответов
209 просмотров

How do I redirect url to a specific page in IIS6 webserver

I have a site hosted on IIS6 server. All the pages with specific url (e.g http//www.example.com/products/my-product-name_11.asp ) are redirected to http://www.example.com/product.asp. but from where it is happening i dont know. So in order to change it what should i do?

0
голосов
2ответов
5668 просмотров

Access network share using Windows authentication

I constantly trip on this when writing apps for our intranet. Let's say we have a network share called "\\server1\myfolder", and I'm writing an app that needs to read a text file from there. Access to the share is very limited, which is fine. If someone doesn't have access to the folder, the app...

2
голосов
1ответов
1183 просмотров

Is there an equivalent of Apache's auto_prepend_file in IIS 6.0

On a LAMP stack I was able to use: > php_value auto_prepend_file bootstrap.php in .htaccess to bootstrap a bunch of commands that I wanted to execute before any page was ever processed. Is it possible to do the same in IIS 6.0 ? UPDATE: Not the prettiest solution, but since I have one si...

2
голосов
5ответов
1396 просмотров

ASP.net MVC performance with extensionless url on IIS 6

We are getting ready to do a an initial deployment of an ASP.net MVC app on IIS 6 running on Windows Server 2003. We've been reading about performance issues involving the use of extenionless urls in MVC applications specifically in the case of removing the '.aspx' extension from the controller p...

0
голосов
2ответов
1250 просмотров

Any idea what this .NET error means?

I have Bugnet installed on my hosted server and it does work, seems that all functionality of the project works as one would expect. However seems on any page render this error is generated; System.Configuration. ConfigurationErrorsException: It is an error to use a section registered a...

0
голосов
2ответов
387 просмотров

Select to recycle worker processes after a specific period of inactivity

Can anyone confirm that this statement "Select to recycle worker processes after a specific period of inactivity" in this Microsoft help file is wrong and should in fact not have the "of inactivity" at the end of it?

1
голосов
1ответов
899 просмотров

Custom 404 with EPiServer CMS5 on IIS 6

I have been trying to set up a custom 404 page for several days now but still haven't succeeded. The target system is EPiServer CMS 5 running on Windows 2003. My development system is EPiServer CMS 5 running on Windows Vista. this means I can only debug on a different version of IIS. Anyway: Th...

4
голосов
2ответов
5688 просмотров

WCF service with Factory attribute on .svc is not working on web server (IIS6), but is locally using IIS7?

I am working on implementing a non web.config approach of WCF services using the factory attribute on the .svc file per Rick Strahl's blog post: Factory="System.ServiceModel.Activation.WebScriptServiceHostFactory" Locally, I am running IIS7 in Visual Studio 2008 and have no problem, but when I ...