Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Argument 'picture' must be a picture that can be used as a Icon.
Author Message
rossdarcy Offline
Junior Member
**

Posts: 11
Joined: Sep 2010
Reputation: 0
Post: #1
Argument 'picture' must be a picture that can be used as a Icon.

VisionApp 2010 R2 - network install with DB


How do I fix or reset this – seems that a new icon for added and its crashing it app

=====================
Error
An error occurred while creating the desktop.

Argument 'picture' must be a picture that can be used as a Icon.

visionapp.vCCCommonLib.ExceptionHandler.vCCException
Argument 'picture' must be a picture that can be used as a Icon.

---------- Stacktrace ----------

at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
at System.Drawing.Icon..ctor(Stream stream, Int32 width, Int32 height)
at visionapp.vRDCommonLib.Params.IconParams.RecreateImage16()
at visionapp.vRDCommonLib.StoreManager.SetExtendedIconsForTreeview()
at visionapp.vRDResources.ModuleStructure.InitializeModule()
at visionapp.vRDResources.ModuleStructure.GetAllDataItemsOfType(ObjectTypes type)
at visionapp.vCCCommonLib.ModuleAccess.ModuleAccessor.GetDynamicDataItemsOfType(Nod​eObjectType type)
at visionapp.vCCCommonLib.Helper.TreeNodeHelper.CreateAuthTreeNode(Boolean forTriState, List`1 authItems, NodeObjectTypeCollection typeCollection, NodeObjectType type, Int32 parentId)
at visionapp.vCCCommonLib.Helper.TreeNodeHelper.CreateAuthTreeNode(Boolean forTriState, List`1 authItems, NodeObjectTypeCollection typeCollection, NodeObjectType type, Int32 parentId)
at visionapp.vCCCommonLib.Helper.TreeNodeHelper.CreateAuthTriStateTreeView(TopicTyp​es topicType)
at visionapp.vCCCommonLib.User.vCCPrincipal.InitSecurityRoles()
at visionapp.vCCDesktop.Desktop.InitPassThrough()
at visionapp.vCCDesktop.Desktop.Main(String[] args)
09-05-2011 11:20 PM
Find all posts by this user Quote this message in a reply
DevOma Offline
Posting Freak
*****
visionapp

Posts: 3,485
Joined: Aug 2006
Reputation: 10
Post: #2
RE: Argument 'picture' must be a picture that can be used as a Icon.

If you have a valid subscription try to upgrade to a newer version - in vRD 2011 the faulting icon will be displayed as error icon

If you do not want to upgrade you can only delete all your icons with the following command

DELETE FROM vCCConfiguration WHERE ConfigKey = 'vRD_Icons' - deleting of one icon is not possible, because the data is serialized to one big text field.

Regards/Gruss
Oliver
10-05-2011 08:00 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | ASG Software Solutions | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication