*.dannyg

Getting Crystal Reports XI Release 2 to install

May
27

 

I was facing some issues getting Crystal Reports XI Release 2 to install.   The installer was complaining that .NET 1.0 or 1.1 should be installed.   This was kind of a confusing message, since .NET 1.0 and 1.1 were both installed on the box.

The workaround is to uninstall all versions of .NET except 1.0 and 1.1 temporarily.  In my case I had to uninstall .NET 2.0, 3.0, and 3.5 to get this to work.  Once it was completed installing, I reinstalled all the uninstalled versions of .NET.

Technorati Tags: ,

Email Resources

May
26

Hotmail Sending Woes

May
20

URL Rewrites in WCF

May
12

I had posted an entry to StackOverflow earlier today.  But I was able to resolve before I got an answer.  When handling URL rewrites in WCF, it’s important to include the trailing forward slash in the URL.  You can this in my example below.

 

public class FormatModule : IHttpModule
{    
#region IHttpModule Members    
 
     public void Dispose()    
     {       
          throw new NotImplementedException();   
     }   
    
     public void Init(HttpApplication application)    
     {        
          application.BeginRequest += new EventHandler(application_BeginRequest);   
     }    
 
     void application_BeginRequest(object sender, EventArgs e)   
     {       
          HttpContext context = HttpContext.Current;       
          if (context.Request.RawUrl.Contains(".pox"))             
               context.RewritePath("~/Lab1Service.svc?format=pox", false);        
          else if (context.Request.RawUrl.Contains(".json"))             
               context.RewritePath("~/Lab1Service.svc?format=json", false);   
      }    
#endregion
}
 

What I needed to do was to include the trailing slash as seen below.

 

context.RewritePath("~/Lab1Service.svc/?format=pox", false);
Technorati Tags: ,,

Login to IMAP Server with puTTY

May
11

Create a connection to an IMAP server using the hostname and port 143

? login username password

To see a list of all the mailboxes on the server we use the list command. The arguments “” “*” simply get all the mailboxes including sub folders.

? list "" "*"
 
Technorati Tags: ,,

Remote Desktop Keyboard Shortcuts

May
07

Finding CPU Utilization on SQL Server

May
07

Run this query to see if there is an increasing amount on a particular SPID

select spid, cpu, physical_io from sysprocesses order by cpu desc

Technorati Tags: ,,

Hotmail/Live Email Sending Problems

May
05

I’ve spent the last day or two trying to resolve why email was not being sent from specific SMTP Server to Hotmail. 

By signing up for Smart Network Data Services, you can very easily see where you pain point is.

Check it out https://postmaster.live.com/snds

Very helpful stuff!

image