iis

Request.Form for a textarea returns bad data

This is a very weird error ocurring only with Firefox 3.5. I have tested it for IE, Safari and Chrome revealing no errors. I'm using my localhost IIS 5.1 and ye old asp. I've been able to reduce the scope to this... I have a textarea in a form, filled with 4000 characters, for example. < textarea name="obs" id="obs" cols="75" rows="1...

How to trace all ActiveX/COM objects life cyle in an ASP application?

Hi all, I'm fighting to find a memory leak in an old ASP application. I'm not the designer of this application (please kill me if one day I produce such an horror) moreover I'm far from being an ASP/JavaScript guru. I'm supposing that some ActiveX/COM objects are not freed correctly but it's huge job to trace all allocations. Some of t...

Require client certificates in IIS for non-local network requests using HttpModule

I need to require client certificates on a site in IIS for any request that does not originate from the local network. Any local requests should not require client certificates. Is there a way to do this in IIS? I was thinking of configuring IIS to allow client certificates but not require them and then use a custom HttpModule that wo...

Single sign on with ASP.Net Web Application

Client requires major applications to provide users with “single sign on” authentication feature based on the corporate solution (Active Directory). This means the business application trusts the credentials provided by the browser and does not request user to provide standard login/password pair. The server/browser trust is built on Win...

How to limit the domains that can call my page/web service

Hi, I'm having a web service witch I want to use on several domains. However, I want to limit the sites (domains) that can access my web service. For example, I want a request made by a page in site www.Site-A.com will execute and a request from www.Site-B.com to deny. Is there a way to do it with ASP.NET / IIS? ...

What are the advantages and/or disadvantages of running each website in its own AppPool?

We have a couple of sites which have some memory problems and fairly often crashes and taking a lot of other sites down with them. So I'm planning to at least put the troublesome sites in their own individual AppPools. I just wanted to make sure that this is a safe move to do or if there are anything I should know about separating AppPoo...

How do I reference a site by ID using IIS7 APPCMD?

I know how to reference a site by name to stop and start it? For example: appcmd stop site /site.name:"Microsoft SharePoint Administration" How do I reference a site using its IIS ID? I tried these variations: appcmd start stop /site.id:2 appcmd start stop /site.id:"2" appcmd start stop /site.id:2 appcmd start site /section:sites /[i...

ASP.Net web site gets burst of requests that crashes IIS worker process

I'm running a fairly high volume asp.net web site across a two serve cluster. Typical load is around 20 requests/second per server as logged by the ASP.Net Apps performance object. At periodic times during the day the performance counter logs anywhere from 2,000 to 9,000 requests/second. The worker process dies at this time and reports ...

troube with iis(maybe)

I have a web service on iis that i'm calling in a simple console app this web service is takes stuff out of a database I changed the data base on a config file but it seems to still be calling the former data base any tip? ...

How many concurrent request IIS 6.0 can resonse

Hi i have asp.net website, which i am making plan for hosting at Windows Server 2003. Here i would like to know that how many concurrent request IIS6.0 can server? Actually in my website the number of registration at the time of deployment is around eight thousand and the growth rate is about 100%. Is there any standard formula by whic...

Restarting windows service from website

I've a website that puts info into a mySQL database and a windows service (written in VB.Net) that polls the db and actions what's in there. However, occasionally it stalls and rather than having to RDP into the server, I want superusers to click on a button to restart the service. I can get the button to say, do a directory listing of c...

Connection string for Ms Access Database

My Ms-Access .mdb file is on my website. It is in the App_Data Folder The current connection string is: OleDbDataAdapter Da = new OleDbDataAdapter("Select * from SerialNo", new OleDbConnection(@"provider=microsoft.jet.oledb.4.0; data source=ftp://ftp.WebsiteName.com/App_Data/SerialNo.mdb")); Where am I making ...

how does iis 7 generate etags

what method/algorithm does iis 7 use to generate etags. I'm looking for exact, not 'well they use checksum on the date' This leaves lots of questions. What algorithm for checksum, which date, which format of the date (short, utc, 'mm-dd-yyyy ttad', 'MMDDDYYY', etc) Thanks in advance. i have scoured the net and cannot find this answer....

Is it possible to use Windows Authentication to logon to Axapta 4 (or 5) in a Website/webservice

Using this code I can not create a connection using IIS 7 with Windows Authentication. try { Axapta axapta = new Axapta(); axapta.Logon("", "", "", ""); //Or this> axapta.Logon("COMPANY", "NL-nl", "OBJECTSERVER", ""); System.Diagnostics.Debug.WriteLine("yep"); a...

Snippet of page source occasionally appears in the middle of page content

Every so often recently, a subset of our users report seeing small snippets of page source, such as part of a declaration cut off abruptly, displayed in the middle of the page where you would expect the rendered element to appear instead. We know these users use IE6 instead of IE7, and have connections that can sometimes be very slow, ...

Best way to present a Development and Live version

Like all web projects, when the site goes live you will require an ongoing support and development. We normally setup a BETA site to show our clients what it would look like so they can sign it off. With very large or highly programmed sites does anyone have a good way to deal with development and live site deployments ...

forms authentication works under VS development but not on iis

My asp.net app is using Forms Authentication. Running the project from the Visual Studio .NET 2008 has absolutely no problem, but it doesn't work on IIS, after clicking the Login button, the authentication code run with no error, but the Login page kept getting reloaded and reloaded. any ideas? tks in advance, james ...

ASP .NET Development Server not serving everything all the time

I'm using Visual Studio 2005 on a Windows XP SP3 machine and recently have come accross a some what strange issue. I have a C# and ASP.NET project that runs fine when on the team test server and using IIS locally on my own machine. However, running it using the in-built Visual Studio ASP.NET Development server it doesn't seem to serve a...

Visual Studio Keep Session between rebuilds etc

Hello, I would like to know if there is a way to keep the session going. I've got sick of losing my session between rebuilds/builds, if I change too much in my project or submit code to our SVN (tortoise via VisualSVN). I'm developing an ASP.NET MVC project with lots of jQuery. I would like to do this as I test my project on one scree...

Where can I find resources for setting up a Silverlight app that accesses sql server 2008 Express DB?

I am trying to set up a basic Silverlight application to run behind the firewall on my Windows XP machine with IIS 5.1. We have a MySQL server for production purposes, but I would like to set up SQL Server 2008 Express Edition on my Windows XP machine to host the database part of the application. I'm completely new to a lot of .NET d...