Use a proxy page to realize OWA Single Sign-on

  In a production environment, if customer sets Exchange OWA (Outlook Web Access) behind some external portal, after sign in the web portal, when access the OWA, most users don’t like re-type user name and password. We call this requirement as OWA SSO (Single Sign-on).   To achieve this goal, if the web portal is…

2

.NET application may crash when calling function from native C++ dll

  Symptom =========== Customer built an ASP.NET web application using Visual Studio 2008 on Windows 2008. In the source code, it called a function which was imported from native c++ dll:   [The source code looks like below]   public partial class _Default : System.Web.UI.Page  {         protected void Page_Load(object sender, EventArgs e)         {…

2

ASP cannot open encrypted Access 2007 database file via ODBC

  Symptom: To reproduce the issue: 1.        Install “2007 Office System Driver: Data Connectivity Components” in order to open the new Access 2007 .accdb database file. http://www.microsoft.com/downloads/details.aspx?familyid=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en   2.        Place an .accdb Access 2007 database file on server. The database is password encrypted.   3.        Setup an ODBC system DSN and point it to the…

1

DllCanUnloadNow function isn’t invoked after using classic COM components in .NET applications

  COM Interop is a technic  for calling an unmanaged COM component from a .NET application, please refer to http://msdn.microsoft.com/en-us/magazine/dvdarchive/cc163494.aspx to learn how to implement it. DllCanUnloadNow is an important function which should be implemented and exported by the COM component. However, you may be aware that the DllCanUnloadNow function isn’t invoked with the managed…

0

The “page cannot be displayed” error occurs due to incorrect IIS installation

  Customer has an IIS 6.0 with SMS installed.   When access one of the SMS virtual directory, IE showed “page cannot be displayed” error with a button asking you to troubleshoot connection problem. There was no entries logged in IIS log, however we could found a “connection dropped” error for each request in http…

0

Why cannot this ASP.NET application domain be unloaded?

  Symptom: According to the dump file, there are dozens of application domains for one asp.net web application. Troubleshooting: Asp.net starts new appdomain and unloads old one in various scenarios, for example: ·         Machine.Config, Web.Config or Global.asax are modified ·         The bin directory or its contents is modified ·         The number of re-compilations (aspx, ascx…

0

Error “setup was unable to load the master information file”

  Symptom: When clicking “Add/Remove Windows Components” in control panel, it shows error “setup was unable to load the master information file” and rejects further action. Troubleshooting: This error occurs when master information file %windir%\inf\sysoc.inf is missing. This can happen when system is restored from an invalid backup or malicious software has deleted important system…

0

Analyze .NET Fusion log with PowerShell in timely manner

  In my previous post, I give one sample on how to use Powershell to filter and categorize information from thousands of IIS7 FREB log files.   Here is another sample to quickly find out useful information from .NET fusion log with PowerShell.  Here we go:   Problem Description =============== Customer’s web application reported this…

0