iis

WCF Service hosted by IIS 7 and global variables ( singletons )

In my case I am using Lucene.Net for search and would like to use single instances of IndexReader and IndexSearcher. Where should I move them from a method to be able just to instantiate once for the first query and then reuse. public static List<MyType> GetIndexMatches(string fullTextIndexPath, string keyWord ) { ...

IIS 7.5 Windows Authentication failed with 401.

Since we moved from IIS 7.0 to IIS 7.5 the Windows Authentication doesn't work anymore from remote requests. If I open the website on the webserver everything works fine. web.config: <authentication mode="Windows" /> <identity impersonate="true" /> <authorization> <deny users="?" /> <allow users="*" /> </authorization> ...

IIS Developer Express on XP using Visual Studio

As of recently there is a express edition of the IIS 7. It is bundled with this crazy new tool Web Matrix (http://www.asp.net/webmatrix). A real IIS instead of the development server in Visual Studio would have many advantages. Does anybody know, if this IIS edition can be separately downloaded ? Can it be installed on Windows XP (Pro...

Can a windows service and a IIS site share the same dlls?

Can a windows service and a IIS site share the same dlls? And maybe the configuration (web.config)? ...

Simple asp.net precompilation issue in IIS

Looks like I am struck with a simple issue. I am hosting a precompiled website. It compiles and works fine in my local box. But when I host in IIS it fails with following error. Could not load type 'MyHero.Home1'. <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Home.aspx.vb" Inherits="MyHero.Home1" %> I can find MyHero.dll...

Prototype Ajax call yields 12152 in IIS but only when running IE

We have an ASP.NET 3.5 app that relies on Prototype for Ajax calls. It is hosted on IIS 6 in Windows 2003 Server. It uses Integrated Windows Authentication. Here are the scenarios in which it works: Running on default site Running on new site when client is running Fiddler and IE Running on new site when client is running Firefox Ru...

How can I debug a local IIS service with Visual Studio running as a non-Administrator user?

I have installed Visual Studio 2008 and am running it as a non-Administrator user. I have a Web Application project I am developing and would like to debug it using Visual Studio. I can compile and also debug with "Visual Studio Development Server" without problems. But, when I select "Use Local IIS Web server" in my project propertie...

Nusoap not throwing exception when my Webservice is down!

I have a Php application running on my "Server A" that consumes a .NET Web Service hosted on my "Server B". For some reason sometimes the IIS on my "B Server" fails to response and on my Php web application takes exactly 60 seconds to load the page where the webservice call is. I want to be able to change those 60 seconds because is too ...

An error occurred loading a configuration file: Failed to start monitoring changes to '\\share'

I had this same problem last week, which resolved itself after I enabled impersonation. Now, I've moved this box to a different location and am now receiving it again. However, this time it is much less descriptive. The only error I'm receiving is: An error occurred loading a configuration file: Failed to start monitoring changes to '\\...

Send email with SMTP

I had Managed SMTP server configurations in IIS to send email through asp as relay section I added My PC IP Delivery>Advanced I add My Domain name as mail.elarabygroup.com in smart host. And I added this code: <script runat="server"> protected void SendEmail(object sender, EventArgs e) { SmtpClient smtpClie...

How to configure PHP to display detailed errors instead of error 500 page?

I have a PHP application deployed on my IIS hosting and I am always getting generic IIS "error 500" pages insteady of detailed error pages. I understand I need to modify some php.ini file (from this question). It seems that display_errors is set correctly: echo ini_get('display_errors'); outputs 1. I have also tried setting displa...

How to track the Http Protocol on the Server

We do have many client specific tools (i.e. Httpwatch, Wfetch...) to track the Http Protocol however I want to track http protocol (headers) on the server end. Please let me know if we have any tool to do this on the server end. ...

How do i map http://localhost:8080 to http://mysites in iis7?

Basically i want to be able to type in http://mysites and it show me my localsite rather than typing in http://localhost:8080/? I intend to do it a few times like http://localhost:8181 to http://mysites2 I thought you could do it via hosts file? This is all localy on my machine ...

Potentially dangerous Request.Form value only from IE8

I have a Facebook-style modern button control whose client side markup looks like: <button id="ctl00_uxBtn" value="ctl00$uxBtn" name="ctl00$uxBtn type="submit"> <div style="background-image: url("Icons/page_edit.png"); background-position: left center; background-repeat: no-repeat; line-height: 16px; padding: 3px 0pt 3px 22px;">Save D...

WCF security between WinForms client and Shared Host webserver

Ok, I have developed this WinForms client, which interacts with a server (ASPX Application) by means of WCF calls. I would now like to deploy the server to my shared webhost, but I'm kinda new to WCF and especially the security possibilities behind it. The goal is to kind of secure the WCF service, so that not everybody that knows or f...

Non-threadsafe source for PHP?

How I get the non-threadsafe source for PHP? The only download link I found on windows.php.net/download was http://windows.php.net/downloads/releases/php-5.3.2-src.zip and that appears to be the threadsafe code --- or is there some way of telling the source that it's actually non-threadsafe? I have tried putting --disable-zts on the com...

Find Out if ASP.NET Request Came From Local Machine

Hello, I've built an ASP.NET application that's using Forms Authentication. In our hosting account control panel, I set up an automated task that requests a web page once per week. When the page loads, a number of emails are sent out. I'd just like to know if there's any way to determine in the code-behind if the request is coming from...

IIS, 206 Error, randomly started happening with one file?

All of a sudden I'm getting a IIS 206 Error, partial content for one javascript file. The browser is consistently only able to download 146 of 298 KB of data on multiple browsers. I restarted the server Tried in multiple browsers after clearing the cache and cookis Confirmed I had permissions on the server to access the file Still it k...

IIS - Mysql Performance Issue

Hi, I have developed a site on linux server(my testing host server). But When I move the site to live server, which is IIS, Windows 2003... my site is very slow. It takes around 20 seconds to load a page. My code is in PHP and I am using Wordpress. Normal Html, Php pages are running fast, but when it connects to MySql.. it takes 4 to 5...

IIS: multiple web application vs single web application root

Hi, We have a legacy system which is build in classic ASP. As we move to asp.net, we find ourselves creating web applications as we migrate old stuff to .net and add new functionalities to the system. I would say maybe 30% of them would share the same library, loading the same dlls. (all applications share the same app pool) My questi...