Niemand rašė:
Zana8 rašė:
Sveiki,
labai prasau padekite man...
niekaip negaliu sukurti naujos imones programoje. pridedu print screen'us .
iki tol viskas tvarkoje buvo. siaip ir dabar su seniau sukurtomis imonemis dirbti galiu.
isanksto dekoju uz pagalba !
Visą klaidos tekstą įdėkit.Ten galima pažymėti su ctrl-c nukopijuot
Klaidos duomenys:
Klaidos tekstas:
DataPortal.Update failed (System.Exception: Klaida. Nepavyko gauti duomenų bazės šablono: Data at the root level is invalid. Line 1, position 1. ---> System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.FetchFromFile(String nFilePath)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.DoFetch(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.DatabaseStructure.DatabaseStructure.GetDatabaseStructureServerSide(String DatabaseName, String LocalFilePassword)
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.CreateCompany(String CompanyName, CustomCompanyCreateRoutine CustomCreateRoutine)
--- End of inner exception stack trace ---
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.CreateCompany(String CompanyName, CustomCompanyCreateRoutine CustomCreateRoutine)
at ApskaitaObjects.General.Company.DataPortal_Insert())
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Update
Klaidos stekas:
at AccDataAccessLayer.DatabaseAccess.SQLUtilities.CreateCompany(String CompanyName, CustomCompanyCreateRoutine CustomCreateRoutine)
at ApskaitaObjects.General.Company.DataPortal_Insert()
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.MethodCaller.CallMethod(Object obj, String method, Object[] parameters)
at Csla.Server.SimpleDataPortal.Update(Object obj, DataPortalContext context)
at Csla.DataPortal.Update(Object obj)
at Csla.DataPortal.Update[T](T obj)
at Csla.BusinessBase`1.Save()
at ApskaitaObjects.General.Company.Save()