none
export ms project to excel RRS feed

  • Question

  • hi,

    i've found a fre code for export msporject files to excel.

    it works fine on my computer at home but not at the one at work.

    this is the massage i get, can someone help?


    ************** ************** Exception text
    System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.MSProject, Version = 14.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c' or one of its dependencies. The system can not find the file specified.
    File name: 'Microsoft.Office.Interop.MSProject, Version = 14.0.0.0, Culture = neutral, PublicKeyToken = 71e9bce111e9429c'
       
    B - PrjXlsRpt.Project.Load (String fileName)
       
    B - PrjXlsRpt.MainForm.execute_Click (Object sender, EventArgs e)
       
    B - System.Windows.Forms.Control.OnClick (EventArgs e)
       
    B - System.Windows.Forms.Button.OnClick (EventArgs e)
       
    B - System.Windows.Forms.Button.OnMouseUp (MouseEventArgs mevent)
       
    B - System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons button, Int32 clicks)
       
    B - System.Windows.Forms.Control.WndProc (Message & m)
       
    B - System.Windows.Forms.ButtonBase.WndProc (Message & m)
       
    B - System.Windows.Forms.Button.WndProc (Message & m)
       
    B - System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
       
    B - System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
       
    B - System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    Warning: Assembly binding registration is set as OFF.
    To enable the logging railroad union failures, set the registry value [HKLM \ Software \ Microsoft \ Fusion! EnableLog] (DWORD) about 1.
    Note: The railway union failures registration involves some performance degradation.
    To disable this feature, remove the registry value [HKLM \ Software \ Microsoft \ Fusion! EnableLog].



    ************** ************** Loaded trains
    mscorlib
       
    Mounting version: 4.0.0.0
       
    Version of Win32: 4.0.30319.1 (RTMRel.030319-0100)
       
    CodeBase: file: / / / C: / Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    PrjXlsRpt
       
    Mounting version: 7.1.4.0
       
    Win32 version: 7.1.4.0
       
    CodeBase: file: / / / F: / Yeudi / Shivuk_Hlv / Ronnie% 20 Lecker / PMO / Siginfr / automation / PrjXlsRpt.exe
    ----------------------------------------
    System.Windows.Forms
       
    Mounting version: 4.0.0.0
       
    Version of Win32: 4.0.30319.1 built by: RTMRel
       
    CodeBase:
    ----------------------------------------
    System.Drawing
       
    Mounting version: 4.0.0.0
       
    Version of Win32: 4.0.30319.1 built by: RTMRel
       
    CodeBase:
    ----------------------------------------
    System
       
    Mounting version: 4.0.0.0
       
    Version of Win32: 4.0.30319.1 built by: RTMRel
       
    CodeBase: file: / / / C: / Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms.resources
       
    Mounting version: 4.0.0.0
       
    Version of Win32: 4.0.30319.1 built by: RTMRel
       
    CodeBase:
    ----------------------------------------
    mscorlib.resources
       
    Mounting version: 4.0.0.0
       
    Version of Win32: 4.0.30319.1 (RTMRel.030319-0100)
       
    CodeBase:
    ----------------------------------------

    Monday, October 31, 2011 10:45 AM

Answers

  • askez,

    I don't recognize the code but you might try posting to, http://social.technet.microsoft.com/Forums/en-US/project2010custprog/threads.

    John

    P.S. My browser shows your post was reported as abusive. I see nothing abusive about this post.


    Monday, October 31, 2011 3:22 PM

All replies

  • Hello askez,

    IMO, this is not a right place to post questions on third-party application errors. This is a forum for MS Project related questions.

     


    Regards. --Ismet
    • Proposed as answer by Ismet Kocaman Monday, October 31, 2011 5:12 PM
    Monday, October 31, 2011 11:31 AM
  • askez,

    I don't recognize the code but you might try posting to, http://social.technet.microsoft.com/Forums/en-US/project2010custprog/threads.

    John

    P.S. My browser shows your post was reported as abusive. I see nothing abusive about this post.


    Monday, October 31, 2011 3:22 PM
  • Hi askez,

    if there is free code for export, I can imagine, that even some more people are interested in soilution. So I suggest to follow John's suggestion and reask in http://social.technet.microsoft.com/Forums/en-US/project2010custprog/threads.

    Please mention versions of project and Excel you are using at work and at home. Perhaps there is a difference. Or in applied references?

    Good luck
    Barbara

    Monday, October 31, 2011 5:57 PM
    Moderator
  • The text of the error message contains name of the executable as PrjXlsRpt.exe. The source code is posted in Code Project at http://www.codeproject.com/KB/cs/PrjXlsRpt.aspx by Michael Carey. I believe that makes it a third party application. I've marked the post as "Report As Abuse" based on the option "Off Topic/Irrelevant Posts". I always do an extensive search before posting a message. Sorry, if I missed something here.

     

     



    Thursday, November 3, 2011 7:57 AM