Posts Tagged ‘2007’

Exchange 2007: unexpected error with management shell

Monday, February 1st, 2010

image  I received the following error message when opening and running a cmdlet with my Exchange Management Shell:

 

 

[PS] C:\Documents and Settings\admin>Export-Mailbox -identity user1 -PSTFolderPath c:\user1.pst
WARNING: An unexpected error has occurred and debug information is being generated: Unable to determine the installed file version
from the registry key ‘Software\Microsoft\Exchange\Setup’.

Export-Mailbox : Unable to determine the installed file version from the registry key ‘Software\Microsoft\Exchange\Setup’.
At line:1 char:15
+ Export-Mailbox <<<<  -identity user1 -PSTFolderPath c:\user1.pst
    + CategoryInfo          : NotSpecified: (:) [Export-Mailbox], TaskException
    + FullyQualifiedErrorId : Microsoft.Exchange.Configuration.Tasks.TaskException,Microsoft.Exchange.Management.RecipientTasks.ExportMailbox

Just looking on the error message it seems that something was missing in the Windows Registry. I opened Registry Editor and browsed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange. The Setup key was missing. Exchange 2007 management tools were installed to another server than Exchange Server was installed. I logged on the Exchange 2007 server, opened Registry Editor and browsed to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange key.  The Setup folder was visible and I right-clicked on the Setup folder and exported the Setup branch.

I went back to my Exchange 2007 Management installed server and imported the reg file.

image

After importing the reg file my problem was solved and I had another challenge with Export-Mailbox cmdlet.

Sharepoint 2007: Adobe PDF support

Monday, December 14th, 2009

Adobe PDF file format is by default not available on a Windows Server 2003 or a SharePoint 2007 (MOSS) installation. Most organizations today use PDF files and it would be helpful for their users to have PDF files stored in the full text search index. To get this working install the Adobe Reader from Adobe website.

I installed the latest version of Adobe Reader 9.2 today and followed the instructions I found on the following links:

Searching with some keyword of the PDF files the result returned nothing. PDF files were not index.

Reviewed the Crawl log and found failing messages for PDF files:

Crawled (The filtering process could not process this item. This might be because you do not have the latest file filter for this type of item. Install the corresponding filter and retry your crawl. )

I also tried to add the path system variable to the Adobe Reader installation folder and did another full index but this did not help.

The solution for the problem was changing two registry entries:

  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf and change Default Reg_Multi_SZ value to
  • {E8978DA6-047F-4E3D-9C78-CDBE46041603}

  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf and change Default Reg_Multi_SZ value to
  • {E8978DA6-047F-4E3D-9C78-CDBE46041603}

    After these registry entries have been modified run iisreset; “net stop osearch” and “net start osearch”. Re-run the full index crawler on your content.

    image

Thanks to the community I got the PDF icon and the PDF search working on the Sharepoint 2007 platform!

Sharepoint 2007: PDF icon is missing

Thursday, September 24th, 2009

When uploading PDF documents to “Document Libraries” in Sharepoint 2007 the icon is missing. It takes couple steps to get this done. One task to your planning when putting the Sharepoint 2007 server in production. I run these steps in my DEV environment.

Sharepoint 2007 pdf icon in doc

Follow the hyperlinks below to get this done in your Sharepoint 2007 configuration:

SSL certificate Windows Server 2008 and Exchange 2007 SP1

Tuesday, August 26th, 2008

Thanks to guys from Telnetport25 I was able to finish my SSL certificate migration for my new Windows Server 2008 virtual machine running a Exchange 2007 SP1 installation.

My work log:

  • Logon on the old Windows Server 2003 hosting the OWA front-end role
  • Start MMC and add the Certificate Snap-In; choose the Computer Account.
  • Go to Personal/Certificates and locate the SSL certificate assigned to IIS for SSL encryption. Right click ; All Tasks and choose export. Choose the appropriate options like the certificate path; assign password and save the PFX file to "My Documents"
  • Copy the PFX file to your Windows Server 2008 Client Access Server
  • Logon on the Windows Server 2008 and add the Certificate Snap-In to a new MMC console for the Computer Account
  • Go to Personal/Certificates; right click; All Tasks and choose Import.

image 

  • Locate the PFX file; enter the password and make sure you check "Mark this key as exportable" to enable future migrations of the SSL certificate.
  • Place the certificate in the Personal Store

image 

  • Open the certificate and go to Details tab. Locate the Thumprint field and select Value with mouse; press CRTL-C to copy the data.

image

  • Paste the value in Notepad and replace the "SPACE’ with CRTL-H. In the Find what field press space on the keyboard and click Replace All

image

  • Copy the Thumbprint
  • Start the Exchange Management Shell and run the Enable-ExchangeCertificate cmdlet
  • Type IIS as Services and paste the copied data from Notepad to Thumbprint

image 

  • Start Exchange Management Console and go to Server Configuration /  Client Access / Select the server and open owa from Outlook Web Access tab
  • Type External URL of the SSL certificate and DNS. E.g. https://webmail.domain.tlk

    image

  • Click OK and you are finished to test the configuration.
  • Start IE and test your OWA role. Review your NAT and Firewall rules also.

image

Related links:

Microsoft Office InfoPath 2007 form cache error

Wednesday, June 4th, 2008

For weeks my local Infopath 2007 installation failed to open forms located on SPS server. See warning below.

clip_image001

InfoPath cannot open the following file: http://sharepoint/ChangeMgmt/Forms/abc.xml InfoPath cannot open the form. To fix the problem, contact your system administrator.
Form template: http://sharepoint/ChangeMgmt/Forms/solution.xsn. There is an error in the form’s cache. To correct the error, open the form again.

This was my solution is solving the problem. Before you start clean the Internet Explorer Cache!

For Windows Vista

  • Locate C:\Users\%Username%\AppData\Local\Microsoft\InfoPath\FormCache2 and delete complete folder. If this fails than rename the subfolders to something else like abc and try again. I got a warning and the action failed if I did not rename the folder.
  • Run C:\Program Files\Microsoft Office\Office12>INFOPATH.EXE /cache clearall

For Windows 2000/XP

  • Locate C:\Documents and Settings\%Username%\Local Settings\Application Data\Microsoft\InfoPath\FormCache2 and delete the folder.
  • C:\Program Files\Microsoft Office\Office12>INFOPATH.EXE /cache clearall

After these steps my Infopath forms opened again ;-)

clip_image002

SCVMM console: Add new host / Error 421

Wednesday, May 14th, 2008

I tried to install Windows Server 2008 x64 on one of my Dell PowerEdge 2900 servers, because the storage driver was failing for x64 bit OS installations of Windows I was forced to install Windows Server 2003 R2 Enterprise x86. The server is up and running and I installed Virtual Server 2005R2 SP1 Enterprise. Through the SCVMM console I initiated the Add Host of this new Windows server. The job failed with message the server did have the WS-Management service installed.

I did not install the WS-Management service before and I found somewhere to install the Hardware Management option in Add/Remove Windows Components to get this working.

image

Than I retried to add the server as host in SCVMM but the installation stopped with the message below.

Error (421) Agent installation failed on ref-vmh-02 because of a WS-Management configuration error.

image

I reboot the server couple of times; reviewed the eventlog and nothing worked to get the Virtual Machine Manager 2007 agent installed. There is hotfix which you can use and install the WinRM component manually without control panel. Go here and download and install the fix http://go.microsoft.com/fwlink/?LinkId=84599. This fixed my problem and errors 10101 WinRM in the application eventlog.