Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while trying to run SimInstall #1

Open
mtherien opened this issue Sep 22, 2014 · 4 comments
Open

Error while trying to run SimInstall #1

mtherien opened this issue Sep 22, 2014 · 4 comments

Comments

@mtherien
Copy link

I've been trying to implement these extensions in one of our projects and have been running into issues.

First issue, when trying to install "Sitecore 7.2 rev. 140526.zip", it gets the following error:

Sitecore SIM install failed System.TypeInitializationException: The type initializer for 'SIM.Products.Product' threw an exception. ---> SIM.Base.XmlDocumentEx+FileIsMissingException: The Manifests\ArchiveBase.manifest.xml doesn't exists
at SIM.Base.XmlDocumentEx.LoadFile(String path)
at SIM.Products.Product..cctor()
--- End of inner exception stack trace ---
at SIM.Products.Product.TryParse(String packagePath, Product& product)
at Hedgehog.Tds.Build.Sim.Console.InstallProcess.Execute(InstallArgs args) in c:_Projects\HedgehogDevelopment\BuildExtensions\Hedgehog.Tds.Build.Sim.Console\InstallProcess.cs:line 36

I noticed this code goes into a SIM module, but did not trace it to the cause.

Thanks,
Mike

@cturano
Copy link

cturano commented Sep 23, 2014

Hi Mike,
I've seen this error as well. I resolved it by re-installing SIM. Not sure what caused it.

Charlie

@mtherien
Copy link
Author

Finally got it to work. Should have read the readme.md file, didn't see it had to be placed in the same folder as the SIM.Tool.exe.

I had to recompile the console app with the latest SIM dlls. Not sure why...

Will you take pull requests on this? I see some improvements that could be made...

@mtherien
Copy link
Author

All the examples show the following for InstanceDirectory:

InstanceDirectory="$(SitecoreDeployFolder)"

But this doesn't work because the SitecoreDeployFolder is usually "..\wwwroot\instance\website". So I tried:

InstanceDirectory="$(SitecoreDeployFolder)...."

This put the instance in the correct folder, but IIS throws a 500 because it cannot read the config file. I found that this puts the web site path as the following in IIS:

"..\wwwroot\instance\website....\instance\website"

Apparently IIS does like the ".." in the path. When I fix the path in IIS, it works find.

Is there a better solution to this problem?

@mikeedwards83
Copy link
Contributor

Can you send me a screenshot of your TDS project config and then i will replicate and see what happens? Also please send us any improvements and we will merge them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants