No Response from the server!!!!

Discussion in 'ASP General' started by Kishore, Feb 11, 2005.

  1. Kishore

    Kishore Guest

    Hi,
    I am trying to convert a XML file (MS Project readble format)
    into MPP file. It is not running.... But conversion from MPP to XML works
    perfectly...
    Plz help...

    bye,
    Kishore
    code is as follows:
    <%
    Dim a
    Set a= Server.CreateObject("MSProject.Application")
    Dim objFSO
    Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
    If objFSO.FileExists(Server.MapPath("uploaded\1.mpp")) Then
    objFSO.DeleteFile Server.MapPath("uploaded\1.mpp")
    End IF
    a.FileOpen Server.MapPath ("uploaded" & "\" &
    fileName),,,,,,,,,"MSProject.XML"
    a.FileSaveAs Server.MapPath ("uploaded" & "\" & "1.mpp")
    a.FileCloseAll
    Response.write "File has been successfully converted..."
    %>
     
    Kishore, Feb 11, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charles A. Lackman
    Replies:
    2
    Views:
    8,020
    Charles A. Lackman
    Jan 11, 2006
  2. Matthew Wieder

    Response.Write and Response.Redirect

    Matthew Wieder, Jul 17, 2003, in forum: ASP .Net
    Replies:
    4
    Views:
    706
    Kevin Spencer
    Jul 17, 2003
  3. Promenade

    Response.Expires and Response.Cache

    Promenade, Dec 5, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    30,760
    Promenade
    Dec 5, 2003
  4. Sehboo
    Replies:
    3
    Views:
    8,813
    Sehboo
    Dec 10, 2003
  5. Calvin Lai
    Replies:
    6
    Views:
    20,864
    Joerg Jooss
    Dec 31, 2003
Loading...

Share This Page