December 2006 Installation

Topics: July and December Releases Forum
Mar 7, 2007 at 10:37 PM
I am trying to install the December 2006 version. All attempts fail with the following errors:

Product: Web Service Software Factory - December 2006 -- Error 1001. Operation is not valid due to the current state of the object.

Product: Web Service Software Factory - December 2006 -- Error 1001. Could not find file 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.DataAccess.Installer.InstallState


My system is WinXP SP2, VS 2005, GAX Jun 2006

Any sugestions?

Tadej
Developer
Mar 7, 2007 at 11:03 PM
Check that you are running the installer with admin privileges and you have R/W access to the ..\PublicAssemblies folder.
If you already comply with these requisites, then try creating an empty file named "Microsoft.Practices.ServiceFactory.DataAccess.Installer.InstallState" in the above folder and run the installer again.

Charly
Mar 8, 2007 at 6:28 AM
I am running the setup with an account which is part of the Administrators group.

I tried to add an empti .InstalState file.

The error was the same as before, except that I got additional error:

Product: Web Service Software Factory - December 2006 -- Error 1001. Attempting to Deserialize an empty stream


The sequence of errors is:

Operation not valid due to current state...
Deserializing empty stream ...
Can not find .InstallState ...


From the sequence I would say it is not the problem of accessing the directory, because the first error is "invalid current state"


Developer
Mar 8, 2007 at 5:22 PM
Did you check the Know Issues here? KnownIssues (look at the bottom of the page)

Charly
Mar 8, 2007 at 8:28 PM
Yes, I checked the Known issues.

The directory does not exist, I tried a really short name (C:\D) and I do have the Web Developer component installed.
Developer
Mar 8, 2007 at 11:42 PM
Try this:

msiexec /I "Web Service Software Factory - December 2006 (refresh).msi" /l*v WSSFInstall.log 
  • When the installer appears, go through the steps until the error occurs.
  • Post the contents of the log file (WSSFInstall.log) here.
Notice the (Refresh) postfix on the msi that points to the latest download.

Charly
Mar 9, 2007 at 8:59 PM
Here is the part where the error happens.
The file is too large to post it in the forum. Can I send it somewhere else?

