iis

Restarting a website from its own webpage.

Well, just to keep it simple: I have a webform. On it a button called "Restart". I click on this button and IIS will restart itself. Now, what would be the C# code that I would need to write behind the OnClick event of this web button? (If it's even possible?) Then a second button is added. It's called "Reset" and should just reset the...

Urlscan 3.1 block User Agent

I need to block requests from certain User Agents to our Sharepoint Environment that have been identified after going through the IIS logs. I have tried the below by amending the urlscan.ini config file and doing and iisreset, but it doesn't block anything. Am I entering the correct strings? I'm copying user agent string from the iis l...

Execute ClickOnce application located on share, through HTTP?

Hi, i have a ClickOnce application (online only) which is deployed on a network share. People can run the application by creating a shortcut to i:\ApplicationDirectory\ApplicationName.application where i is the letter of the drive of the networkshare. I want to start the application over HTTP. For this, I need the .Application file to...

Problem with a URL that ends with %20

I have a big problem. There are devices in live that send the URL "/updates ". It's a typo of the developer for those devices. In the server logs, it looks like "/updates+". I have a ManageURL rewriting module that handles all requests without extension. But this request causes an HttpException: System.Web.HttpException: System.Web...

Recommendations on Max File Upload Size in IIS

I realize the answer to this question is dependent on the specific server used, but curious if people have recommendations on a max file size limit to allow from an ASP.NET web form. Working for a Printing Company who wants to allow uploads from graphic designers. I know they will exceed whatever limit I give them.... ...

problem hosting in IIS

whenever I hosted my application in IIS I used to get error. I have followed the following steps InetMgr->default web site(right click)-> add virtual directory-> physical path->selected permissions(read)-> browse there I used to get the following error all the time: plz any body help me **Server Error in '/evals' Application. --------...

What are best practices for ASP.NET application deployment

Not being into ASP.NET world too much, I still faced a neccessity to work on ASP.NET project that requires periodic deployment of new version to production IIS server. What are generally accepted best practices for ASP.NET application deployment? Environment: Windows Server 2003, IIS6, MySQL5, ASP.NET 2.0 application. ...

how to support anonymous and integrated security in IIS 6?

specifically what I'm trying to achieve is to have the possibility of supporting both types of authentication, but giving priority to integrated security I mean, if the credentials are passed, use integrated security (and I could see who logged in thru ServerVariables["logon_user"], if no credentials are passed, then fall back to anonym...

Connecting to MySQL with PHP

I have MySQL running such that I can open a client command line and log on and make databases, tables, etc. I wanted to do some AJAX. Doing AJAX with ASP, SQL Server, etc is not advisable since both places where I am hosting my websites do not use the Microsoft products. So I am forced to do my development with PHP and MySQL. I just ...

SQL Server 2000 + ASP.NET: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

I just migrated a development workstation FROM: Windows XP Pro SP3 with IIS 6 TO: Vista Enterprise 64bit with IIS 7 Since the move, one of my pages that accesses an SQL Server 2000 database is receiving the following error from my ASP.NET 2.0 web page: "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'." I have: enabled Windows...

Automatically authenticating a virtual directory in IIS 6.0

We have a website whose users supply HTML links to a virtual directory on the website. (Think www.website.com/dir1; dir1 is actually a virtual directory to a different server.) The server that the virtual directory links to requires authentication, however the username and password needed is constant. Whenever a user tries to access a ...

Redirect SubDomain Request to a Specific Port

Hi I have a SharePoint solution running, with different applications running on different ports. Now I have to assign 3 subdomains to 3 different applications like: sub1.domain.com on port 36358 sub2.domain.com on port 36359 sub3.domain.com on port 36360 My network admin says that dns setting goes as long as server address, not a specifi...

Any monitoring software which traces IIS & freely available ...

In continuation to last question - My site goes slow and stops access certain services externally if we check the Process monitor we see that it is normally due to the ‘w3p.exe’ process – which is the background process for running the website – it regularly reaches 99/100% - killing the process/restarting the WebPublishing service reolv...

How to force IIS server to remove the html base tag

I'm using Visual WebGui to develop Web application, How can I force IIS to change the html base tag in the html file? ...

How do you debug classic ASP?

I have to debug a classic asp site being served by IIS 7 (windows 2008). How can I do this? I have only worked with ASP.NET. ...

Problem with Classic ASP Breakpoints in Visual Studio 2005

I am trying to set a breakpoint in an ASP page that isn't working correctly. I am doing this in visual studio 2005 on Windows server 2008. Whenever I try to set the breakpoint with the mouse, the IDE opens up a different page and sets a breakpoint somewhere in that page. I don't know why it is doing this. I have better luck setting th...

CFExecute is seemingly not working

I am trying to minify some files in a roll-up script using jsmin. This works just fine on my local machine but when pushed to production it doesn't work at all. I am running the built-in CF development server locally and IIS on production. Not really sure how I should go about debugging this. Here is a relevant code snippet: <cfset ...

Writing for FastCGI in VB6?

While I'm busy here reading the FastCGI documentation (yeah, reading the 'friendly' manual), does anyone know whether anyone has had any success writing FastCGI apps in VB6? Starting to get close to finding a solution myself at Coast Research and Development's FastCGI Dll Library (with SIGTERM handler) for Windows Web Servers ...

Strange WCF Error - IIS hosted - context being aborted

I have a WCF service that does some document conversions and returns the document to the caller. When developing locally on my local dev server, the service is hosted on ASP.NET Development server, a console application invokes the operation and executes within seconds. When I host the service in IIS via a .svc file, two of the documen...

Silverlight 2 via Windows Media Services 9

I have been using the Silverlight 2 Media Player that comes with Expression Blend and also the sl2videoplayer from CodePlex and the issue I have come across is that I am unable to forward or rewind the video when it is coming via WMS 9. If I host the same video on a IIS 6 website, it works fine. WMS was originally hosted on the internal...