BasicWebPlayer x64 fails during Build

Jul 18, 2007 at 4:21 AM
Thanks for the x64 compiled version of SLK. We've had the SLK running for the last fews days without any exceptions.

We've begun exploring the web application and have uncover an exception.

These are the steps completed:

Init.bat
Createdatabase.bat
During a Build Website in Visual Studios we've received the following erroe message.

"Attempted to load a 64-bit assembly on a 32-bit platform. Use ReflectionOnlyLoad() instead if trying to load for reflection purposes."

Unsure how to remedy the 'code'
default.aspx.cs
// set the version number
VersionNumber.Text = System.Text.RegularExpressions.Regex.Match(
typeof(LearningStore).Assembly.FullName, @"\bVersion=(\d\.\d.\d+)\.").Groups1.Value;
}


Any suggestions would be appreciated.
Best regards,
Dave
Jul 18, 2007 at 9:39 AM

Visual Studio 2005 cannot build 64-bit applications. The following workitem has more info, Sample website validation fails during 64-bit build. IIS however hosts them just fine. You can therefore deploy the Basic Web Player application in IIS directly without building it from within Visual Studio.