Common error when uploading files ?

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Common error when uploading files ?

  1. #1
    Join Date
    Mar 2008

    Common error when uploading files ?

    When I run the selected file and press upload image files the following error:

    Compilation Error
    Description: An error occurred during three days the compilation of a resource required to service this request. Please review the specific error details and modify sau your source code appropriately.

    Compiler Error Message: CS0103: The name 'Common' does not exist in the current context

    Source Error:

    Line 51:
    Line 52: / / file name to not be centralized file + extension of the file to upload
    Line 53: strFileName = Common.GetFileName () + System.IO.Path.GetExtension (Hinh1.FileName) / / this line error immediately
    Line 54:
    Line 55: / / Path Large file I save

    Common under which this namespace? I have tried namespace
    using System.Data.Common;
    but not

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    I don't think Common refers to a .NET Framework class; the only class I know of with a GetFileName method is System.IO.Path. Common may refer to a class or module in your solution. You might try opening the Object Browser and searching for "GetFileName" to see if it's defined somewhere in your solution.
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Uploading files
    By mattdel in forum VB Classic
    Replies: 2
    Last Post: 02-08-2008, 07:50 AM
  2. Replies: 1
    Last Post: 08-02-2004, 03:00 PM
  3. uploading files over sockets
    By Alan Shiers in forum Java
    Replies: 1
    Last Post: 12-17-2001, 07:37 AM
  4. Replies: 2
    Last Post: 01-02-2001, 08:35 AM
  5. Uploading Html files & linked files
    By Venu in forum Java
    Replies: 0
    Last Post: 07-19-2000, 08:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center