03/09/07 21:38:57 DDSet_Entry: CHelpCrypto constructor
03/09/07 21:38:57 DDSet_Exit: CHelpCrypto destructor
03/09/07 21:38:57 DDSet_Status: RegisterPlugIn2()->Namespace: ms.wssf.2006Dec was successfully plugged into namespace MS.VSIPCC.v80.
03/09/07 21:38:57 DDSet_Status: RegisterPlugIn2()->Namespace: MS.VSIPCC.v80 skipped for plugin (parent is an empty string).
03/09/07 21:38:57 DDSet_Status: RegisterPlugIn2()->Namespace: MS.VSIPCC.v80 skipped for plugin (parent is an empty string).
03/09/07 21:38:57 DDSet_Exit: RegisterPlugIn2 ended
03/09/07 21:38:57 DDSet_Exit: CMsHelpObject destructor
MSI (s) (28:68) 21:38:57:812: Executing op: ActionStart(Name=CACommitHelpTransaction.3643236FFC7011D3A536_0090278A1BB8,,)
Action 21:38:57: CACommitHelpTransaction.3643236FFC7011D3A536_0090278A1BB8.
MSI (s) (28:68) 21:38:57:812: Executing op: CustomActionSchedule(Action=CACommitHelpTransaction.3643236FFC7011D3A536_0090278A1BB8,ActionType=3649,Source=BinaryData,Target=CommitTransaction,CustomActionData={7EC34B9A-25BB-4FB8-B966-244F1AC1CF26}C:\DOCUME~1\tmali\LOCALS~1\Temp\Hx3FB.tmp95B44C8138BC30E77D7C326EE5CCBF0D4B2)
MSI (s) (28:68) 21:38:57:812: Executing op: ActionStart(Name=Commite0120d7ef06c450eb49479026a4ab662,Description=Commiting WCF Security Guidance Package,)
Action 21:38:57: Commite0120d7ef06c450eb49479026a4ab662. Commiting WCF Security Guidance Package
MSI (s) (28:68) 21:38:57:812: Executing op: CustomActionSchedule(Action=Commite0120d7ef06c450eb49479026a4ab662,ActionType=3585,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=commit /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\WCF Security Guidance Package\WCF Security Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Security.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Security.Installer.dll.config")
MSI (s) (28:68) 21:38:57:812: Executing op: ActionStart(Name=Commit3b2ce6d217a24a05967ef5bfa1e88d0b,Description=Commiting Data Access Guidance Package,)
Action 21:38:57: Commit3b2ce6d217a24a05967ef5bfa1e88d0b. Commiting Data Access Guidance Package
MSI (s) (28:68) 21:38:57:812: Executing op: CustomActionSchedule(Action=Commit3b2ce6d217a24a05967ef5bfa1e88d0b,ActionType=3585,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=commit /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\Data Access Guidance Package\Data Access Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.DataAccess.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.DataAccess.Installer.dll.config")
MSI (s) (28:68) 21:38:57:812: Executing op: ActionStart(Name=Commit025609b22f1d4476bc26457edfb45e05,Description=Commiting ASMX Guidance Package,)
Action 21:38:57: Commit025609b22f1d4476bc26457edfb45e05. Commiting ASMX Guidance Package
MSI (s) (28:68) 21:38:57:828: Executing op: CustomActionSchedule(Action=Commit025609b22f1d4476bc26457edfb45e05,ActionType=3585,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=commit /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\ASMX Guidance Package\ASMX Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.Asmx.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.Asmx.Installer.dll.config")
MSI (s) (28:68) 21:38:57:828: Executing op: ActionStart(Name=Commite593bf6c37c14c219a46f1b5f4c7f331,Description=Commiting WCF Guidance Package,)
Action 21:38:57: Commite593bf6c37c14c219a46f1b5f4c7f331. Commiting WCF Guidance Package
MSI (s) (28:68) 21:38:57:828: Executing op: CustomActionSchedule(Action=Commite593bf6c37c14c219a46f1b5f4c7f331,ActionType=3585,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=commit /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\WCF Guidance Package\WCF Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Installer.dll.config")
MSI (s) (28:68) 21:38:57:828: Executing op: ActionStart(Name=Rollbacke0120d7ef06c450eb49479026a4ab662,Description=Rollbacking WCF Security Guidance Package,)
Action 21:38:57: Rollbacke0120d7ef06c450eb49479026a4ab662. Rollbacking WCF Security Guidance Package
MSI (s) (28:68) 21:38:57:828: Executing op: CustomActionSchedule(Action=Rollbacke0120d7ef06c450eb49479026a4ab662,ActionType=3329,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=rollback /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\WCF Security Guidance Package\WCF Security Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Security.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Security.Installer.dll.config")
MSI (s) (28:68) 21:38:57:828: Executing op: ActionStart(Name=Rollbacke593bf6c37c14c219a46f1b5f4c7f331,Description=Rollbacking WCF Guidance Package,)
Action 21:38:57: Rollbacke593bf6c37c14c219a46f1b5f4c7f331. Rollbacking WCF Guidance Package
MSI (s) (28:68) 21:38:57:828: Executing op: CustomActionSchedule(Action=Rollbacke593bf6c37c14c219a46f1b5f4c7f331,ActionType=3329,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=rollback /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\WCF Guidance Package\WCF Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Installer.dll.config")
MSI (s) (28:68) 21:38:57:828: Executing op: ActionStart(Name=Rollback025609b22f1d4476bc26457edfb45e05,Description=Rollbacking ASMX Guidance Package,)
Action 21:38:57: Rollback025609b22f1d4476bc26457edfb45e05. Rollbacking ASMX Guidance Package
MSI (s) (28:68) 21:38:57:843: Executing op: CustomActionSchedule(Action=Rollback025609b22f1d4476bc26457edfb45e05,ActionType=3329,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=rollback /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\ASMX Guidance Package\ASMX Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.Asmx.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.Asmx.Installer.dll.config")
MSI (s) (28:68) 21:38:57:843: Executing op: ActionStart(Name=Rollback3b2ce6d217a24a05967ef5bfa1e88d0b,Description=Rollbacking Data Access Guidance Package,)
Action 21:38:57: Rollback3b2ce6d217a24a05967ef5bfa1e88d0b. Rollbacking Data Access Guidance Package
MSI (s) (28:68) 21:38:58:046: Executing op: CustomActionSchedule(Action=Rollback3b2ce6d217a24a05967ef5bfa1e88d0b,ActionType=3329,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=rollback /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\Data Access Guidance Package\Data Access Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.DataAccess.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.DataAccess.Installer.dll.config")
MSI (s) (28:68) 21:38:58:046: Executing op: ActionStart(Name=Install025609b22f1d4476bc26457edfb45e05,Description=Installing ASMX Guidance Package,)
Action 21:38:58: Install025609b22f1d4476bc26457edfb45e05. Installing ASMX Guidance Package
MSI (s) (28:68) 21:38:58:062: Executing op: CustomActionSchedule(Action=Install025609b22f1d4476bc26457edfb45e05,ActionType=3073,Source=BinaryData,Target=ManagedInstall,CustomActionData=/installtype=notransaction /action=install /LogFile= /DesignMode /Configuration="C:\Program Files\Microsoft Service Factory\ASMX Guidance Package\ASMX Guidance Package.xml" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.Asmx.Installer.dll" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.Asmx.Installer.dll.config")
MSI (s) (28:2C) 21:38:58:062: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI407.tmp, Entrypoint: ManagedInstall
MSI (s) (28!FC) 21:39:13:156: Note: 1: 2205 2: 3: Error
MSI (s) (28!FC) 21:39:13:156: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1001
Error 1001. Operation is not valid due to the current state of the object.
Mar 9, 2007 at 9:09 PM
Here I am sendinag also the less detailed log, but covering more of the events just before and after failure.
If there is anything else I can debug, please let me know.

Tadej


03/09/07 22:04:20 DDSet_Status: RegisterPlugIn2()->Namespace: ms.wssf.2006Dec was successfully plugged into namespace MS.VSIPCC.v80.
03/09/07 22:04:20 DDSet_Status: RegisterPlugIn2()->Namespace: MS.VSIPCC.v80 skipped for plugin (parent is an empty string).
03/09/07 22:04:20 DDSet_Status: RegisterPlugIn2()->Namespace: MS.VSIPCC.v80 skipped for plugin (parent is an empty string).
03/09/07 22:04:20 DDSet_Exit: RegisterPlugIn2 ended
03/09/07 22:04:20 DDSet_Exit: CMsHelpObject destructor
Action 22:04:20: CACommitHelpTransaction.3643236FFC7011D3A536_0090278A1BB8.
Action 22:04:20: Commite0120d7ef06c450eb49479026a4ab662. Commiting WCF Security Guidance Package
Action 22:04:20: Commit3b2ce6d217a24a05967ef5bfa1e88d0b. Commiting Data Access Guidance Package
Action 22:04:20: Commit025609b22f1d4476bc26457edfb45e05. Commiting ASMX Guidance Package
Action 22:04:20: Commite593bf6c37c14c219a46f1b5f4c7f331. Commiting WCF Guidance Package
Action 22:04:20: Rollbacke0120d7ef06c450eb49479026a4ab662. Rollbacking WCF Security Guidance Package
Action 22:04:20: Rollbacke593bf6c37c14c219a46f1b5f4c7f331. Rollbacking WCF Guidance Package
Action 22:04:20: Rollback025609b22f1d4476bc26457edfb45e05. Rollbacking ASMX Guidance Package
Action 22:04:20: Rollback3b2ce6d217a24a05967ef5bfa1e88d0b. Rollbacking Data Access Guidance Package
Action 22:04:20: Install025609b22f1d4476bc26457edfb45e05. Installing ASMX Guidance Package
Error 1001. Operation is not valid due to the current state of the object.
MSI (s) (BC!A0) 22:05:07:562:
DEBUG: Error 2769: Custom Action Install025609b22f1d4476bc26457edfb45e05 did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: Install025609b22f1d4476bc26457edfb45e05, 1,
Action ended 22:05:07: InstallFinalize. Return value 3.
Action 22:05:07: Rollback. Rolling back action:
Rollback: Installing ASMX Guidance Package
Rollback: Rollbacking Data Access Guidance Package
Error 1001. Could not find file 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.DataAccess.Installer.InstallState'.
MSI (s) (BC!68) 22:05:08:546:
DEBUG: Error 2769: Custom Action Rollback3b2ce6d217a24a05967ef5bfa1e88d0b did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: Rollback3b2ce6d217a24a05967ef5bfa1e88d0b, 1,
Rollback: Rollbacking ASMX Guidance Package
Rollback: Rollbacking WCF Guidance Package
Error 1001. Could not find file 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Installer.InstallState'.
MSI (s) (BC!9C) 22:05:09:187:
DEBUG: Error 2769: Custom Action Rollbacke593bf6c37c14c219a46f1b5f4c7f331 did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: Rollbacke593bf6c37c14c219a46f1b5f4c7f331, 1,
Rollback: Rollbacking WCF Security Guidance Package
Error 1001. Could not find file 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Security.Installer.InstallState'.
MSI (s) (BC!58) 22:05:09:718:
DEBUG: Error 2769: Custom Action Rollbacke0120d7ef06c450eb49479026a4ab662 did not close 1 MSIHANDLEs.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: Rollbacke0120d7ef06c450eb49479026a4ab662, 1,
Rollback: Commiting WCF Guidance Package
Rollback: Commiting ASMX Guidance Package
Rollback: Commiting Data Access Guidance Package
Rollback: Commiting WCF Security Guidance Package
Rollback: CACommitHelpTransaction.3643236FFC7011D3A536_0090278A1BB8
Rollback: CARegisterPlugIn.3643236FFC7011D3A536_0090278A1BB8
Rollback: CARegisterHelpFile.3643236FFC7011D3A536_0090278A1BB8
Rollback: CARegisterFilter.3643236FFC7011D3A536_0090278A1BB8
Rollback: CARegisterNamespace.3643236FFC7011D3A536_0090278A1BB8
Rollback: Writing system registry values
Rollback: CAHxMergeVSIPCCVSExpCC.3643236FFC7011D3A536_0090278A1BB8
Rollback: CAHxMergeVSIPCCVSCC.3643236FFC7011D3A536_0090278A1BB8
Rollback: Creating shortcuts
Rollback: Copying new files
Developer
Mar 10, 2007 at 2:26 PM
Edited Mar 10, 2007 at 2:28 PM
Tadej,

It seesm that there's something worng with your msi bits. Please try doenloading a fresh msi WSSF msi and run the Windows Installer CleanUp Utility before installing the WSSF msi.
When running this utility, look for the WSSF installation msi and delete it/remove it. If you can't find this msi, then just go ahead and install the fresh copy.

Sorry for the fairly long discussion thread,
Charly
Mar 10, 2007 at 3:56 PM
No improvement :-(

Any other ideas?
Mar 12, 2007 at 1:10 AM
From what I could debug/disassemble so far, it seems to me that exception is coming from: Microsoft.Practices.RecipeFramework.VisualStudio.CTC.ProvideMenuResourceAttribute.Register()

Any idea what is going on in there?
Developer
Mar 14, 2007 at 2:06 PM
Tadej,

You may try installing the new version of GAX Feb CTP and follow the instructions there. I know that the current "Refresh" version of the WSSF is working with this version of GAX, so this way we may avoid any minor incompatibility with your GAX version (assumed 1.1).

Charly
Mar 14, 2007 at 9:31 PM
The same story occurs with the Feb 2007 relese.

Install proceeds normally, the files are copied and then... the installutil.exe window pops up for a fraction of second and then it always fails with the "Invalid object state" exception.

Can someone explain what is going on during installation? The stack trace points me to the ProvideMenuResourceAttribute.Register() method, which is doing some things with a "CTC file" which seems to have something to do with menus.

I would appreciate any help in tracking down the problem, since I am trying to install this thing for almost a week and I am thinking about giving up the whole GAX/GAT/Factory thing...
Dec 19, 2007 at 6:22 PM
Tadej,

Its December now and you might've already found a solution ....but I was running into the same exact installation problems you ran into and was able to finally fix it. Here what I did:
1. "Repair" GAT and GAT using Feb CPTs
msiexec /I "GuidanceAutomationToolkit.msi" /l*v GATInstall.log
msiexec /I "GuidanceAutomationExtensions.msi" /l*v GATInstall.log
2. "Remove" GAX and GAT
msiexec /I "GuidanceAutomationToolkit.msi" /l*v GATInstall.log
msiexec /I "GuidanceAutomationExtensions.msi" /l*v GATInstall.log


Please also share if your solution was different than mine.
Dec 20, 2007 at 2:25 AM
My end goal here is to remove Web Service Software Factory from my PC. However I sort of messed up the existing install on my PC because I ran this tool (http://blogs.msdn.com/astebner/archive/2005/04/08/406671.aspx) at some point in time to remove a .NET framework but looks like it screwed up a lot of things, including being able to uninstall my current install of Web Service Software Factory (December 2006) .

So after running that tool, I tried uninstalling my Web Service Software Factory and got the error below. So I thought oh, no problem just repair Web Service Software Factory and then try to uninstall again. Wrong! Doesn't work and now I cannot get past this error when I try to uninstall it:

Unable to get installer types in the C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\PublicAssemblies\Microsoft.Practices.ServiceFactory.WCF.Installer.dll
assembly. --> Unable to load one or more of the requested types. Retrieve the
LoaderExceptions property for more information.

any ideas how I can get that dll back in there or fix this completely easily?
Developer
Dec 20, 2007 at 11:06 AM
Did you try re intalling .NET Framework? Because that tool seems to uninstall the framework libs and that will certainly break WSSF installation.
Dec 20, 2007 at 2:29 PM
Resolved. I had to reinstall the gax and gat here: http://www.microsoft.com/downloads/details.aspx?FamilyId=C0A394C0-5EEB-47C4-9F7B-71E51866A7ED&displaylang=en

Then, just re-run the Service Factory install for December 2006, and choose the remove option in the install package.
Dec 22, 2007 at 3:49 PM
I am unable to download the msi install package for Web Service Software Factory. I get a message from the Microsoft website
"We’re sorry, but we were unable to service your request. You may wish to choose from the links below for information about Microsoft products and services."
Please help
Developer
Dec 24, 2007 at 1:42 PM
Try it now. It should work with the Releases link.
Jan 14, 2008 at 12:24 PM
I am unable to download the msi install package for Web Service Software Factory. I get a message from the Microsoft website:

"We’re sorry, but we were unable to service your request. You may wish to choose from the links below for information about Microsoft products and services."

RightCoder
Developer
Jan 14, 2008 at 7:33 PM
Did you try with this link for the December 2006 release?
https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=servicefactory&ReleaseId=9600
Jan 15, 2008 at 1:09 PM
I was a bit unclear here, it is the refresh version I'm looking for.... the version that can be installed on GAX and GAT from July 2007.

Don Smith is on the case so hopefully this will be fixed soon.... ref: http://www.codeplex.com/servicefactory/Thread/View.aspx?ThreadId=19457