Are iParts Compatible with 15.1.2.4730

After importing the XML file in the Content Types section and attempt to add any dll to the C:\Program Files\ASI\iMIS_Train\iMIS15\Net\bin iMIS throws an error.

This is from a 15.1.2.4730 ASI.dll release

Could not load file or assembly 'iMISProfile.AddressInfo' or one of its dependencies. Access is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'iMISProfile.AddressInfo' or one of its dependencies. Access is denied.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'iMISProfile.AddressInfo' could not be loaded.

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\NETWORK SERVICE
LOG: DisplayName = iMISProfile.AddressInfo
 (Partial)
LOG: Appbase = file:///C:/Program Files/ASI/iMIS_Train/iMIS15/Net/
LOG: Initial PrivatePath = C:\Program Files\ASI\iMIS_Train\iMIS15\Net\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\ASI\iMIS_Train\iMIS15\Net\web.config
LOG: Using host configuration file: \\?\c:\windows\microsoft.net\framework\v2.0.50727\aspnet.config
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/imis_train/252ccfa8/cd5381f2/iMISProfile.AddressInfo.DLL.
LOG: Attempting download of new URL file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/imis_train/252ccfa8/cd5381f2/iMISProfile.AddressInfo/iMISProfile.AddressInfo.DLL.
LOG: Attempting download of new URL file:///C:/Program Files/ASI/iMIS_Train/iMIS15/Net/bin/iMISProfile.AddressInfo.DLL.
ERR: Failed to complete setup of assembly (hr = 0x80070005). Probing terminated.

 

Stack Trace:

[FileLoadException: Could not load file or assembly 'iMISProfile.AddressInfo' or one of its dependencies. Access is denied.]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: Could not load file or assembly 'iMISProfile.AddressInfo' or one of its dependencies. Access is denied.]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +29
   System.Web.Compilation.CompilationUtil.GetTypeFromAssemblies(AssemblyCollection assembliesCollection, String typeName, Boolean ignoreCase) +132
   System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) +291
   System.Web.Profile.ProfileBase.AddProfilePropertySettingsForCompilation(ProfilePropertySettingsCollection propertyCollection, Hashtable ht, String groupName) +294
   System.Web.Profile.ProfileBase.GetPropertiesForCompilation() +291
   System.Web.Compilation.ProfileBuildProvider.get_HasCompilableProfile() +20
   System.Web.Compilation.ProfileBuildProvider.GetProfileTypeFromAssembly(Assembly assembly, Boolean isPrecompiledApp) +13
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +8805230
   System.Web.Compilation.BuildManager.CompileCodeDirectories() +265
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +320

[HttpException (0x80004005): Could not load file or assembly 'iMISProfile.AddressInfo' or one of its dependencies. Access is denied.]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +58
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +512
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +729

[HttpException (0x80004005): Could not load file or assembly 'iMISProfile.AddressInfo' or one of its dependencies. Access is denied.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8886527
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +259

 
 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

As written, most ETP iParts

As written, most ETP iParts are not compatible with 15.1.2 due to an upgrade in the version of telerik controls iMIS now uses.  To get them working the best solution would be to update them to use the new Telerik.Web.UI namespace every place they reference Rad controls.  Or, you might be able to go grab the old telerik dlls from a 15.1.1 or earlier install.  They are named Rad[ControlName].Net2.dll.  If I recall correctly, I think all but the Chart control are all compatible with the newer version.

Good luck!
Courtney Robertson

That helps clarify the version's expected compatibility.

Bruce M Walker
BSCI
Chicago IL

That helps clarify the version's expected compatibility.

Bruce M Walker
BSCI
Chicago IL