iis

How to implement URL rewrite in classic ASP using custom 404 page?

My web host told me that they are using Windows IIS (not sure about the version) and are unable to implement a URL rewrite for me. I am now looking at alternative ways to do this. Obviously, I don't have access to the IIS server. I read somewhere that using a custom 404 page, I am able to implement a URL rewrite from my end using classic...

Why can event handlers can only be bound to HttpApplication events during IHttpModule initialization?

This is just another "working in dev server, why not working in IIS" type question. I created a nice DAL using NHibernate as described here. When creating an ISession, I hook up an event handler to the HttpApplication.EndRequest to take care of cleaning it up. However, I deployed my site to IIS and it says: Event handlers can only be ...

How to deploy a WPF 4 Full Trust XBAP an on intranet?

I'm having trouble running a full trust WPF 4 XBAP (browser application), created with Visual Studio 2010, from my intranet. I do not get a ClickOnce elevation prompt, as described in ScottGu's post on WPF 4: Full Trust XBAP Deployment Starting in WPF 4, the ClickOnce elevation prompt is also enabled for XAML Browser Applicati...

.net URL Rewriting with IIS ignoring a specific url

I have a site which recently went live. At present all requests for the staging site are caught by the rewrite rules and 301d to the live site, however I now need to allow the homepage only to bit hit, with all other requests redirecting as before to their equivalent page on live. The first part was straightforward enough: <rule name=...

Oracle data provider pegs IIS worker process when web site is stopped

We're experiencing a nasty issue in Oracle 11g Release 2 where the w3wp process takes over and entire processor core, and debugging shows that the Oracle data provider is throwing ThreadAbortExceptions infinitely. A developer found this issue by doing the following: 1) Browse a web site that uses Oracle data connections locally (http://...

Specified argument was out of the range of valid values. Parameter name: utcDate

Our logs show hundreds of these errors after our deployment if users are on the site. Anyone know what this means and how to fix it? Notes: We are using msdeploy, IIS 6 I recently noticed that our web server's time is about 10 minutes behind the real time, I think that may have something to do with it. If I log into our site, ...

How do you configure IIS5 advanced settings from command line?

I am trying to automate some of the build process for my asp.net apps by creating the virtual directories it needs and setting all their settings in a batch file. So far I have been able to figure out how to create virtual directories, but how to do you configure them beyond that? For example I need to be able to set them as an applicat...

Performing application reliability using iis 6/7

I have web-services applications, running on Windows Server 2003. These hosts (each of them on separate appPool) contains multiple operations (consulting services). Does exist an approach to perform reliability on these hosts, in terms of appPools (like customizing the pools): If an worker process fails, another will be started in its pl...

How to setup IIS extranet site for unsecure access internally and secure (ssl) access from external address

I have an enterprise extranet application that is accessed using an internal DNS entry for the machine name by employees and via a domain name that has SSL configured externally. Currently remote sessions can use either the http or https address, but we want to turn off http access for external sessions while leaving it enabled for inte...

WCF configuration and ISA Proxies

Hi, I have a setup with a .NET WCF Service hosted on IIS. The client apps are connecting to the service through a set of ISA proxy's. I don't know how many and don't know about their configuration etc. In the client apps I open a client to the service and make several calls via the same client. It works great in my office, but when I d...

How to give anonymous access to site in IIS ?

Hi, I want to give the anonymous access to my deployed site on IIS. i checked in Directory Security by right clicking on site in IIS there is checked the box Enable Anonymous access.also there is user IUSR_MySERVER is there. but still it is asking for user name & pwd. why. I don't want to ask any uname and pwd when site accessing. What ...

how to open Excel sheet with full access in c#

open Excel sheet with full privileged in c#. it is not allowing me to read. asking for uname and pwd when i deploye my c# application in iis. i have write this code for open Excel : please review Excel.ApplicationClass app = new Excel.ApplicationClass(); Excel.Workbook workbook = app.Workbooks.Open( ...

How to set Img scr from a server that is not live but connected with live server.

I want to display photo of employee who is login but our company doesn't want to expose the photos of all employees publically that is why we put that employees photos on a server that is not live but connected with the live server. Now problem it that when I run my website on localhost the photos of employees display but as soon as I p...

AutoMapper and SecurityException in IIS

Hi everybody... I'm developing a asp.net mvc application with nhibernate and I would not like to expose my objects mappings with NHibernate, so I created DTO for each entity and I'm trying to convert my Domain objects to DTO and send it to View. So I have in my sollution: ClassLibrary with my Domain (for NHibernate) and DTO objetcs Cla...

Joomla: Warning: strpos() [function.strpos]: Empty delimiter in libraries\joomla\environment\uri.php on line 162

After installing Joomla 1.5.x on an IIS 7, instead of seeing the expected sample data I see an un-styled (sample data) page and this message at the very top of the page: Joomla: Warning: strpos() [function.strpos]: Empty delimiter in [installdir]\libraries\joomla\environment\uri.php on line 162 How can I fix that? ...

Mobile Device emulator cannot access localhost

I am using Windows Mobile 6 Professional Emulator and Windows Mobile Device Center. I connected and cradled the emulator to my computer. I am trying to connect from the browser of the emulator to a webservice that is deployed in the IIS of my computer (same machine where the emulator is installed). If I connect my computer to the intern...

Instrumenting Web Service Performance in ASP.NET

I need to measure the length of time requests are taking to be processed on an ASMX ASP.NET web service. What is the best approach for this? Is there an support in ASP.NET that "natively" supports this without me having to write code? Thanks. ...

Javascript does not work on IIS

I have a .NET library executing as part of our website that renders HTML to image formats. It uses the IE rendering engine, and will happily run any javascript if present to do the rendering. To clarify. The code is rendering the HTML onto the server. No client is involved. The problem is we just moved the code to a new server, a...

Strange Problem with Webservice and IIS

Hello there, I have a Problem which confuses me a little bit, resp. where I don't have any idea about what it could be. The System I'm using is Windows Vista, IIS 7.0, VS2008, Windows Software Factory, Entity Framework, WCF. The Binding for all Webservices is wshttpbinding. I'm using a Webservice hosted in IIS. This Webservice uses/ca...

Upgrading IIS web sever framework 2.0 to 3.5 considerations

Hi, i will be responcible for upgrading an IIS web server from the Microsoft .NET framework v2.0 to v3.5. I am wondering if there is anything special i need to know or any caveats i should be aware of before proceding? The site gets a fair number of hits per day and I will be taking it down and performing the upgrade at an off-peak tim...