[VS.Net 2003] Custom setup geeft error

Pagina: 1
Acties:

  • maikel
  • Registratie: Januari 2001
  • Laatst online: 16-04 11:01
Ik heb een Windows-service geschreven in C# en hierbij heb ik een installatie-project toegevoegd.
Hieruit wordt netjes een msi-bestand gemaakt en deze installeert ook correct wanneer ik het mijn ontwikkel-PC test.

Echter, wanneer ik de setup uitvoer op mijn server (Windows 2003 Server), krijg ik tijdens de installatie twee keer de volgende melding:
[Resource lookup failed - infinite recursion detected. Resource name: TypeInitialization_Type] --> [Resource lookup failed - infinite recursion detected. Resource name: Arg_NullReferenceException]

Heeft iemand enig idee wat deze melding betekent?
Ik heb al op Google gezocht, maar kwam daar geen informatie tegen die overeenkwam met mijn situatie / type project.

  • PaulZ
  • Registratie: Augustus 2004
  • Laatst online: 21-05-2024
Google:
PROBLEM:
While attempting to re-install the .NET Framework 1.1 today I ran into a major problem with the installer. After un-installing the .NET Framework from "Add/Remove" programs I restarted and ran "dotnetfx.exe" to re-install. At the end of the installation after writing values to the registry the installer would always throw an exception of type 'System.NullReferenceException' in RegSvcs.exe [1764] and would run a debug after which the installation would roll-back and I was unable to install the framework.

SOLUTION:
Of course every problem needs a solution. After playing with files and settings on the computer and looking at the stack trace I figured the installer was having problems writing or referencing some of the .NET Framework files. I rebooted into Safe mode on XP Pro and once in Safe mode, navigated to C:\Windows\Microsoft.NET\Framework and proceeded to delete all 1.1.x folders. Once they were safely deleted I rebooted the system in to Win XP Pro non-Safe mode and installed the .NET Framework without a hitch. I then applied all update patches and am good to go.
Kan je hier wat mee?

[ Voor 35% gewijzigd door PaulZ op 17-01-2006 16:56 ]

Vlinders moet je volgen, niet vangen...


  • maikel
  • Registratie: Januari 2001
  • Laatst online: 16-04 11:01
Nee, de oplossing die jij geeft gaat over een probleem bij de installatie van het framework.
Bij mij werkt het framework wel, alleen wil mijn eigen programma niet installeren via de setup die vanuit Visual Studio is gemaakt.

Ik kan 'm overigens op mijn andere PC (Windows MCE 2005) wel probleemloos installeren. Volgens mij heeft het dus iets te maken met het feit dat ie op Windows 2003 Server wordt geinstalleerd.

[ Voor 31% gewijzigd door maikel op 18-01-2006 00:00 ]