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

Why does our Backend Programmer handle SSL in this fashion, with a redirect?

Here's the page in question: www.mchenry.edu/parentorientation. My question is: why does our Backend DB person handle the SSL this way, as a redirect? Isn't there a cleaner way to do it? BTW, we're running IIS. My suspicion is that she doesn't understand what needs to happen in order to make it c...

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

Identify Webserver & Script of a website

I have got two simple questions How can I tell what server is a website on? I remember I used to read the HTTP Host Header to identify the type of server. Is there any tool to do it? 2a. A lot of the website have the page extension .html and you just know they are not html. How can I tell wha...

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

Is it possible to change IIS settings from web config

I'm using url rewriting.net. I'm testing web on the local host, it is successfully work. But When i deploying web to remote host, url rewriting not work. Problem is (The resource cannot be found). I found problem. My deployed remote host IIS configuration is (Virtual dir->Properties->Home d...

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

Any "gotchas" with remotely-coded, locally-run .NET web apps on XP machines?

It looks like I am going to be on a project where, for deadline and expertise reasons, we are going to code a web app (.NET 3.5) that will be deployed to enterprise laptops to be run locally. Since my experience with developing web apps has only been with centralized servers that I can immediatel...

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

Can I create an inheritance-based filesystem in my webapp?

I have an app that contains different "skins", and most of these skins share the same images. For each skin, we have been creating a copy of the image directory, just in case one of the files is different. Is there something like object oriented inheritance for an IIS directory? Meaning if a fil...

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

Can't see WSDL on Delphi CGI with IIS7

I created a very simple Delphi 2010 CGI web service and am able to get the exact same problem on Delphi 2007. My invokable interface looks like this: ISimpleTest = interface(IInvokable) ['{4E318A9A-D361-4A18-A963-EE6D7F70E9C5}'] function SayHello(const S: string; N: Integer): string; stdcall;...

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

Classic ASP "ExecuteGlobal" statement acting differently on two servers

I have a strange problem that I don't really know how to handle. In addition to developing a new ASP.NET site, I have to support the old "Classic ASP" site. It's written in VBScript with a batch of Javascript functions as well. Many of the Javascript functions are in 'include files'. Debuggin...

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

Hosting a long running process in IIS

I have a design scenario that is giving me a few headaches and I'm wondering what solution is the best solution. I have a dashboard-like application that polls information from a service that requires a java RMI connection to gather real time data. I'd like to implement that dashboard compone...

4
голосов
4ответов
1229 просмотров

What is the most secure way to connect a ASP.NET 3.5 web application and SQL Server database?

I have a web application developed in .net 3.5, and a SQL Server database. Current auth method is a connection string in web.config, it seems like a good idea to move the authentication details out of plain text. So, I have two questions: Trusted Connection - The password policy here is stric...

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

Server Error : The server closed the connection while reading the response

I have windows xp and iis installed , when I want to access localhost to view asp pages , I get the following error : Server Error The following error occurred: [code=SERVER_RESPONSE_CLOSE] The server closed the connection while reading the response. Contact your system administrator. Please co...

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

Redirect all HTTP-Requests with *.asp to one single file

Is it possible on an IIS to redirect all files with the file extension .asp to one single file (i.e. switch.php, switch.cfm) and how? Thx in advance for the upcoming solutions :) EDIT: version of IIS is "IIS 6.0"

2
голосов
2ответов
656 просмотров

Calling custom UrlAuthorization module with every page load

