Are the sharepoint DLLs in the bin directory of the webapp? If so, delete them.
On Thu, Jan 29, 2009 at 9:30 AM, ken zheng <[email protected]> wrote: > Hi: > > I wonder if anyone developed ASP .NET applcation referenceing Sharepoint > dlls in x64 windows 2003. I created a simple web project in visual studio > and reference Microsoft.SharePoint.Publishing. But when I run the > applicaiton I got "System.BadImageFormatException: Could not load file or > assembly 'Microsoft.Office.Server.Search, Version=12.0.0.0". I tried all > different setting of the Platform Target but still gets error. The IIS is > version 6, and works fine in console application. > > Anyone has same problem? > > Cheers > > Ken > ------------------------------ > Support procedure: https://www.codify.com/lists/support > List address: [email protected] > Subscribe: [email protected] > Unsubscribe: [email protected] > List FAQ: http://www.codify.com/lists/ozmoss > Other lists you might want to join: http://www.codify.com/lists > -------------------------------------------------------------------------------- Support procedure: http://www.codify.com/lists/support List address: [email protected] Subscribe: [email protected] Unsubscribe: [email protected] List FAQ: http://www.codify.com/lists/ozmoss Other lists you might want to join: http://www.codify.com/lists
