konnte aufgrund des folgenden Fehlers: 800704a6, während Sie versuchen das Lesen von Daten aus einer text-Datei in teamcity

Ich führe einige test-Fälle mit teamcity. Es ist das speichern der Daten auf eine Textdatei erfolgreich aber wenn ich versuche, zu Lesen, dass die Daten von der gleichen Stelle, gibt die folgende Fehlermeldung

SetUp-Methode fehlgeschlagen ist. System.- Laufzeit.InteropServices.COMException :
Erstellen Sie eine Instanz des COM-Komponente mit CLSID
{0002DF01-0000-0000-C000-000000000046} von der IClassFactory fehlgeschlagen
aufgrund der folgenden Fehler: 800704a6. bei
WatiN.Core.DH.CreateNewIEAndGoToUri(Uri uri, LogonDialogHandler
logonDialogHandler, Boolean createInNewProcess) bei
WatiN.Core.DH..ctor()

und ersetzen Sie die gespeicherten Daten mit System.String[]. Auch versuchte er alle permisssions dem Benutzer aber noch keinen fix it. Bitte helfen Sie.

Ich auch aktiviert haben, werden die meisten von den IE8-Einstellungen. Irgendeine Idee, was die Ursache dieses

Folgenden ist der build-Log

[11:50:09]: NUnit report watcher
[11:50:09]: [NUnit report watcher] Watching paths: <no paths>
[11:50:09]: Project "Tests.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target(s)): (2m:10s)
[11:50:13]: Tests.dll (2m:06s)
[11:52:19]: [Tests.dll] Tests.bTests
[11:52:19]: [Tests.bTests] SetUp method failed. System.Runtime.InteropServices.COMException : Creating an instance of the COM component with CLSID {0002DF01-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 800704a6.
[11:52:19]: [Tests.bTests] SetUp method failed. System.Runtime.InteropServices.COMException : Creating an instance of the COM component with CLSID {0002DF01-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 800704a6.
       at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, LogonDialogHandler logonDialogHandler, Boolean createInNewProcess)
       at WatiN.Core.IE..ctor()
       at Tests.bTests.Setup() in Z:\TestProjects\Tests\Tests\bTests.vb:line 14
[11:52:20]: Some tests has failed in Z:\TestProjects\Tests\Tests\bin\Release\Tests.dll, tests run continued. Child test failed
[11:52:20]: 1 Test(s) failed.
[11:52:20]: [Project "Tests.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target(s)):] Z:\TestProjects\Tests\Tests.sln.teamcity.patch.tcprojx(17, 5): c:\BuildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe "@@" C:\BuildAgent\temp\buildTmp\tmp6D24.tmp exited with code 1.
[11:52:20]: MSBuild output:
[11:52:20]: CoreResGen:
[11:52:20]:   All outputs are up-to-date.
[11:52:20]: CoreCompile:
[11:52:20]:   c:\Windows\Microsoft.NET\Framework\v4.0.30319\Vbc.exe /noconfig /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Data,System.Diagnostics /optionstrict:custom /nowarn:42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 /nostdlib /rootnamespace:Tests /sdkpath:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0" /doc:obj\Release\Tests.xml /define:"CONFIG=\"Release\",TRACE=-1,_MyType=\"Windows\",PLATFORM=\"AnyCPU\"" /reference:"C:\Program Files (x86)\NUnit 2.4.8\bin\nunit.framework.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll","C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll","C:\Program Files (x86)\WatiN\bin\WatiN.Core.dll" /debug:pdbonly /optimize+ /out:obj\Release\Tests.dll /resource:obj\Release\Tests.Resources.resources /target:library aTests.vb bTests.vb cAmendmentTests.vb Functions.vb dCancelRefundTests.vb "My Project\AssemblyInfo.vb" "My Project\Application.Designer.vb" "My Project\Resources.Designer.vb" "My Project\Settings.Designer.vb" "C:\BuildAgent\temp\buildTmp\.NETFramework,Version=v4.0.AssemblyAttributes.vb"
[11:52:20]: _CopyAppConfigFile:
[11:52:20]: Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files.
[11:52:20]: CopyFilesToOutputDirectory:
[11:52:20]:   Copying file from "obj\Release\Tests.dll" to "bin\Release\Tests.dll".
[11:52:20]:   Tests -> Z:\TestProjects\Tests\Tests\bin\Release\Tests.dll
[11:52:20]:   Copying file from "obj\Release\Tests.pdb" to "bin\Release\Tests.pdb".
[11:52:20]:   Copying file from "obj\Release\Tests.xml" to "bin\Release\Tests.xml".
[11:52:20]: Done Building Project "Z:\TestProjects\Tests\Tests\Tests.vbproj" (default targets).
[11:52:20]: Done Building Project "Z:\TestProjects\Tests\Tests.sln" (default targets).
[11:52:20]: TeamCity_Generated_NUnitTests:
[11:52:20]:   c:\BuildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe "@@" C:\BuildAgent\temp\buildTmp\tmp6D24.tmp
[11:52:20]: Z:\TestProjects\Tests\Tests.sln.teamcity.patch.tcprojx(17,5): error : c:\BuildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe "@@" C:\BuildAgent\temp\buildTmp\tmp6D24.tmp exited with code 1.
[11:52:20]: Done Building Project "Z:\TestProjects\Tests\Tests.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target(s)) -- FAILED.
[11:52:20]: Build FAILED.
[11:52:20]: "Z:\TestProjects\Tests\Tests.sln.teamcity.patch.tcprojx" (TeamCity_Generated_Build;TeamCity_Generated_NUnitTests target) (1) ->
[11:52:20]: (TeamCity_Generated_NUnitTests target) -> 
[11:52:20]:   Z:\TestProjects\Tests\Tests.sln.teamcity.patch.tcprojx(17,5): error : c:\BuildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe "@@" C:\BuildAgent\temp\buildTmp\tmp6D24.tmp exited with code 1.
[11:52:20]:     0 Warning(s)
[11:52:20]:     1 Error(s)
[11:52:20]: Time Elapsed 00:02:10.92
[11:52:20]: Build finished
  • Nach blogs.msdn.com/b/joshpoley/archive/2008/01/04/... Fehler 0x800704a6 ist "Ein Herunterfahren des Systems ist bereits geplant.", die nicht scheint Sinn zu machen. Kannst du mehr Kontext oder post die eigentlichen Testfälle.
  • Testfälle sind daher gut, wenn ich lokal auf meiner Maschine mit nunit. Es ist nur passiert, wenn ich versuche, führen Sie mit teamcity. Derzeit bin ich als Konto "lokales system".
InformationsquelleAutor debbie | 2010-12-06
Schreibe einen Kommentar