Last post Sep 08, 2011 01:43 PM by tusharrs
Jun 30, 2010 05:06 AM|tusharrs|LINK
I have developed a web application in vs 2005 and sql server 2000
I have given reference to Interop.Microsoft.Office.Core.dll and Interop.Word.dll
I have used Word.Application and used the open() method of that interface
I have used word to read a word document - open it - save it as html file - and then display the
html file on the web page.
In deployment server when i run the website and all is working fine. Word file is saved as html
and displaying on the web page
But when exe is published on IIS, there is an error when accessing the Word.Application.Documents.Open() method it gives
Object reference not set to an instance of an object
Its urgent, please
Jun 30, 2010 06:45 AM|adarshtated|LINK
check this link if still not working tell me ..
Jul 02, 2010 08:45 AM|tusharrs|LINK
gacutil not present in C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\
i have installed 1.1,2.0 and 3.5 now i am uninstalling 3.5 and then check if it works
and let u know
Jul 02, 2010 08:47 AM|tusharrs|LINK
on development sever there is win xp
there it is running fine
but on the server there is win server 2008
Jul 07, 2010 12:39 PM|tusharrs|LINK
no issue with gacutil
but solved !!!
thanks adarshtated for participating
Jul 23, 2010 06:02 AM|TomazZ777|LINK
Could you please tell us what you did to solve your problem?
Sep 08, 2011 01:43 PM|tusharrs|LINK
it was permissions issue
i have used process.start to complete that task