Common error when uploading files ?
When I run the selected file and press upload image files the following 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
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 55: / / Path Large file I save
Common under which this namespace? I have tried namespace
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.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
By mattdel in forum VB Classic
Last Post: 02-08-2008, 07:50 AM
By Ganesh Suryanarayana in forum ASP.NET
Last Post: 08-02-2004, 03:00 PM
By Alan Shiers in forum Java
Last Post: 12-17-2001, 07:37 AM
Last Post: 01-02-2001, 08:35 AM
Last Post: 07-19-2000, 08:38 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center