error chande to..........

A

A.M.Madany

now, i made small change by add reference to "microsoft.sharepoint.dll
v.v2.0.50727" but the error become"Could not load file or assembly
'Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c' or one of its dependencies. An attempt was
made to load a program with an incorrect format"

note, i work on windows server 2003 (X64).
 
S

Stephen Sanderlin

In my experience, this exception is shown when you are trying to call an
x86 assembly from an x64 program.

Try running GetGACAssemblies on c:\windows\assembly and using the
Microsoft.SharePoint.dll in there:
http://bloggingabout.net/blogs/jschreuder/archive/2006/08/09/13282.aspx.

--
Stephen Sanderlin
Principal Consultant
MSProjectExperts

For Project Server Consulting: http://www.msprojectexperts.com
For Project Server Training: http://www.projectservertraining.com

Read my blog at: http://www.projectserverhelp.com
Join the community at: http://forums.epmfaq.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top