I have an MHTML file which has embedded images. The MHTML is generated on the server and then I will typically deliver the file using a BinaryWrite. I've also tried Server.Transfer, Response.Write after converting to ASCII and writing the file to disk and using a Response.WriteFile. In any of these cases the resulting file is not (it ...
I have a web application that works fine in IIS 6.0. I have modified to make it work in Apache Tomcat also.
Will there be any visible changes in performance between the 2?
Are there any specific advantages or limitations.
...
I have a Windows Server 2003 that is running IIS 6 with several web sites and I need to copy the web sites to a Windows Server 2008 server running IIS 7.5. Is there anyway to copy the information?
...
The default ASP.NET web server that launches from within Visual Studio (Casini) is a little buggy on my development machine, so I like to publish to a local IIS instance on my dev machine and look at the web application there. However, I'm not automatically in "Debug Mode" when I launch the application this way.
I know that VS 2010 has...
Hello community
I have the following problem:
I developed and OpenID authentication system on C#, it worked perfectly on my LocalHost, but when I published it, I keep getting this error messages, what should I do?
Thank you!
Error:System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> ...
Hi,
We need to have our PHP application hosted on a 64 bit Windows OS due to another application's requirement. However, reading a bit more on the topic revealed that the PHP implementation is only for a 32 bit environment on Windows.
From: http://en.wikipedia.org/wiki/PHP
PHP interpreters are available on both
32-bit and 64-bit ...
Hi there,
I have the following code:
CustomerService service;
public CustomerService Service
{
get
{
if (this.service == null)
{
this.service = new CustomerService();
}
return this.service;
}
}
public DataTable GetCustomers()
{
return this.Service.GetCustomers();
}
Now the ...
I've already enabled firewall rules for IIS Express (HTTP Traffic In) and IIS Express (HTTPS Traffic In) on ports 80 and 2012 (this one is used in WebMatrix), but I can't connect to the server from my LAN. WebMatrix is running on a virtual Windows 7 machine.
Is this a limit of IIS Express?> Yes - you can redistribute IIS Express with yo...
I'm working on a community forum script, and I want to give every one an opportunity to create their own community forum for free.
So let's say I have the following domain:
www.forum.com
Bob wants to create his forum, he signs up, picks a username ("bob") and gets his own forum instantly: bob.forum.com
There are the things that need ...
Hello All,
I have weirdest problem with PHP itself, that I've ever seen.
Setup:
PHP 5.33, (tried PHP 5.2.14 as well) under IIS
Problem:
PHP deletes all session data as soon as I put exclamation point into a key in session array.
Example:
session1.php
session_start();
$_SESSION["foo"] = 'test';
header('Location: session2.php');
s...
Hello all,
I am trying to implement a custom HTTPModule for ASP.NET. I have a very simple html page with an image in it and an HTTPModule that hooks into the BeginRequest event. When I debug with Visual Studio's dev web server, my module is called twice: one for the initial page request, then once for the image request. This is what ...
I created a custom Membership Provider which is now working in production just fine validating my WCF calls.
I do have an issue every now and then that for some unknown reason my provider cannot validate the user. In those cases I do not want the ValidateUser function to just return false, so I thought of throwing and excception with a ...
Hi,
I have a problem with physical and virtual directories on my shared windows hosting account, where it's IIS6 and I manage my hosting via Dot Net Panel (2.8.4).
I have installed a copy of BlogEngine.net into wwwroot\myblog, and created a virtual directory mydomain.co.uk\blog to point to it. My hoster has enabled my domain to run Appl...
Hi,
I have a web app hosted in IIS7 and I have set the appPool to run as administrator. Now if the user logs in (form authentication), the IIS will use administrator account (in the appPool) to access the database however if the user does not log in then IIS will use 'NT AUTHORITY\IUSR' account which is causing an error: Login failed fo...
I'm getting this error when trying to view a page in my localhost. Web site worked before. The code files are not pre-compiled. I've cleaned asp.net temporary folders and gave full control permission to IIS_IUSRS account for wwwroot and Temporary ASP.NET Files folder but no change.
I also get Access Denied error while try to execute
C...
Can you please describe an example indicating difference between Public and Private Cache-Control in asp.net applications hosted in IIS.
I read in MSDN that the difference is the following:
Public:
Sets Cache-Control: public to specify that the response is cacheable by clients and shared (proxy) caches.
Private: Default value. Sets C...
I have set Private Memory limit of 200mb in IIS 7 for an application pool. The Private Working Set memory(Task Manager) for the application is always below 125mb but the number of page faults have increased a lot and application cache is getting cleared frequently after setting the limit.
I haven't set any limit on Virtual Memory. Can s...
I am running into a situation where my IIS App Pool actually crashes when I try to get the outer XML of an XML input. Here is the code that I inherited :
var tempNamespace = xmlToValidate.OwnerDocument.CreateAttribute("xmlns");
tempNamespace.Value = xsdFileName;
xmlToValidate.Attributes.Append(tempNamespace);
//Have to create fragment...
We are looking for tools to orchestrate complex deployments. We use a variety of MS technologies (IIS 6, MS SQL, Windows 2003 Servers, .NET 4.0) and have developed point solutions of varying qualities for deployment of websites (lousy), databases (good), and other stuff (OK). Our major holes right now are gluing it all together (orchestr...