There is a break change in IIS 7.5 on Windows 7 and Windows Server 2008 R2. The default identity for running an application pool is "ApplicationPoolIdentity". If you have a web application developed against application pools running with NETWORK SERVICE on IIS6/7, it might break after migrated to IIS 7.5 due to default application pool identity change.
Month: August 2010
-
Mixed mode assembly Error After Upgrading to DotNet 4.0
After upgrading existing DotNet 2.0 or 3.5 application to DotNet 4.0, you might see following error message
Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
To fix this issue, put a config file next to your exe called <exename>.exe.config with the following content:
<configuration>
<startup useLegacyV2RuntimeActivationPolicy=”true”>
<supportedRuntime version=”v4.0″/>
</startup>
</configuration>Or if your exe already has config file, you can just append <startup> element section. To know more detail, check out Mark Miller’s post What is useLegacyV2RuntimeActivationPolicy for?
Update – 2011/11/15.
Just hit a similar issue today when I referrence SMO in a DotNet 4 Executable
Microsoft.SqlServer.Management.Dac.DacException: Unable to install DacInstance. Please verify the components of the application. —> System.IO.FileLoadException: Mixed mode assembly is built against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
The solution is same – in app.config file of the executable, add the following settings:
<configuration>
<startup useLegacyV2RuntimeActivationPolicy=”true”>
<supportedRuntime version=”v4.0″/>
</startup>
</configuration> -
Enable SharePoint Designer on SharePoint 2010 Site Collection
To Enable SharePoint Designer on your SharePoint Site Collection
- Go to Site Settings > Site Collection Administration > SharePoint Designer Settings
- Select Enable SharePoint Designer
- Select Enable Detaching Pages from the Site Definition
- Select Enable Customizing Master Pages and Page Layouts
- Select Enable Managing of the Web Site URL Structure
- Click the OK button to save the changes.
-
Windows Phone 7 Application Development Get Start
Getting Start with Windows Phone 7 Application Development
- Download the tools and emulator from http://developer.windowsphone.com
- Using the tutorial from the Microsoft Channel9 Learning Center, build your first application.
-
Hyper-V VM Slow on Windows Server 2008 R2
I recently upgraded my virtual machine hosting server from Window Server 2008 to Windows Server 2008 R2. There are some noticeable performance drop, especially on virtual machines that handles big log files, the automation script execution time can take 200% or more than it was in a VMHOST with Windows Server 2008.
I have done some testing and the performance downgrade seem introduced by the new power management system in windows server 2008 R2. There are 3 build in power plan in Windows Server 2008 R2
- Balanced (recommended)
- High Performance
- Power Saver
The default power plan in Windows Server 2008 R2 is Balanced. After I change Power Plan to High Performance and the performance downgrade issue does no occur any more. My guess is when power plan is set to balance, applications might not full utilize all available hardware resources.
You can also checkout this post for Set the power configuration to High Performance in scripts.
-
Install Office Web Apps on SharePoint 2010
Run Office Web Apps setup
- From Office Web Apps CD, run Setup.exe
- On the Enter your Product Key page, enter your product key, and then click Continue
- Install Now to install to the default location
- When Setup finishes, a dialog box prompts you to complete the configuration of your server. Be sure that the Run the SharePoint Products and Technologies Configuration Wizard now check box is selected and then click Close to start PSConfig.
- If you left the Run the SharePoint Products and Technologies Configuration Wizard now check box selected in the previous step, on the PSconfig Welcome to SharePoint Products page, click Next
- In the dialog box that notifies you that some services might have to be restarted or reset during configuration, click Yes.
- On the Configuration Successful page, click Finish. Your new SharePoint site opens (more…)
-
How to Get Office Web Apps
What are Office Web Apps?
Microsoft Office Web Apps are Microsoft Office Live products that exceed Office product experience to web browsers. Office Web Apps allow you access, edit or share Office documents from anywhere thru internet.
How can I get Office Web Apps?
For personal use, Office Web Apps are free for personal use ( with ADs). All web documents are stored in Windows Live SkyDrive. You will have a Windows Live ID in order to access your web documents. Checkout my previous post on how to Save OneNote directly to SkyDrive.
For business use, Office Web Apps can be deployed to SharePoint server 2010 sites. Detail installation guide can be download from Microsoft Microsoft Download Center
Which browsers are supported for Office Web apps?
- Internet Explorer 7 and 8
- Firefox 3.5
- Safari 4