iis

How does IIS recognize different sessions in .NET

Suppose I have logged into an application which is running from IIS. Now I haven't logged out, but closed the browser. And when I'm accessing the application again, it defaults to the login page. How does IIS recognize that it is a new request and redirects the user to the login page? I have another doubt. Suppose if I'm not closing the...

WCF svcutil Error: Cannot obtain Metadata from locahost

I've been looking around the questions here to see if anything similar was addressed already. I've yet to find a solution so hopefully someone can help out and point me in the right direction. I have a service and I can successfully navigate to the svc page on my localhost. https://localhost/WebSite/UploadService/UploadService.svc Thi...

How do I get the Current ServiceSecurityContext on the server side when using WCF?

I have a client app that can upload some data via a WCF service. I have the client app setup some credentials so the service can authenticate the user using some membership provider. I'm having some issues getting SSL (https) working at the moment so I tried just simplifying the config by setting security modes to none. When doing so ...

Changing site to Anonymous Access causing minor jQuery problems

I have a simple ASP.Net 3.5 site that is essentially of the master/detail variety. A master page shows a GridView of database records, and clicking on Edit for a given row brings up an edit form with a DetailsView. Pretty standard stuff. Now, I have the GridView in an UpdatePanel, and launch the edit form with a jQuery FancyBox. After sa...

How do I get HTTP Handlers in a .NET 4.0 application to work under IIS 6?

This is related to another question specific to getting the Silverlight Pivot Server application running on IIS 6. Do I have to manually add the handlers via IIS? ...

IIS, Visual Studio 2010: How to exclude files from being in my IIS folder?

I have a Visual Studio solution that is linked to an IIS Virtual Directory. Is there any way to exclude files/folders from my solution from showing up in the IIS Virtual Directory? Oh, and currently I'm running IISV5.1, but on the deployed server it'll probably be IIS6 or II7. Also, to that point... are there any files/folders that ARE ...

CacheItemRemovedCallback causes webserver to crash

THis is an interesting question. I am developing a web-chat software piece and for the past couple of hours I've been trying to figure out why this happens. Basically, I add an actual chat object (the part that does communications) to the Cache collection when you start chatting. In order to detect that you closed the window, I set the s...

Microsoft.Web.FtpServer on windows XP

hello, if i only have a windows xp professional environment, and i want to use Microsoft.Web.FtpServer to interact with IIS ftp. Will it be possible??? Thanks. ...

run servlet on iis server

how can i run servlet in IIS server ...

Rails 2.3.8 in IIS6

My server is running on IIS6, and i having trouble with setting up rails with IIS. 1st) is there any posible way to run Nginx on a domain:80 while therest:80 are running on IIS? 2nd) How should I make it work on IIS6 because despite follow the instruction here http://mvolo.com/blogs/serverside/archive/2007/02/18/10-steps-to-get-Ruby-on...

Application-Relative URLs

I've just create a new ASP.NET Web Application in VS2010, and set it up as an application in IIS7. Not sure if this is relevant, but the code physically resides in the \myserver\projects\epeui\epe folder (the projects folder is the root of my default web site). The application hangs off the root of this machine's default web site: http:...

How to change settings of an application in IIS through C#

I have deployed an application in Default Website of IIS7. To make changes to settings of my application, I have to right click the application, go to Manage Application, and click Advance Settings. A window pops up. In that window, in Behavior section, there is "Enabled protocols" which is set to "http" by default. I want to change th...

whats meant by 'path' in adsutil.vbs

I am trying to start and stop a website hosted in IIS with windows batch file and found that there is an option that with cscript.exe you can make use of adsutil.vbs file with START_SERVER option. I know that the following command will do that, but I don't understand what I am supposed enter for 'path' cscript.exe adsutil.vbs START_SE...

Exception (Invalid HTTP server response [400] - Bad Request) When Invoking Web Service from Within JBoss

I am trying to invoke a web service from within a Java application deployed to JBoss 4.2.3. When I exercise the code that is invoking the web service from within Eclipse, I get no problems. When I exercise the code in a standalone application outside of JBoss, I get no problems. When I deploy that code though I get the exception below...

Forcing HTTPS using IIS and ISAPI Rewrite

Hello, I'm working to force HTTPS, and if the user is on HTTP, redirect the user. For some reason My rewrite rule works great on my prod env but not my dev, here it is: # Redirect HTTP to HTTPS# redirect all http requests to https RewriteCond %HTTPS (?!on).* RewriteCond Host: (.*) RewriteRule (.*) https\://$1$2 [I,RP] On Prod it w...

What does aspnet_regiis.exe do

What does aspnet_regiis.exe do exactly other than updating the document mappings to correct aspnet_isapi.dll version, is updating the ASP.NET version from inetmgr same as running aspnet_regiis, I could not find any blog post or article describing the steps this particular batch command does. Please give any links you know of detailing th...

Impersonation NOT working - Network Share

I have created a virtual Directory (IIS 7.0), which points to a network share. This virtual directory resides under my web application root. I tried using anonymous access with domain credentials. Also, I tried using impersonation as below... <identity impersonate="true" userName="<supplied username>" password="<supplied password>" /> ...

Why I see another web site at my https addres?

Can anybody explain why I see another web site at my http secure address. I don't have a certificate. I can manage files from folder httpsdocs but cannot access them from web. Also httpsdocs is empty. https://www.innovacube.com/ And base of my problem is Google indexes my https domain but I cannot denny Google Bot. ...

Questions regarding the command: “net use * http://myserver.com”

Apparently I'm able to net use * http://servername.com and this concept is completely new to me. Does this mean I'm using WebDAV? What are the security implications? How can I read/write files in this manner? Why doesn't it work for every website? Is it possible to write files using this method? ...

How to set Application Pool in VS2010 Web Deployment package

I'm currently obliged to use VS2010 on XP for developing a Web application. I've generated a Web Deployment Package that installs on IIS 5.1 using the generated ".cmd" file but I need to deploy to IIS 7 and set a non-default Application Pool. Documentation for Web Deployment Packages is woeful and I can't find any reference to what optio...