I have implemented a custom UrlAuthorization module as shown here The code is as follows: public class CustomUrlAuthorizationModule : IHttpModule { public void Init(HttpApplication context) { context.AuthorizeRequest += new EventHandler(context_AuthorizeRequest); ...

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

Setting permission for PHP (or I_USER [I'm not sure here...]) to connect to iisweb.vbs

I have been trying to figure out a way to manage our domains at work and easily created a SimpleDNS class, but now I'm on the IIS Server Administration side of it and I'm just lost on what is going on. Here is the PHP code I am running to test it. <?php $cmd = 'iisweb /create c:\websites\exa...

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...

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

HTML form POST to default document (w/o specifying Default.aspx) fails with "405 Method not Allowed"

When an HTML form is posted to a website without specifying the actual page name, it doesn't work. Non-working code <form id="userinput" method="post" action="http://website1/"> Working code <form id="userinput" method="post" action="http://website1/default.aspx"> 'Default.asp...

6
голосов
3ответов
14738 просмотров

Mapping classic asp pages to .net in IIS

I'm trying to map requests for classic asp pages to be handled by .net, so that it runs through a custom httpmodule. In IIS I have remapped asp requests to aspnet_isapi.dll - I'm sure I've done this bit right Now in my test app I am getting this error: Server Error in '/TestASPRedirect' Applic...

5
голосов
1ответов
8564 просмотров

Setting NTAuthenticationProviders at an Application level in IIS 6

I have the following structure in IIS. Internet Information Services (local computer) Web Sites Default Web Site MyApplication MyApplication is a Application in IIS. Integrated Windows authentication is NOT set on the Default Web Site. However I want to set Integrated Windows ...

39
голосов
10ответов
93003 просмотров

HttpContext.Current.User.Identity.Name is Empty

I have a Silverlight application (using MVC) and when i'm building in visual studio, using Visual Studio Development center, there's no problem, the HttpContext.Current.User.Identity.Name has a Value But when i'm using the same project with IIS 7.5 (i'm using Windows 7), HttpContext.Current.User...

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

Allow special charcters in IIS request URLs

Currently, when I try to hit certain pages of my site via something like http://www.domain.com/< (which is a valid URL), I get a blank page with the text "Bad Request" on it (and nothing else). This happens with both the escaped and unescaped version of the URL. I'm fairly certain this is du...

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

IIS application with virtual directories running code in ASP.NET

If I have an ASP.NET application in IIS with virtual directories, can aspx pages in the virtual directories access DLLs within that application as well? WEBSITE -App___Data -App_Themes -Bin -MyDLL.dll -Images -MyVirtualDir -MyAspPageThatNeedsToAccessMyDll.aspx Is th...

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

Removing a Section from Web.Config

I know you can use <remove /> to remove keys. I tried to use that though for a section in my web.config, I guess that you can't remove sections? And what if I wanted to remove the entire group "webServices" ?? <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWe...

7
голосов
3ответов
2793 просмотров

Is the Perl .plx filename extension ever used in real-life?

ActiveState Perl installs an IIS script mapping for the extension .plx. Is this actually used in real life or just something specific to ActiveState?

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

Can asp.net HttpModule forward requests to the asp.dll?

What I'm trying to achieve: Intercept requests for .asp files using an asp.net application then re-write the url to something search engine friendly then pass the request onto the asp.dll to handle the request. How Im trying to acheive it: I'm trying to get intelligencia url re-writing working...

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

ValidateInput(false) doesn't seem to work when running under IIS

When I run my ASPNet MVC 2 Preview 1 website under VS dev server, it works just fine when I do a form post with Form Method "Get" - the form has a textbox with text that has angle brackets (for ex: "i <10;") However under IIS, when the same form is posted (using Method "Get"), I get a 404 pag...

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

Deploy WCF Services in SharePoint Without Modifying Web.Config?

I'm exploring the possibility of deploying WCF services to a SharePoint Farm/WebApplication/Site/Web via a SharePoint feature without using the SPWebConfigModification class or manually editing web.config. The Gille virtual path fix has already been applied so it doesn't factor into this. The fur...

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

How do I maintain state across multiple web servers?

Can I have multiple web servers hooked up to a SQL Server cluster and still maintain a user's session? I've thought of various approaches. The one suggested by the Microsoft site is to use response.redirect to the "correct" server. While I can understand the reasoning for this, it seems kind o...

45
голосов
7ответов
43299 просмотров

IIS WCF service hosting vs Windows Service

We developed a WCF service and we're looking to deploy it. Our clients will be using it with basicHttpBinding but our internal team will be using it with namedPipesBinding. We are wondering if is it better to host it in IIS 7 or with a Windows Service. We ran some tests and we found out that whe...

12
голосов
3ответов
15564 просмотров

Custom certificate validation in WCF service

I want to check client certificates in my WCF service. My goal is to allow only clients with certificates with specific thumbprints to be able to communicate with my service. My WCF service is hosted in IIS, I'm using basicHttpBinding and security mode="transport" with credential type "Certifi...

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

What is the most efficient cross-process communication method for IIS web services

We have a set of (ASMX but could be WCF) 64-bit web services which need to execute some 32-bit managed code (the APIs have 32-bit COM dependencies and cannot be executed in 64-bit) for processing on the same physical machine. The 64-bit web services are hosted in IIS 7.0. Note: some of the messag...

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

What causes a query string when requesting jQuery? e.g. /jquery-1.3.2.min.js?_=12553

I'm troubleshooting a jQuery problem which happens when the HTTP requests for a page load include this query string: GET /Scripts/jquery-1.3.2.min.js?_=1255309685187 Normally, the request has no query string and the response status code is 304: GET /Scripts/jquery-1.3.2.min.js However, e...