Saving .MPP file in database through asp.net code
-
Hi , I am using Msproject dll in my web application to upload and download .MPP files. Default tables are created in database(SQL SERVER 2000) by saving MPP file in database. Private oProjApp As Microsoft.Office.Interop.MSProject.Application This object is used for import and export MPP file to/from databse. Everything is working file. But If I import (save physical MPP file to database) same file in consecutive manner (more than once) it hang on process on statement oProjApp.FileSaveAs("\" + ProjectPlanName, Microsoft.Office.Interop.MSProject.PjFileFormat.pjMPP, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, "sa", "mpcs", "MSProject.odbc", Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing) To come out of this I need to kill process from command prompt Kill winproj.exe Then it works fine again. Does anyone has any idea regarding same ? ..plz reply ASAP