Web Parts for User Portals

We are trying to create a new web part for User Portals to link into an excel spreadsheet. This is based on the web part which comes supplied on the installation CD from Navision. When we activate the web part, it opens the xml document rather than the excel spreadsheet. What is the likely cause ?