TechShizz | All posts tagged 'Fault Finding'

Office Configuration Analyzer Tool (OffCAT) information

The Microsoft Office Configuration Analyzer Tool (OffCAT) provides a detailed report of your installed Office programs. This report includes many parameters about your Office program configuration. It also highlights known problems that are found when OffCAT scans your computer. For any problems that are listed in the report, you're provided a link to a public-facing article (usually a Microsoft Knowledge Base article) about each problem so that you can read about possible fixes. If you're a Helpdesk professional, you can also save the report to a file so that it can be viewed in OffCAT on another client on which the tool is installed.

Diagnosing generic IIS Errors such as "server error in '/' application"

Sometimes web browsers will only show you a generic error that could mean absolutely anything. If you enable IIS logs and look at those you may find out what the issue is if the problem is with the IIS server - but if the problem is in the application code this won't show in IIS logs. 

There are two steps to getting the error information you need.

1. In Internet Explorer you need to disable Friendly HTTP Errors. Press <Windows>+R and type inetcpl.cpl > Advanced > Untick "Show friendly HTTP error messages".

If you are not the website administrator this is as far as you can go.
2. Back up your web sites web.config file.  
3. Open up the website's web.config file. Find the <system.web> tag and within this find <customErrors

Remove this whole tag and replace it with:

<customErrors mode="Off">
</customErrors>

Remember to click 'Save'.


Set Message Size Limits in Exchange 2010 and Exchange 2007

Typical Errors:

#550 5.2.3 RESOLVER.RST.SendSizeLimit; message too large for this sender ##

#550 5.2.3 RESOLVER.RST.RecipSizeLimit; message too large for this recipient ##

There are several places to check/set message size limits:

1. Organizational Limits
Set-TransportConfig -MaxReceiveSize 40MB -MaxSendSize 40MB

In Exchange 2007 SP1 and later, you can also set the organizational message size limits using the EMC by going to Organization Configuration | Hub Transport | Global Settings tab | Transport Settings | properties | General tab.
Transport Settings Properties
2 Receive Connector Limits
Set-ReceiveConnector “CONNECTOR NAME” -MaxMessageSize 40Mb
.
To modify the maximum message size on a Receive Connector using the Exchange console, select Server Configuration | Hub Transport | select a Hub Transport server | Receive Connectors -> select a connector | Properties | General tab.
Receive Connctor Properties
3. Send Connector Limits
Set-SendConnector “CONNECTOR NAME” -MaxMessageSize 40Mb

To modify the maximum message size on Send Connectors, select Organization Configuration | Hub Transport | Send Connectors -> select connector | Properties | General tab.
Send Connector Properties
4. Recipient Limits
Set-Mailbox “Rich” -MaxSendSize 20Mb -MaxReceiveSize 20Mb

To set these using the Exchange console: Recipients | Mailbox -> select mailbox (or select another recipient type such as a contact or mail user from the corresponding node) | properties | Mail Flow Settings tab | Message Size Restrictions.
To modify the maximum message size on Send Connectors, select Organization Configuration | Hub Transport | Send Connectors -> select connector | Properties | General tab.
Recipient Limits
5. Active Directory Site Link Limit
By default, the MaxMessageSize on AD Site Links is set to unlimited. This can be changed using the following command:

Set-ADSiteLink “DEFAULTIPSITELINK” -MaxMessageSize 20Mb

6. To track messages that failed because of recipient’s MaxReceiveSize:

Get-MessageTrackingLog -EventID FAIL | where {$_.RecipientStatus -like “*RecipSizeLimit*”}

To track messages that failed because of the sender’s MaxSendSize:

Get-MessageTrackingLog -EventID FAIL | where {$_.RecipientStatus -like “*SendSizeLimit*”}

To track messages that failed because of a SizeLimit

To track messages that failed because of recipient’s MaxReceiveSize:

Get-MessageTrackingLog -EventID FAIL -ResultSize Unlimited | where {$_.RecipientStatus -like “*RecipSizeLimit*”}

To track messages that failed because of the sender’s MaxSendSize:

Get-MessageTrackingLog -EventID FAIL -ResultSize Unlimited | where {$_.RecipientStatus -like “*SendSizeLimit*”}

Hyperlinks not working in Outlook - Your organization's policies are preventing us from completing this action for you. For more info, please contact your help desk.

This is an issue to do with the default application of file types.

1. Set the default email application as Outlook.
Go to the Control Panel > Programs> Defualt Programs > Set your default Programs > Select Outlook > Select " Set as Default Program"

2. Set Internet Explorer as the default application as your browser.
Set this in the same screen as above.
3. Set the following reg key - HKEY_CURRENT_USER\Software\Classes\.html. Verify that the Default value of this key is htmlfile.
Run > "regedit" > navigate to the location in the registry > Modify the registry value to "htmlfile".

You could do this in an elevated CMD prompt as:

REG ADD HKEY_CURRENT_USER\Software\Classes\.htm /ve /d htmlfile /f