File save in folder Error Occured at live page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kiranvn31
    New Member
    • May 2010
    • 7

    File save in folder Error Occured at live page

    Hi

    I write code for save my Image file in one folder

    The code as follow :

    SavePath = Server.MapPath( "~/images/masterpageimage/");

    MasterFile.Save (SavePath + fname);


    This code perfectly run in my local machin but when I upload this code
    to my server it give me error as

    Exception Details: System.Runtime. InteropServices .ExternalExcept ion: A generic error occurred in GDI+.

    Pls Help

    Regards

    Kiran
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Well that error is being thrown from the method that is working with images.
    It would be helpful if you posted this method. (Although I'm not sure why you'd be getting this error..)

    -Frinny

    Comment

    Working...