Behind the scenes, when a VSTO addin or customization loads, the runtime uses reflection to search for all Ribbon controls and customizations and automatically adds them to the appropriate extension regions. This process makes it easy for developers as they don’t have to worry about hooking up the Ribbon Tab that they’ve developed to the Ribbon, or add a new menu item to the Office Menu. However, it can make the add-in’s startup time slower if your Office solution has many references and assemblies.
Ran into this issue when designing a Ribbon (Visual Designer) control that contained a ComboBox. After you add items to the ComboBox using the properties window, everything appears fine until you attempt to Save or Build. You will get the following error:
Frequently the applications that we develop will need to send out an email (e.g. for account registration, order confirmation or newsletter). How does a developer tests that the emails are formatted and mail merged correctly? The options you have are:
- Local or other SMTP server (not applicable for Windows 7 as there is no local SMTP server option anymore)
- Local Directory Delivery
- Smtp4Dev (recommended)
By default when you deploy a Silverlight application to an IIS 6.0 server and try to load the page, you will get a JavaScript error:
Code: 2104
Category: InitializeError
Message: Could not download the Silverlight application. Check web server settings
You may run into an error with Windows 2003 Server and IIS 6.0 when trying to deploy an ASP.NET 4.0 web application.
<compilation debug=”true” targetFramework=”4.0”>
<assemblies>
:
:
</assemblies>
</compilation>
Exception information:
Exception type: ConfigurationErrorsException
Exception message: Unrecognized attribute ‘targetFramework’. Note that attribute names are case-sensitive.
At this point there are two options:
- Configure IIS 6.0 to run the .NET 4.0 framework (more involved)
- Retarget your ASP.NET web application to use the .NET 3.5 Framework (easy)