We have a classic ASP application that connects to a COM component. The COM component reads a connection string from the registry and connects to a datasource. We exported the COM package out of a 2003 box and imported into a 2008 R2 box. We've reviewed every setting to ensure its correct. When we hit the classic ASP site, we get the fol...
I'm toying with Managed Fusion's URL Rewriter and noticed that it adds a couple HTTP headers to IIS response:
X-Rewritten-By: ManagedFusion (rewriter; reverse-proxy; +http://managedfusion.com/)
X-ManagedFusion-Rewriter-Version: 3.5
How can I remove these headers? (I'd like to keep things small for performance reasons.)
Unfortunately...
I've recently discovered a way to implement RESTful services using Global.asax (by handling the Application_BeginRequest event). Basically, I am saying it is possible (and easy) to implement a RESTful web service in classic ASP.NET, without any need for WCF.
It takes approximately 30 lines of code to figure out which method you want to ...
I'm having problems understanding exactly how you connect a Flash Builder 4 Project to IIS & subsequently, sql server. In trying to configure the Flash Builder 'Server', no matter what I put in as 'web application root' and 'Web application URL' and 'Output Folder' it won't validate my configuration.
The documentation is maddeningly ne...
Can the IIS version in Windows Server 2008 R2 host all the following:
SharePoint 2010;
ASP.Net 4.0;
Classic ASP applications;
VB6 compiled .dll web applications.
If so, can SharePoint 2010 be the Default Web application when accessing the server?
Thanks,
Aaron
...
I'm trying to get a Rails app built with IronRuby running on IIS 7. I followed all the tutorial given on the IronRuby site but I can't seem to get it to work. The app runs fine hosted under WebBrick but IIS doesn't seem to host it properly. Here is the page I get.
Error: exit
C:/repositories/RampUp/ruby/RampUp/config/boot.rb:66:in `exi...
This is not a duplicate post. I've looked through similar questions on SO but didn't find the solution to my problem.
As someone has already suggested I should do the following to redirect www-url to non-www url (or vice versa):
Here’s the IIS7 rule to remove the WWW prefix from all incoming URLs. Cut and paste this XML fragment into y...
Hi,
I'm using Windows on some production machines (IIS with FastCGI-PHP). Since the update of one SF-Project to 1.3.x I notice some strange problems. The Server is "collecting" Temp-Files in the config-cache folder of the applications. They are named like con1718.tmp and always containing the autoload-config-cache. The tmp-files are not...
I need to implement uploading and downloading files as cheap as possible. For my tests I use Windows XP with IIS 5 and a console C# program.
I created a virtual directory in IIS and in my program I execute the following code:
System.Net.WebClient webClient = new System.Net.WebClient();
webClient.Credentials = System.Net.CredentialCache...
Hi ,
I have website hosted on to server . say for example
www.abc.dk which has a login page on login of a user the url gets changed to allrequestsallowed.com/.... the name of my page .
What exactly is causing this and any solution to not let this happen ?
Regards,
Francis P.
...
I have several .net web applications that use the same cms-like framework. When I add new feature to this core framework I want each application to be updated with this feature. So basically I need to do the following steps:
Put App_Offline.htm in the application root
Copy files that have changed from the update server
Run SQL update s...
Hi,
We own a small company and develop asp.net websites. Here is our work procedure:
We have a server at the company with Sql Server 2008 and IIS 7.5 installed on it. All our projects including the database and website pages are on the server. We connect to the server and edit the files using FTP, so any change to a web page can be seen ...
I have an application that depends on a generic HttpHandler I created, and it works fine. The problem is that that there are many other applications under the same folder in IIS, and these other apps don't need to use and don't know (mustn't know) about this handler.
However, the Web.Config in which I register it ends up applying to all ...
I've been converting some .net "Web Sites" to "Web Applications". This has been going along smoothly. One of the steps that I perform each time I do a conversion is I go to the web section of the project properties and set the virtual directory.
So far, I've set up
-http://localhost/site1
-http://localhost/site2
-http://localhost/site...
I have two cgi scripts from a product I can't alter. One needs a specific Environment Variable to be set. The other should be left alone.
Is there a way, in IIS, to do the same thing as apache's SetEnv command just for one of the CGI scripts?
Ciao!
...
Hi,
I thought I have URL routing under control as it works well on one website but found out it is not working fine on another. Both websites run from same server, same IIS 6.0, same asp_isapi.dll.
SETUP 1: This one works well:
routes.MapPageRoute("Article SEO",
"sid/{sid}",
...
This is a fairly obscure question, but I'm having a devil of a time figuring it out:
I'm running PHP on IIS and am using PHP's DOTNET function to load Microsoft's System.Speech class.
<?php
$recognizer= new DOTNET('System.Speech, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', 'System.Speech');
?>
I'm getting a ...
I have written a HttpHandler to modify the css file (image urls that are reffered in the css files). This works fine for the .aspx pages. But classic asp pages are broken as the css is not at all loaded. I have added the .css mapping in the configuration section of the IIS and mapped it into aspnet_isapi.dll.
...
Hey all
I have the following in the web.config
<sessionState cookieName="ASP.NET_SessionId" cookieless="false" mode="InProc" timeout="1" regenerateExpiredSessionId="true"/>
however, after 1 min, the session won't expire.
what can cause this?
thanks
...
How can I configure ASP.NET/IIS to show custom error pages (i.e. a nice friendly error page), but to still return a 404/500 status code so that google does not try to index the page?
I have tried setting the Response.StatusCode to 404, but then the nice error page does not show anymore.
...