iis

ISAPI Rewrite of HTTPS Domains

I'm pretty new to isapi rewrites on IIS. I need to get the following rule applied :- I need https://www.xxx.co.nz to be redirected to https://www.xxx.com - including any additional paths and/or query strings. I've tried this but it just loops: #RewriteCond %HTTPS on #RewriteCond Host: (?!^https://www.xxx.co.nz)(.+) #RewriteRule /(.*)...

Windows Workflow Foundation and IIS ApplicationPool recycle (particularly after editing Web.config)

I am involved in testing an ASP.NET MVC site that uses a WF service hosted as a separate site on the same IIS server. We currently use Log4Net to assist with diagnostics in Stage and Production, so sysadmins are regularly setting the logging levels from WARN to DEBUG and back again for brief periods in order to capture logs. I've notic...

Silverlight SSL and WebService

I have recently modified my web service in IIS7 to use SSL. To do this, I have created a self signed certificate and applied that to my web service. I then added https bindings to my site in IIS. I have changed my clientaccesspolicy.xml file to allow https -> <domain uri="https://*" /> Whenever I try to call my service from my SL sit...

ASP.NET Impersonation by Role

I modified the ASP.NET login control to also allow specifying UserRole ('Employee' or 'Volunteer'). Users are authenticated via a call to a webservice written by our client, which accepts username/password/role and returns true or false. If role is 'Employee' it represents an active directory user. The application should impersonate th...

how to write a logical n-tier windows desktop application for both a physical 1-tier AND physical 3-tier deployment?

Hi - I'm working on a unique windows desktop application that requires both a standalone and distributed deployment mode. In standalone mode the entire program will run on a single desktop machine. In distributed mode there will be several thin clients running on desktop machines that will communicate with an app server (IIS) and databa...

Is it possible to deploy a SharePoint WSP without causing an IIS Reset?

Hi All, I'm working in SharePoint 2010 and have been unable to deploy (or retract) my WSP without causing an IISReset. Here's my situation: •The solution contains: •Fields •One content type •A page layout based on the content type •A bunch of images that go into the style library •There is ZERO code in the solution •I've manual...

SMS Gateway - General Questions on SMS-Website Communication

Hi Guys, I'm asking this question with little/no knowledge of SMS gateways and it's relevant technologies, so bear with me. What i want is this: User Sends an SMS to a given number This SMS is forwarded to my website for processing So from the (little) research i've done, it looks like i need to pay for an SMS Gateway. Any recomm...

IIS, set dns name to IIS web site

Hello, How to set name to web site in IIS for browsing in LAN? I've tried to change in hosts 192.168.198.83 mySite but it doesn't work (required page is not opened) I can remember IP addresses but other peoples do not want, so will be good to set friendly names. Operating System Windows 7, IIS 7. ...

ASP.NET app works on Cassini but not in IIS on xp?

App works fine in IIS on Windows 7 on my dev machine. Trying to debug on a client machine running XP and VS2008 and the app works ok running on Cassini, however when I select IIS I am getting a 403 forbidden error. Anonymous access is switched on in ISS. Can anyone help work out why it won't work in IIS? ...

Do you need to be running under IIS to query Active Directory with PHP LDAP

Using PHP's LDAP support, I was curious if you need to be running under IIS in order to query the local Active Directory. Would you be able to query it if the server is running Apache instead? Also, could I query an Active Directory setup on another machine than the code is running on, or does it need to be done on that machine? ...

What is the advantage of using HttpContext over HttpApplication?

What is the advantage of intercepting a request for an ASP.Net application at the HttpContext level rather than waiting for the request to be processed by the HttpApplication pipeline? ...

Log4Net doesn't write when iis hosting WCF service

Log4Net doesn't write when iis hosting a WCF Service. it works great when i use the self hosting ( Visual Studio Development Server), but when i run it using the IIS it doesn't write anything. i read about this prolem and the conclusion is that it must be a permission problem, but i don't know how to solve it. how can i check that i ...

Application_Error event in Global.asax not firing when browsing .php extensions

ASP.NET global.asax Application_Error fires for all pages except .php extensions. On IIS: "Web Service Extensions" does have PHP set to allowed. I have the PHP isapi filter on the web site. I recycled my defaultAppPool. Did the IIS reset. Still i cannot get the Application_Error to fire when viewing a php page that does not exist. W...

Route IIS request to parent folder resource

I would like to create an asp.net page in my site within a particular folder e.g. at www.xyz.com/go/mypage.aspx. I would then like any requests that are routed to sub-folders of /go to actually route the request to this page. i.e. a request to www.xyz.com/go/test/123 should actually end up being handled by /go/mypage.aspx. (Indeed, it ...

405 HTTP Error - PHP POST

Hi, I have a site running on windows server 2008. The site is HTML, and has two forms which POST to PHP scripts (both to send an email). This error comes up however when I click the submit button on the page "405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invali...

Can I have 'friendly' url's without a URL rewriter in IIS?

Without having a url rewriter such as ISAPI_Rewrite available, is it possible to achieve the following: I would like a user to browse to http://www.jjj.com/directory where /directory does not actually exist. IIS transfers the user to not-found.cfm. At this point I can serve index.cfm i.e. http://www.jjj.com/directory/index.cfm. The u...

Limit DoD PKI Certificate Selection

Is there a way to limit the certificates listed in the dialog box when prompted for DoD PKI authentication? I'm trying to require the user to choose the email certificate. ...

Asp.net on Apache setup questions

We have an already existing project on IIS and we want to move to Apache (windows) with mod_aspdotnet. What things could not work? If we use 3rd party DLLs? Will office components work fine (export to Excel, Word, etc). If you have any experience on this type of migration, I'd like your inputs! Also, is there another alternative to mod_a...

IIS + WMI : can't get all WMI information

Hello everyone, I'm trying to make a webservice (WCF) to get information about my server. I made a class for WMI who can retreive information about cpu, ram, disks, etc... Under visual studio, the service works fine, but when I deploy the service on IIS, I get all the information ... Except one ! I have one hard disk with two partition...

Securing single sign-on to web application

I need to create a single sign-on structure and my question is: is SSL a must? Details: The application will have a link to my web application. When the user clicks that link, their local username will be passed to my web app at which point a look-up in a mapping file is done. If that local username exists in the map, then the user is l...