Re: ServiceModelReg fails in installation of WCF

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Do you/did you have beta WCF software installed on the machine? Clean it out
first.

No, I do not have any beta WCF software installed. I had .Net
framework 1.0, 1.1 and 2.0 installed on my system. I cleaned all the
versions of framework using the clean tool from one ms guy (i suppose,
aaron stebner) Then I reinstalled 2.0 and then tried installing 3.0.
It was while installing 3.0 that I got the error related to
ServiceModelReg.exe in WPF.

=== from log file ===
ServiceModelReg [18:30:07:316]: Installing: Machine.config Section
Groups and Handlers

ServiceModelReg [18:30:08:692]: System.UnauthorizedAccessException:
Attempted to perform an unauthorized operation.
at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType
type, String name, SafeHandle handle, SecurityInfos
securityInformation, SecurityIdentifier owner, SecurityIdentifier
group, GenericAcl sacl, GenericAcl dacl)
=================

Are you installing as admin?

Yes, the user account I am using is registed under administrators
group.

Check your machine config or any *.config files to see if it is marked as
read-only.
hmmmm....most of the *.config files on my system are related to .Net
framework or visual studio. and almost none of them was read-only.

Can you install any other package besides WCF and have it work? Ex. card
space or WF
Yes, I can install WF without any problem. It is properly installed
but in case of WCF, the installation goes properly till the end like
file copying etc but at last, "writing registry value ..Services
\CurrentControlSet\MSDTC Bridge 3.0.0\Performance Value=Library
Name=NetFXPerf.dll"
At this step, the system waits for a second or two and after that it
rolls back.
Installation Failed.

==============

I have seen many people coming across this same problem and many got
their problem solved by uninstalling/reinstalling IIS. It did not
solve my problem.
I have installed .Net 2.0 sp1, sp2 also but to no avail.
Cant you find any hint by looking at my log files?????
oh! Is formatting the system the last option? :(

Thanks for your response.
Vivek.

On May 6, 5:05 pm, "Alvin Bruney [ASP.NET MVP]" <vapor dan using hot
male spam filter> wrote:

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively onwww.lulu.com/owc$19.99
-------------------------------------------------------

"summer_2008" <vamalho...@xxxxxxxxx> wrote in message

news:056f23b8-d7ff-454a-84b9-d9461511691a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



I am trying to install .Net 3.5 on win XP sp2,32 bit x86 processor.
But the process always fails and the error log says installation of
WCF fails. I already have 2.0 and I have tried uninstalling/
reinstalling all .Net frameworks, IIS etc. I have tried installing WCF
alone and the process fails too. I am getting some
UnauthorizedException.
You can see the four log files generated here:
http://www.file-upload.net/download-833890/retCA-files.zip.html

====================== Log file 1===============================
=== Verbose logging started: 5/6/2008  14:07:09  Calling process: c:
\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation
\ServiceModelReg.exe ===
ServiceModelReg [14:07:16:306]: Information: The ServiceModelReg tool
will take the following actions:
Reinstalling configuration section system.serviceModel to c:\WINDOWS
\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Reinstalling configuration section system.runtime.serialization to c:
\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Reinstalling configuration section system.serviceModel.activation to c:
\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
Adding configuration entry for BuildProvider:
System.ServiceModel.Activation.ServiceBuildProvider,
System.ServiceModel, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089
Reinstalling compilation assembly node to System.Web section group:
System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL
Reinstalling compilation assembly node to System.Web section group:
System.IdentityModel, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089, processorArchitectur...
ServiceModelReg [14:07:16:353]: Uninstalling: Machine.config Section
Groups and Handlers
ServiceModelReg [14:07:16:384]: Warning: Configuration section
system.serviceModel does not exist in c:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\Config\machine.config.
ServiceModelReg [14:07:16:384]: Warning: Configuration section
system.runtime.serialization does not exist in c:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\Config\machine.config.
ServiceModelReg [14:07:16:384]: Warning: Configuration section
system.serviceModel.activation does not exist in c:\WINDOWS
\Microsoft.NET\Framework\v2.0.50727\Config\machine.config.
ServiceModelReg [14:07:16:384]: Installing: Machine.config Section
Groups and Handlers
***********ServiceModelReg [14:07:17:837]:
System.UnauthorizedAccessException: Attempted to perform an
unauthorized operation.***************8
  at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType
type, String name, SafeHandle handle, SecurityInfos
securityInformation, SecurityIdentifier owner, SecurityIdentifier
group, GenericAcl sacl, GenericAcl dacl)
  at
