**********************************ESRIRegAsm::Register Command line: "NewFindAcctTool.dll" /p:Desktop /e Registry Capture On. Registering managed library... Managed Exception: Could not load file or assembly 'file:///I:\FELLJ\FellJGIS\Projects\Development\dotNETProjects\NewFindTool\NewFindAcctTool\NewFindAcctTool\bin\Debug\newfindaccttool.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) Registry Capture Off.Operation Failed003B6388**********************************Press Enter to continue...
OK. The /e option doesn't give a lot of information. Can you try to debug if the error stems from any of the ComRegisterFunction() inside the failed assembly? You can do so by setting esriRegasm.exe as the debugging external program in Visual Studio. (And it is better if you remove or comment out the BeforeClean/AfterBuild xml from the project file before debugging.)Under Start Action------------------Start external program: C:\Program Files\Common Files\ArcGIS\bin\ESRIRegAsm.exeor on a 64 bit OSC:\Program Files (x86)\Common Files\ArcGIS\bin\ESRIRegAsm.exeUnder Start Options-------------------Command line arguments:"NewFindAcctTool.dll" /p:Desktop /e Working directory:{directory of the NewFindAcctTool.dll}
<Target Name="BeforeClean"> <Exec WorkingDirectory="$(CommonProgramFiles)\ArcGIS\bin" Command="esriRegasm.exe "$(TargetPath)" /p:Desktop /u /s" Condition="Exists('$(TargetPath)')"/> </Target> <Target Name="AfterBuild"> <Exec WorkingDirectory="$(CommonProgramFiles)\ArcGIS\bin" Command="esriRegasm.exe "$(TargetPath)" /p:Desktop /s"/> </Target>
*** Assembly Binder Log Entry (9/28/2010 @ 11:22:46 AM) ***The operation failed.Bind result: hr = 0x80070002. The system cannot find the file specified.Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dllRunning under executable C:\Program Files\Common Files\ArcGIS\bin\ESRIRegAsm.exe--- A detailed error log follows. === Pre-bind state information ===LOG: User = DCAD\FellJLOG: DisplayName = msvcm90, Version=9.0.30729.4974, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified)LOG: Appbase = file:///C:/Program Files/Common Files/ArcGIS/bin/LOG: Initial PrivatePath = NULLLOG: Dynamic Base = NULLLOG: Cache Base = NULLLOG: AppName = ESRIRegAsm.exeCalling assembly : (Unknown).===LOG: This bind starts in default load context.LOG: Using application configuration file: C:\Program Files\Common Files\ArcGIS\bin\ESRIRegAsm.exe.ConfigLOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.LOG: Post-policy reference: msvcm90, Version=9.0.30729.4974, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aLOG: GAC Lookup was unsuccessful.LOG: Attempting download of new URL file:///C:/Program Files/Common Files/ArcGIS/bin/msvcm90.DLL.LOG: Attempting download of new URL file:///C:/Program Files/Common Files/ArcGIS/bin/msvcm90/msvcm90.DLL.LOG: Attempting download of new URL file:///C:/Program Files/Common Files/ArcGIS/bin/msvcm90.EXE.LOG: Attempting download of new URL file:///C:/Program Files/Common Files/ArcGIS/bin/msvcm90/msvcm90.EXE.LOG: All probing URLs attempted and failed.
The command "esriRegasm.exe "NewFindAcctTool.dll" /p:Desktop /s" exited with code -1.
**********************************ESRIRegAsm::Register Command line: "I:\FELLJ\FellJGIS\Projects\Development\dotNETProjects\NewFindTool\NewFindAcctTool\NewFindAcctTool\bin\Debug\NewFindAcctTool.dll" /e /p:Desktop/s Registry Capture On. Registering managed library... Managed Exception: Could not load file or assembly 'file:///i:\FELLJ\FellJGIS\Projects\development\dotnetprojects\newfindtool\newfindaccttool\newfindaccttool\bin\Debug\newfindaccttool.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) Registry Capture Off.Operation Failed0032C1E8**********************************Press Enter to continue...
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.