.NET CMS
.NET CMS > .NET CMS online support forum > Issues: Open a ticket! > Report any errors

Warning 5 Function 'AllPhotosName' doesn't return

Author
Date & Time
RSS Message Operations
Roger Yang
notdefinite
rogeryangyc@hotmail.com
Rogeryangyc

Warning 5 Function 'AllPhotosName' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used. C:\CMS\App_Code\PhotoManager.vb 375 5 C:\CMS\
Andrea Bruno
male
customercare@officialguide.info
Webmaster

The bugs reported by you are an older version. Here you will find an updated version: https://sourceforge.net/projects/cmsaspnet/files/l...
PS: The next time you turn on debugging, (from the web.config) and also shows the line number in your message.Thanks for your report!