System.Security.AccessControl.NativeObjectSecurity.Persist(String
name, SafeHandle handle, AccessControlSections includeSections, Object
exceptionContext)
  at
System.Security.AccessControl.NativeObjectSecurity.Persist(String
name, AccessControlSections includeSections)
  at System.Security.AccessControl.FileSystemSecurity.Persist(String
fullPath)
  at System.IO.File.SetAccessControl(String path, FileSecurity
fileSecurity)
  at
System.Configuration.Internal.WriteFileContext.DuplicateTemplateAttributes(­String
source, String destination)
  at
System.Configuration.Internal.WriteFileContext.DuplicateFileAttributes(Stri­ng
source, String destination)
  at System.Configuration.Internal.WriteFileContext.Complete(String
filename, Boolean success)
  at
System.Configuration.Internal.InternalConfigHost.StaticWriteCompleted(Strin­g
streamName, Boolean success, Object writeContext, Boolean
assertPermissions)
  at
System.Configuration.Internal.InternalConfigHost.System.Configuration.Inter­nal.IInternalConfigHost.WriteCompleted(String
streamName, Boolean success, Object writeContext, Boolean
assertPermissions)
  at
System.Configuration.Internal.InternalConfigHost.System.Configuration.Inter­nal.IInternalConfigHost.WriteCompleted(String
streamName, Boolean success, Object writeContext)
  at
System.Configuration.Internal.DelegatingConfigHost.WriteCompleted(String
streamName, Boolean success, Object writeContext)
  at System.Configuration.UpdateConfigHost.WriteCompleted(String
streamName, Boolean success, Object writeContext)
  at System.Configuration.MgmtConfigurationRecord.SaveAs(String
filename, ConfigurationSaveMode saveMode, Boolean forceUpdateAll)
  at System.Configuration.Configuration.SaveAsImpl(String filename,
ConfigurationSaveMode saveMode, Boolean forceSaveAll)
  at System.Configuration.Configuration.Save()
  at
System.ServiceModel.Install.Configuration.ConfigurationLoader.Save()
  at
System.ServiceModel.Install.Configuration.ConfigurationHandlersInstallCompo­nent.Install(OutputLevel
outputLevel)
  at
System.ServiceModel.Install.ServiceModelInstallComponent.Reinstall(OutputLe­vel
outputLevel)
  at
