iis

Strange string in IE Address bar and in source

This may or may not be a programming question, but one or two users of my website have got some strange strings being inserted into their address bar. The address should be: http://URL/Couple of Folders/page.aspx but occassionally the same thing becomes: http://URL/(X(1)F(qHfgTf50ahMY47b-lnz3ovk89OA4AbMN4S-sYVZCgCULL))/Folders/Page.asp...

What's the relation between classic asp and a IIS application pool?

Does asp run in the IIS application pool for which the website is configured? Or is the application pool only for asp.NET applications. How do those two relate to each other, what do i need to know to understand who's doing what and where are they doing it... ...

System.AccessViolationException when calling DLL from WCF on IIS.

Hi guys. I've created just a test WCF service in which I need to call an external DLL. Everything works fine under Visutal Studio development server. However, when I try to use my service on IIS I am getting this error: Exception: System.AccessViolationException Message: Attempted to read or write protected memory. This is ...

Strange behaivour of process counters

Hi, All! We have web application in which we are using some performance counters. For cases when there are more then one application run simultaneously we have code for determining current instance name: int processId = GetProcessID(); PerformanceCounterCategory processCategory = new PerformanceCounterCategory("Process"); string...

StructureMap, IIS 7.5 and FileIOException

Howdy all. I am trying to solve a problem which is apparently not uncommon and I'm not sure how to find how this was resolved for folks. When I run StructureMap on my machine through IIS I get an exception and it looks like this: **Description**: The application attempted to perform an operation not allowed by the security policy. To g...

BadImageFormatException IIS hosted WCF service Win7 x86, VS2010b2

Hi My system is Windows 7 Ultimate 32 bit. Running Visual Studio 2010 beta 2 targeting .Net 4. I have a project containing service contracts. A project containing the services. And an ASP.NET Web Application that is hosting the services in IIS. I've written my own Clients using the ChannelFactory().CreateChannel()... Whenever I run m...

IIS 301 Redirect

We have migrated our web site to new web site (don't ask why?) In order to help us with the transition, we created 301 redirect, from the old web site to the new web site, in IIS. The redirect looks like http://www.newWebSiteApp.com$S$Q This handles all the sub directory as well as query string nicely. we tested the redirect and works g...

Internal Server Error due to config lockdown when deploying my ASP.NET MVC app to my web host

I'm developing an ASP.NET MVC website on a local Windows Server 2008/IIS7 machine and am I'm now attempting to deploy it to my web host provider, ASPnix. I'm using their Shared Web Hosting service and have been placed on an IIS7 server which they claim supports ASP.NET MVC. However, when I deploy the application up to their servers, I ...

IIS7 access website from remote computer

i created a site on my iis7 it's like http://localhost:88/my i also can access it like this http://myip:88/my but when a friend of mine from a remote computer tried to access it like this http://myip:88/my it gives him 404 not found anybody can tell me what should i do to make it work from remote ? ...

Setting up Sharepoint/IIS to receive connections via SSL (https)

Here is our situation as it stands now... -We have a windows server 2003 with IIS 6.0 setup purely as a MOSS 2007 server. This server has a site developed by us that uses Sharepoint to store Infopath (xsn) forms. The website (ASP .NET) will figure out which form the user is requestin, access it from the Sharepoint site and then prompt u...

Manage DNS from IIS 7 Manager

Hi I'm using IIS 7 Manager to work on my remote web server. I don't have a hosting control panel (Plesk,...), it is better to manage the server with native tools. However IIS 7 manager is only for IIS, obviously. I want to manage DNS from IIS 7 Manager too, is it posibble, is there an add-on kind of thing? Thanks. ...

Problem with impersonating a specific user in WCF service

I am having a WCF service hosted in IIS on WindowsServer 2008. This service needs to write to a shared folder present on another machine(Windows XP). The shared folder has write permissions for a particular user say "X" which is present on both the machines .i.e on the server where the service is running as well as the machine where the ...

Setting up IIS7.5 for local ASP.Net Development

Are there any particular settings one should optimally enable/disable/tweak when doing ASP.Net MVC development on local test machine Windows 7 using IIS 7.5 and moving in and out the debugger & recompiling refrequnetly (integration/troubleshooting stage now before TDD fantactics throw stones - although admittedly I could have more under ...

Documentation Software

Hi to all, My teammates and I want to share some class documentation. Our idea is to have something in the vein of MSDN, with a hierarchical tree for our classes. The entries should be taggable and searchable and it should be easy to expand and be contributed to by multiple users (hence we're thinking of a web-based solution). The idea...

Log4net - object reference not set issue

I have 2 test and 1 production server. In my global.asax file - I have this one line of code: void Application_Start(object sender, EventArgs e) { // Code that runs on application startup Logging.ConfigureLogging(); } On both test servers its working fine, but on the production server, its generating an object reference no...

C#: trying to set "ServerBindings" property of my website programatically, keeps crashing..

I am trying to Configure my IIS programmatically following the steps on this msdn guide the only difference i made was switching to winforms instead of console.. and variables instead of function parameters. however the code throws an exception when i try to set the singleproperty value... here is my code.. string metabasePath = "...

Server was unable to process request. ---> Object reference not set to an instance of an object. ASPNETWSRPProducer

ASPNET WSRP Producer Enviroment Server Side APSNETWSRPProducer (producer) IIS ASPNET Site Producer Site Client Side Liferay 5.2.3 Tomcat 6 WSRP Proxy (consumer) Description I am trying to use the Microsoft's ASPNET WSRP Producer. I created a site and added a simple .aspx "Hello World!". Created another site to host Producer. ...

How can I change the IP address of all sites in IIS6 using powershell 1.0?

Using Powershell 1.0 under Windows Server 2003 with IIS 6. I have about 200 sites that I would like to change the IP address for (as listed in the website properties on the "website" tab in the "Web site identification" section "IP address" field. I found this code: $site = [adsi]"IIS://localhost/w3svc/$siteid" $site.ServerBindings.In...

Is there a way to allow developer machine to see asp.net errors?

Our site doesn't show the exception to the user. But having to be in the local server to see the error is something really bad for us. The question is: How to allow developer machines to see the errors in production? EDIT: Could I do this by altering Web.config file? You guys showed up with some interesting ideas, but I cannot alter r...

Web server performance/test tool

Hi,I'm looking for a tool that simply tests a web server which I developed an application on it. Tool must tell me that entire web server or a page in my application - can serve at most how many users - can use how much CPU - can measure transaction per second (TPS) Please do not confuse my question for a kind of http(s) listening t...