Wednesday, December 28, 2011

Error Message Could not load the Web.config configuration file. Check the file for any malformed XML elements and try again. The following error occurred: The given key was not present in the dictionary.

To resolve this problem, make sure that the Site URL property value of the SharePoint project in Visual Studio matches the URL assigned to the Default Zone for the alternate access mappings of the web application. Using another zone, such as Intranet, for the URL will not resolve the error. The project’s Site URL and the URL in the Default Zone must be the same. To access alternate access mappings, click Application Management in the SharePoint 2010 Central Administration utility, then click the Configure alternate access mappings link under Web Applications

More information Create zones for Web applications.

Tuesday, December 27, 2011

Object doesn't support this property or method

Verificar o elemento que chama a função.

No meu caso chamava o elemento não existia.


1. Verifique o ID com o firebug ou IE developer.
2. Verifique a função se existe e se o ficheiro .js está linkado para a página no header.

Have fun!!