Unsolved
This post is more than 5 years old
6 Posts
0
35333
DRM 2.0.0 Creating a new Repository Fails with .NET Error
i have downloaded DRM 2.0.0 to run on Windows Server 2012R2, running as Administrator and receiving .NET Unhanded Exception when trying to create a new Local Repository.
Changed FileStore location from both default to separate HDD with more space same error.
has anyone else had this issue and if so how did you overcome it?
Event ID 1000: Application Error
Faulting application name: RepositoryManager.exe, version: 2.0.0.187, time stamp: 0x547ecc82
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54504ade
Exception code: 0xe0434352
Fault offset: 0x00014598
Faulting process id: 0x1f18
Faulting application start time: 0x01d04ab832cd105a
Faulting application path: C:\Program Files (x86)\Dell\Dell Repository Manager v2.0.0\RepositoryManager.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: 9588cfc3-b6ab-11e4-80f0-0050568ec892
Faulting package full name:
Faulting package-relative application ID:
DELL-Sindhu KM
27 Posts
0
February 17th, 2015 20:00
Hello,
Can you pls let us know which version of .NET framework is installed on the system? Have you upgraded the .NET framework after installing DRM v2.0? What is the source for creating the local repository? Is the source accessible?
Thanks,
Sindhu
K Sashi
87 Posts
1
February 18th, 2015 01:00
Hi,
From the log you pasted, possibly it looks like a database corruption.
Request you to do the following. Please close any existing copy of DRM.
1) Backup your existing database available at %localappdata%/RepositoryManager/Database/RepositoryManager.sdf
2) Then remove it completely from the above folder and then launch DRM afresh.
Once you do this, please let me know if you still face any issue.
Thanks,
Shashi.
Chris_Nicholls
6 Posts
0
February 18th, 2015 01:00
We are currently running .NET Framework 4.5.50930, We have not changed our install of .NET since installing DRM v2.0, we are using the Dell Online Catalog as the Source, i can filter to the only drivers i need i can even manually download them it seems creating the repository is the only issue at present.
ApplicationLoader.LastChanceDomainExceptionHandler: Message: The property 'Dependency_Type' cannot be set to a null value.
Stack:
at System.Data.EntityUtil.ThrowPropertyIsNotNullable(String propertyName)
at RMDataServiceLibrary.RMDatabase.Dependency.set_Dependency_Type(String value) in c:\RepoMgr_Jenkins\workspace\RepositoryManager200\src\Libraries\RMDataServiceLibrary\RMDatabase\RMModel.Designer.cs:line 3156
at lambda_method(Closure , Shaper )
at System.Data.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly[TEntity](Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)
at lambda_method(Closure , Shaper )
at System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at RMDataServiceLibrary.RMDatabase.Copy.DeviceCopy.CopyDependency(Dictionary`2 updateDevices) in c:\RepoMgr_Jenkins\workspace\RepositoryManager200\src\Libraries\RMDataServiceLibrary\RMDatabase\Copy\DeviceCopy.cs:line 0
at RMDataServiceLibrary.RMDatabase.Copy.DeviceCopy.CopyDevice(Dictionary`2 updateComponents) in c:\RepoMgr_Jenkins\workspace\RepositoryManager200\src\Libraries\RMDataServiceLibrary\RMDatabase\Copy\DeviceCopy.cs:line 41
at RMDataServiceLibrary.RMDatabase.Copy.ComponentCopy.CopyComponents(List`1 componentIds, Guid fromRepositoryId, Guid toRepositoryId) in c:\RepoMgr_Jenkins\workspace\RepositoryManager200\src\Libraries\RMDataServiceLibrary\RMDatabase\Copy\ComponentCopy.cs:line 116
at RMDataServiceLibrary.DataServiceAPI.DataServiceApi.CopyComponentsAlt(Guid sourceRepoId, List`1 destinationRepoIds, List`1 componentIds) in c:\RepoMgr_Jenkins\workspace\RepositoryManager200\src\Libraries\RMDataServiceLibrary\DataServiceAPI\DataServiceApi.cs:line 239
at RepositoryAPI.Commands.AdvancedCompToRepo.AddComponentsToRepositoryAlt(List`1 components, IRepository desintationRepository) in c:\RepoMgr_Jenkins\workspace\RepositoryManager200\src\Applications\RepositoryAPI\Commands\AdvancedCompToRepo.cs:line 261
Chris_Nicholls
6 Posts
0
February 18th, 2015 02:00
Your instructions to remove the .sdf backup from %localappdata%\Repository Manager\Database worked correctly thank you.