CMAppCreator icon indicating copy to clipboard operation
CMAppCreator copied to clipboard

Parse Error in Web App

Open jonnwhite1 opened this issue 2 years ago • 6 comments

Hey,

I've followed the instructions (But i couldn't find the releases Zip? Unless im being blind so downloaded the Code file) I'm not great with Visual studio or IIS. I'm getting the following error message, i've deleted it all and tried again but it doesn't seem to of worked :( Any pointers? Really love the idea btw! Keen to trial it!!

image

jonnwhite1 avatar Mar 23 '22 00:03 jonnwhite1

Workout how to use VS Com :) Working perfectly now

jonnwhite1 avatar Mar 23 '22 09:03 jonnwhite1

Hey there, glad you got it sorted! Re the releases Zip, it's to be found here https://github.com/CBennerstedt/CMAppCreator/releases/tag/1.0

CBennerstedt avatar Mar 23 '22 12:03 CBennerstedt

Hey there, glad you got it sorted! Re the releases Zip, it's to be found here https://github.com/CBennerstedt/CMAppCreator/releases/tag/1.0

Thank you! i managed to get further and have had chance to play with it today :). I'm unable to create an application, i've used the above release doc (Thakn you for that link!) But am getting the following? It's in my Lab enviroment which has full unrestricted internet access but unsure what this issue means? any ideas

Errormessage: The element 'Icon' in namespace 'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest' has incomplete content. List of possible elements expected: 'Data' in namespace 'http://schemas.microsoft.com/SystemCenterConfigurationManager/2009/AppMgmtDigest'.

InnerException:

StackTrace: at System.Xml.Schema.XNodeValidator.ValidationCallback(Object sender, ValidationEventArgs e) at System.Xml.Schema.XmlSchemaValidator.InternalValidateEndElement(XmlSchemaInfo schemaInfo, Object typedValue) at System.Xml.Schema.XNodeValidator.ValidateElement(XElement e) at System.Xml.Schema.XNodeValidator.ValidateNodes(XElement e) at System.Xml.Schema.XNodeValidator.ValidateElement(XElement e) at System.Xml.Schema.XNodeValidator.ValidateNodes(XElement e) at System.Xml.Schema.XNodeValidator.ValidateElement(XElement e) at System.Xml.Schema.XNodeValidator.Validate(XObject source, XmlSchemaObject partialValidationType, Boolean addSchemaInfo) at Microsoft.ConfigurationManagement.ApplicationManagement.Serialization.XmlSerializeImplementation.Serialize(NamedObject obj, Boolean validate) at Microsoft.ConfigurationManagement.ApplicationManagement.Serialization.SccmSerializer.SerializeObject[T](T obj, Boolean validate) at Microsoft.ConfigurationManagement.AdminConsole.AppManFoundation.ApplicationFactory.PrepareResultObject(AppManWrapper wrapper) at CM_App_Creator.Default.Store(Application application) in D:\temp\CMAppCreator\Default.aspx.cs:line 1753

ExceptionData: System.Collections.ListDictionaryInternal

jonnwhite1 avatar Mar 23 '22 18:03 jonnwhite1

image

jonnwhite1 avatar Mar 23 '22 18:03 jonnwhite1

The app pretty much expects either an .ico file or .png file to be found when locating an installer to add. If no .ico or .png file is found in the file path it will try to extract an icon if you click on an .exe

I assume the Icon error may happen if no .ico / .png file is discovered, I think it currently is a pre-requisite to have in the path. At least try it out first is my recommendation

CBennerstedt avatar Mar 25 '22 08:03 CBennerstedt

Workout how to use VS Com :) Working perfectly now

Hey @jonnwhite1 can you explain a little bit more what you meant by this? I just installed the latest release and I'm having this exact same problem but I can't figure it out and I have ZERO experience with IIS.

Thanks!

jtilma1 avatar Mar 25 '22 14:03 jtilma1