Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have to convert an asp.net Report to pdf that is in unicode. So for this first i m generating word file & then Converting it into pdf. It works properly on local.
But When i Upload this to server i got the following error.....
Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Any one can help me out, it's urgent.

Thanks
Posted

When i Upload this to server i got the following error.
Either your server does not has Office installed or has a different version installed. Make sure that the correct version of office is installed such that the versions of the assembly present on the server matches with the assembly expected by your application.
 
Share this answer
 
Comments
Deshpande.anagha 24-May-11 1:31am    
Hello s Mewara,
Thanks for the reply.
But how could i install office on the server. Is there any way to so that the problem is solved without office installed in the system.
it seems that the DCOMCONFIG needs to be altered or word...

please go to the following link for getting help on DCOMCNFG.exe tool of windows.

http://support.microsoft.com/kb/176799[^]

also the following link seems to be the workout

http://www.dotnet247.com/247reference/msgs/22/110483.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900