I'm trying to migrate a few asp.net applications from iis 6 to iis 7 and I've run into a few snags along the one. I can't find any documentation for the issue I'm seeing and wanted to see if someone else has encountered the same problem.
I'm using SQL Server 2005 db mirroring on my databases. In the connection strings of my applicatio...
I'm getting an AV when I hit a COM interop ASP page (that calls managed .NET code). Feels like this has something to do with IIS 7 / Windows 2008.
Google can't figure this out. Any ideas?
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Web.Hosting.UnsafeIISMethods.M...
I'm doing a home project that started off really easy (doesn't that always happen?) and then took a nasty permissions turn.
Basically, I have a home intranet and my PC is doing double-duty as the home web server. I'm running Vista, so we're talking IIS 7.
In Visual Studio, this works perfectly. I have my homepage query Outlook (2007)...
I have a fairly simple ASP.NET application, set up as a Web Application Project in Visual Studio. There is one particular aspx file called "invoice.aspx" which IIS refuses to serve. The URL I am using is definitely correct, and other aspx pages from this directory load and execute just fine. But not this ONE page! I've put a break po...
I am looking at a .NET ASP application (from the support side - I didn't program it).
It intermittently hangs - the web page doesn't open. Recycling the app pool fixes it.
I can see entries in the event viewer stating
"A process server application pool 'wsfrappPool' exceeded time limits during shut down. The process id was '9396' from...
I am using impersonation in an application in IIS. I need to write a file to the file system, but don't want to use the impersonated user's credentials in this one case. I need to use the credentials of the app pool.
How do I temporarially elevate a worker process' credentials from impersonated credentials to the app pool's credentials?...
I have created a WCF service with NetMsmqBinding, and hosted it in IIS7 using Windows Activation Service (WAS).
Current (works perfectly):
Hosted in IIS at: http://localhost/MyService/MyService.svc
With the service endpoint address: http://localhost/private/MyService/MyService.svc
And the corresponding queue: .\private$\MyService/M...
Situation: Classic ASP application, using a custom Application Pool. Default settings.
On some IIS7 machines, IIS decides to serve only one page at a time. So if multiple load any pages from a site, each one has to load in succession.
e.g. If I load http://foo.com/default.asp from one browser, and from another machine I load http://...
I have multiple websites that all have the same code, but different app settings.
I want to place my app settings in a separate configuration file that is located in a virtual directory. This will allow me to have a single copy of all of the code shared across all of the sites with a different virtual directory for each site.
Unfortuna...
I have a pretty weird situation here, and i came up with a very strange conclusion, the thing that makes me think that i got it all wrong, that i have cured the scratch with hcl or something !
Anyways, two days ago i found out that all the pages in a certain directory on a web app that I work on stopped working;
When I tried to debug...
I'm creating a forums based site and want to block the members that post spam or abuse. I was thinking about using an HTTPModule to do this but I came across the Dynamic IP Restrictions extension to IIS7. I wonder if it's possible to add IPs dynamically from my app to the extension?
Also, if you have experience with that extension this ...
I have a normal Windows Server 2008 installation with II7. Each website has it's own application pool. But there is a security realated problem.
There is no restriction for an asp.net application to write a file into C: or any other directorys.
In IIS 6 before this could happen I would have to set those rights in the windows folder se...
Can you advise me whether it is possible or not to assign a SSL Certificate to a website in IIS7 using the APPCMD application?
I am familiar with the command to set the HTTPS Binding
appcmd set site /site.name:"A Site" /+bindings.[protocol='https',bindingInformation='*:443:www.mysite.com']
and how to obtain current mappings
%windir...
Another beginner question for ASP.NET:
I'm starting an ASP.NET project in Visual Studio 2008, and would like to link it to a folder on a remote server (as in it builds/publishes to this folder). It may be my phrasing, but I cannot seem to figure out how to do this (even with Google at my side!).
I naively tried to just upload the code...
I have an application that is currently deployed (ex. www.example.com ). However, now we have a "secure" subdomain, which will take all of the requests that need to be encrypted (ex. secure.example.com). The site that is at www.example.com is currently mapped to C:\inetpub\example.com\wwwroot\, and I've mapped secure.example.com to C:\...
Hi - Looking for some advice about the use of client certs to retro-fit access control to an existing app.
Our company has an existing intranet app (classic ASP/IIS) which we licence to others. Up till now it's been hosted within each organisation that used it and the security consisted of "if you're able to access the intranet you're a...
Hi all,
I have an HTTP Module to handle authentication from Facebook, which works fine in classic pipeline mode.
In integrated pipeline mode, however, I'm seeing an additional request pass through for the default document, which is causing the module to fail. We look at the request (from Facebook) to retrieve and validate the user a...
Is it possible to use the users windows authentication (setting in iis) for database connections in PHP?
This is possible in the .NET world through a technique called "impersonation". Does this also exist in the PHP/IIS world?
EDIT: The Database I am using is MS SQL Server 2005.
...
Here's the thing. We've been chansing an bug on my WCF web application (W2K3 IIS) which was resulting in a stackoverflow.
To fix it I need to increase the stack of my application by creating a thread with the amount of memory I want to allocate.
But what happens with the child threads? My app creates many threads, will they inherit the v...
I'm having some trouble with IIS on a Windows XP SP3 machine. When you go into the properties of the Default Website and go to the Home Directory Tab, there's a "Configuration..." Button that when clicked, is supposed to bring up a window where you can define application mappings. The problem I'm having is that when I click the button (w...