Can't import Application Definition file
Hi,
I'm trying to import a new version of an Application Definition file, and I get the following cryptic error:
Code SnippetApplication definition import failed. The following error occurred: Index was outside the bounds of the array. Error was encountered at or just before Line: '2' and Position: '2'.
Digging through the Event Log in the Windows 2003 server, I found the following event details:
Code SnippetEvent Type: Error
Event Source: Office SharePoint Server
Event Category: Business Data
Event ID: 5191
Date: 6/4/2008
Time: 11:59:53 AM
User: N/A
Computer: SAP-2003
Description:
Runtime Error in method PackageImporter::Import of type System.IndexOutOfRangeException.The exception was System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Array.Clear(Array array, Int32 index, Int32 length)
at System.Collections.Generic.List`1.Clear()
at Microsoft.Office.Server.ApplicationRegistry.Administration.LobSystemCollection.EnsureLobSystems(String searchLikeName)
at Microsoft.Office.Server.ApplicationRegistry.Administration.LobSystemCollection.GetEnumerator()
at Microsoft.Office.Server.ApplicationRegistry.Administration.LobSystem.PerformVersionCheck(String versionString, String lobSystemName)
at Microsoft.Office.Server.ApplicationRegistry.Administration.LobSystem.ReadXml(XmlReader xmlReader, ParseContext context, PackageContents packageContents)
at Microsoft.Office.Server.ApplicationRegistry.Administration.ApplicationRegistry.ImportPackage(XmlReader reader, ParseContext context, PackageContents packageContents)For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
What have I do to try fixing it?
I'm minimized my application definition file to a bare minimum:
Code Snippet<?
xml version="1.0" encoding="utf-8" standalone="yes"?><
LobSystem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation
="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog BDCMetadata.xsd" Type="Database"Name
="asaf" Version="2"xmlns
="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog"></
LobSystem>This didn't help.
I've deleted my application from sharepoint, but it didn't help either.
I've erased the application form the Search Content Sources, and reset the search data.
Nothing helps!
The most troubling thing here is that you can' communicate with Microsoft and get support for this bug. This company is big, the chances of finding a fix for this bug, is slim. I wish they'd be more like the open source community. If you find a bug in JBoss, it's easy to search in in their bug-report system (JIRA) and see when they're fixing it and in what version.
Asaf
Respuestas
Unbelievable.
It was solved with resetting the IIS Server: "iisreset" command.
Todas las respuestas
Unbelievable.
It was solved with resetting the IIS Server: "iisreset" command.

