How To Fix Archives - Page 10 of 12 - Digital Tool Factory blog How To Fix Archives - Page 10 of 12 - Digital Tool Factory blog

The Digital Tool Factory Blog

How to Fix: Canonical Urls with IIS 7’s Url Rewrite feature for https

SATOR Magic squareThe Problem: You want to make your website all SEO friendly by creating a single, canonical url.  For example, if someone types in http://www.stronico.com, you want them to be redirected to http://stronico.com (Google likes it this way).  You do some research and discover that all of the default code and documentation for handling canonical Urls in IIS 7 uses web.config files and the URL Rewrite application program.  All is well and good so far, but what if you use SSL?  The stock code will always redirect you to http://stronico.com/Signup/ even if the original url was https://stronico.com/Signup/ (note the https). Continue reading →


01
Jun 10


Written By Steve French

 

How to fix the 550 #5.1.0 Address rejected email problem

email_subscribeThe Problem: All email that you send get’s bounced back with the following message:

Subject Line: Delivery Status Notification (Failure)
Message: Delivery to the following recipient failed permanently:
[email protected]
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 #5.1.0 Address rejected [email protected] (state 14).

The Cause: There is no “mail.domain.com” in the dns system.  In my case I was sending the mail via an alias (it was a notification email from the web server).  The receiving mail server sees the email as forged and bounces it.

The Solution: Go to the dns system and create a mail.domain.com and point your MX records to that.  It’s a bit silly, but it has to be done that way.

Creative Commons License photo credit: derrickkwa

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


10
Mar 10


Written By Steve French

 

How to fix updating problems in your Silverlight application

The Problem: You make changes to your Silverlight Application, but you do not see it reflected when you debug or run the solution.2cv_phil_repair_small

The Cause: While the web project portion of the solution is being compiled and run, the Silverlight project is not being built.  This just happened to me recently.  Visual Studio crashed and somehow the Silverlight project portion of the solution decided to remove itself from the build list.

The Solution: Right-Click on the solution, then select “Configuration manager”.  Make sure that the “Build” checkbox is selected for both projects.  That’s it!

Creative Commons License photo credit: Mooganic

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


02
Mar 10


Written By Steve French

 

How to fix strange errors in silverlight web services

fix you_smallThe Problem: You upload your wonderful Silverlight application to a new server and begin to get all sorts of strange errors, most notably something like this

Message: Unhandled Error in Silverlight 2 Application An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.   at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at StronicoMain.ServerUtil.AddressTypeListCompletedEventArgs.get_Result()
at StronicoMain.Page.proxy_AddressTypeListCompleted(Object sender, AddressTypeListCompletedEventArgs e)
at StronicoMain.ServerUtil.ServerUtilClient.OnAddressTypeListCompleted(Object state)
Line: 1
Char: 1
Code: 0
URI: http://www.servername.com/Silverlight.js

Continue reading →


02
Mar 10


Written By Steve French

 

How to automatically start a program in the tray

The Problem: There is no way to start a program minimized in the system tray

The Cause: The correct event is the Shown event, which is not intuitive (to me anyway).

The Solution: Just add in the following code:

private void MyForm_Resize(object sender, EventArgs e)
{
if (FormWindowState.Minimized == WindowState)
{
Hide();
}
}

private void MyForm_Load(object sender, EventArgs e)
{
this.Hide();
}
private void MyForm_Shown(object sender, EventArgs e)
{
WindowState = FormWindowState.Minimized;
Hide();
}

and you’re done!  You can then the start the program and it will automatically minimnize itself to the tray.

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


25
Feb 10


Written By Steve French

 

How to write an effective email

envelopeAfter listening to Jeff Atwood rant about email on the most recent Stack Overflow Podcast I thought I would write a quick guide to creating an effective business email.  I am defining “business email” as email designed to garner information needed to perform some larger, work related task.  Business emails tend to be a constant stream of communication between two parties over an extended period of time.  This quick guide should eliminate 90% of problems related to those emails.  We now resume our regular “How To Fix” formatting:

The Problem: People send email  to occupy time and simulate forward motion, and in some cases convey information, but they seldom use email to elicit information from co-workers.  Attempts to elicit information are likely to transmit anxiety from sender to receiver rather than triggering a useful response from receiver back to sender. Continue reading →


15
Feb 10


Written By Steve French

 

How to fix the No connection could be made because the target machine actively refused it 127.0.0.1:25 error

The Problem: You have a brand new Windows 2008 server and you are testing your web application and trying to send an email.  Every time you try to send an email via the web application you get the following error

“System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:25”

The Cause: SMTP services are not installed on the server, they do not seem to be installed by default. Continue reading →


12
Feb 10


Written By Steve French

 

How to fix frozen router bits

Router BitsThis is not computer related, but it was meaningful enough to merit mention here.

Last February I purchased a Triton Woodworking 3.5 Horsepower router, the only “elite” tool I have for my woodworking hobby.  About 4 months ago I managed to get a 1″ radius round-over bit stuck (“Frozen” in woodworking jargon) into the router.  I tried everything I could think of to remove the frozen router bit.  I pulled so hard I bent the factory wrench (really, I did), I tried using micro lubrication, I let it run long enough for everything to heat up, I consulted the woodworking elders at Highland Woodworking, all to no avail.  As Triton is an Australian company, they do not have a local service center. Continue reading →


08
Feb 10


Written By Steve French

 

How to fix Print to PDF problem in QuickBooks 2010 – Version Two

The Problem: QuickBooks 2010 refuses to print to pdf when you attempt to send an invoice on Vista 64 bit.

The Cause: Quickbooks 2010 on Vista 64 bit does not work well.

The Solution: Close all programs, go to the Task Manager and make sure that Outlook is not open in the Processes.   Reopen QuickBooks Pro 2010 and try printing the invoice to pdf again.  I have no idea why this works, and I have yet to single out which program is causing QuickBooks to malfunction, but that does seem to fix it.

 

This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


30
Jan 10


Written By Steve French

 

How to fix binding problems with Microsoft.Web.Administration.ServerManager

The Problem: You are trying to create a new website programatically via the Microsoft.Web.Administration.ServerManager and having no luck.  In fact, you are getting invalid binding errors at every turn. Continue reading →


25
Jan 10


Written By Steve French

 




Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.