Microsoft.Tools.ServiceModel.ServiceModelReg.PerformAction(ActionItem
actionItem, Nullable`1 confirmUninstall)
  at Microsoft.Tools.ServiceModel.ServiceModelReg.Run(String[] args)
  at Microsoft.Tools.ServiceModel.ServiceModelReg.TryRun(String[]
args)
====================== End of Log file
1===============================

====================== Log file 2===============================
MSI (s) (B0:14) [14:18:22:094]: Executing op:
RegAddValue(Name=IsMultiInstance,Value=#0,)
MSI (s) (B0:14) [14:18:22:094]: Executing op:
RegAddValue(Name=CategoryOptions,Value=#3,)
MSI (s) (B0:14) [14:18:22:094]: Executing op:
RegAddValue(Name=Close,Value=ClosePerformanceData,)
MSI (s) (B0:14) [14:18:22:094]: Executing op:
RegAddValue(Name=Collect,Value=CollectPerformanceData,)
MSI (s) (B0:14) [14:18:22:094]: Executing op:
RegAddValue(Name=Open,Value=OpenPerformanceData,)
MSI (s) (B0:14) [14:18:22:094]: Executing op:
RegAddValue(Name=Library,Value=NETFXPerf.dll,)
MSI (s) (B0:14) [14:18:22:094]: Executing op:
ActionStart(Name=DD_CA_InstallXwsRegExe_RB_X86.3643236F_FC70_11D3_A536_0090­278A1BB8,,)
MSI (s) (B0:14) [14:18:22:094]: Executing op:
CustomActionSchedule(Action=DD_CA_InstallXwsRegExe_RB_X86.3643236F_FC70_11D­3_A536_0090278A1BB8,ActionType=1345,Source=BinaryData,Target=QuietExec,Cust­omActionData=c:
\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation
\ServiceModelReg.exe /u /x /y /v;dummy;c:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\)
MSI (s) (B0:14) [14:18:22:110]: Executing op:
ActionStart(Name=DD_CA_InstallXwsRegExe_X86.3643236F_FC70_11D3_A536_0090278­A1BB8,,)
MSI (s) (B0:14) [14:18:22:110]: Executing op:
CustomActionSchedule(Action=DD_CA_InstallXwsRegExe_X86.3643236F_FC70_11D3_A­536_0090278A1BB8,ActionType=3073,Source=BinaryData,Target=QuietExec,CustomA­ctionData=c:
\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Communication Foundation
\ServiceModelReg.exe /r /x /y /v;dummy;c:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\)
MSI (s) (B0:18) [14:18:22:110]: Invoking remote custom action. DLL: C:
\WINDOWS\Installer\MSI9C.tmp, Entrypoint: QuietExec
MSI (s) (B0:FC) [14:18:22:110]: Generating random cookie.
MSI (s) (B0:FC) [14:18:22:125]: Created Custom Action Server with PID
3292 (0xCDC).
MSI (s) (B0:88) [14:18:22:188]: Running as a service.
MSI (s) (B0:88) [14:18:22:188]: Hello, I'm your 32bit Elevated custom
action server.
MSI (s) (B0:14) [14:18:24:578]: User policy value 'DisableRollback' is
0
MSI (s) (B0:14) [14:18:24:578]: Machine policy value 'DisableRollback'
is 0
Action ended 14:18:24: InstallFinalize. Return value 3.
MSI (s) (B0:14) [14:18:24:578]: Executing op:
====================== End of Log file
2===============================

======================Log file 3===============================
[05/06/08,14:18:12] Leaving CMsiInstaller::InitSequence
[05/06/08,14:18:14] Entering CNavigator::Next
[05/06/08,14:18:14] Entering CMsiInstaller::BeginInstall
[05/06/08,14:18:14] MsiInstallProduct called with Command line:
[05/06/08,14:18:14] USING_EXUIH=1 REBOOT=ReallySuppress
FILESINUSETEXT=""
[05/06/08,14:18:18] Entering CNavigator::Next
[05/06/08,14:18:18] Leaving CNavigator::Next
[05/06/08,14:18:24] ***ERROR EVENT*** : Custom Action Failure:Action
ended 14:18:24: InstallFinalize. Return value 3..
[05/06/08,14:18:24] ***ERROR EVENT*** : See Windows Install log  for
details.
[05/06/08,14:18:27] ***ERROR EVENT*** : Custom Action Failure:Action
ended 14:18:27: INSTALL. Return value 3..
[05/06/08,14:18:27] ***ERROR EVENT*** : See Windows Install log  for
details.
[05/06/08,14:18:27] Entering CMsiInstaller::SuppressReboot
[05/06/08,14:18:27] Leaving CMsiInstaller::SuppressReboot
[05/06/08,14:18:27] Entering CNavigator::Next
[05/06/08,14:18:27] Leaving CNavigator::Next
[05/06/08,14:18:31] Entering CFinalPage::Cancel. - Post Quit message
to UI thread
[05/06/08,14:18:31] Entering CNavigator::OnDestroy
[05/06/08,14:18:31] Making synchronous call to worker to stop
[05/06/08,14:18:31] Entering CMsiInstaller::Stop
[05/06/08,14:18:31] Leaving CMsiInstaller::WorkerThread
[05/06/08,14:18:31] Leaving

...

read more »- Hide quoted text -

- Show quoted text -

.



Relevant Pages

  • Re: Windows XP Update is now Broken!
    ... installing SP3 even though the install was done using a SP3 ... I finally downloaded the latest version of Microsoft Update, ... on Windows Update, I get directed to a page that tells me that Windows ...     Click Start, click Run, type sysdm.cpl, and click OK ...
    (alt.sys.pc-clone.dell)
  • Re: DBD::SQLite install with PPM, MD5 bootstrap parameter
    ...   Downloading DBD-SQLite-1.35 ... ... Installing package failed ... perl at that directory, will it load Digest::MD5? ... Has PPM somehow got ...
    (comp.lang.perl.misc)
  • Re: GEEZ whos the tard ?
    ... ...GEEZ   who's the retard at Blizzard   that hasn't realized that this just ... Installing TBC updates the game to 2.0.1. ... Next question would be, are you downloading the patches, or using old ...
    (alt.games.warcraft)
  • Re: Windows XP Update is now Broken!
    ... installing SP3 even though the install was done using a ... on Windows Update, I get directed to a page that tells me that Windows ...     Click Start, click Run, type sysdm.cpl, and click OK ... install XP, pull out the flash stick, copy the drivers and go to town. ...
    (alt.sys.pc-clone.dell)
  • Re: ServiceModelReg fails in installation of WCF
    ... aaron stebner) Then I reinstalled 2.0 and then tried installing 3.0. ... securityInformation, SecurityIdentifier owner, SecurityIdentifier ... > reinstalling all .Net frameworks, ... > streamName, Boolean success, Object writeContext, Boolean ...
    (microsoft.public.dotnet.framework)