ODT Microsoft errors - ms-office

So I've been downloading office 2019 through the microsoft page, which tells me I should download it with the ODT by using elevated command prompt with a configuration.xml file and a command in cmd
setup /download configuration.xml
now my question is this. why does it not download or if it downloads I get an error
the code I used eventually in the config is:
<Configuration>
   <Add 
       SourcePath=""
   OfficeClientEdition="64" 
   Channel="PerpetualVL2019"
   AllowCdnFallback="True">
      <Product ID="ProPlus2019Volume"  PIDKEY="#####-#####-#####-#####-#####" >
         <Language ID="nl-nl" />
      </Product>
   </Add>
   <RemoveMSI All="True" />
   <Display Level="Full" AcceptEULA="TRUE" />  
</Configuration>
and the code I used in cmd was setup /configure configuration.xml

Try this. This actually worked for me. You will need to change the path to where you are trying to download the software to and change the version from 64 to 32 if that is what you are looking for. Also change the Product ID to the version or product you are trying to download. You need to save it as configuration.xml otherwise it will not work (from my experience). Once this is done go into cmd (as admin) and go into the folder where the ODT was extracted to. Once you are there run the setup /download configuration.xml
You may want to check your product key to make sure you are installing the correct version for your product key.
In addition please note that Office 2019 is solely for Windows 10 and it will not work with Windows 7/8/8.1 or any previous versions.
<Configuration>
<Add
SourcePath="C:\Users\Administrator\Desktop\Office2019"
OfficeClientEdition="64"
Channel="PerpetualVL2019"
AllowCdnFallback="True">
<Product ID="Standard2019Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" >
<Language ID="en-us" />
</Product>
</Add>
<RemoveMSI All="True" />
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>

Related

Error "Unable to load the service index for source" while trying to publish a NuGet package to gitlab.com

I have a private C# project on the gitlab.com and want to create a NuGet package there.
I followed the instruction and created the following Nuget.config file on the solution level.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="gitlab" value="https://gitlab.com/api/v4/project/{my_project_numeric_id_here}/packages/nuget/index.json" />
</packageSources>
<packageSourceCredentials>
<gitlab>
<add key="Username" value="{my_username_in_gitlab}" />
<add key="ClearTextPassword" value="{my_personal_token_with_api_access_here}" />
</gitlab>
</packageSourceCredentials>
</configuration>
Then I used the Visual Studio Package Manager Console and ran the following command:
dotnet nuget push "C:\{path_to_the_package_here}\MyProject.1.0.0.nupkg" --source gitlab
and had the following error:
error: Unable to load the service index for source https://gitlab.com/api/v4/project/{my_project_numeric_id_here}/packages/nuget/index.json.
error: Response status code does not indicate success: 404 (Not Found).
MyProject.1.0.0.nupkg — exists.
Nuget.config — is seen by the command (reflects changes in the file).
Personal Token — I played with different permissions, at least api permission is granted, and all others too.
What is wrong in my actions and how to create a NuGet package from the C# project on GitLab.com?

How to fix render problem java.lang.NoClassDefFoundError: sun/misc/Cleaner in newest version of Android studio?

My designer doesn't show any changes or content. it says it has a render problem:
java.lang.NoClassDefFoundError: sun/misc/Cleaner    at
libcore.util.NativeAllocationRegistry_Delegate.registerNativeAllocation(NativeAllocationRegistry_Delegate.java:81)
   at
libcore.util.NativeAllocationRegistry.registerNativeAllocation(NativeAllocationRegistry.java:231)
   at android.graphics.RenderNode.(RenderNode.java:228)    at
android.graphics.RenderNode.create(RenderNode.java:243)    at
android.view.View.(View.java:5063) at
android.view.View.(View.java:5201)    at
android.view.ViewGroup.(ViewGroup.java:675)    at
android.view.ViewGroup.(ViewGroup.java:671)    at
android.view.ViewGroup.(ViewGroup.java:667)    at
android.view.ViewGroup.(ViewGroup.java:663)    at
android.widget.FrameLayout.(FrameLayout.java:85)   at
com.android.layoutlib.bridge.impl.Layout.(Layout.java:140)
i've tried everything, installing again, updating everything, setting to older versions, changing rendering version, etc. Everything i could find on the internet doesn't seem to work.
please help

how to configure HMC in Hybris

I am new to Hybris. I am able to configure Hybris Administration Console and access the sections by following wiki.hybris documents.
I dont find a section to configure the Hybris Management Console (HMC). I get 404 error when I access the URL http://localhost:9001/hmc. Please let me know where to find to get this URL working.
UPDATE
I am sorry for not giving enough information in my original post.
I am using Hybris Commerce Suite 5.7.0.8 and followed the steps mentioned in wiki.hybris.
I executed the following commands in CMD.
setantenv.bat
ant clean all
hybrisserver.bat
Then logged into http://localhost:9001/ using admin credentials
Under Platform--> Initialization, I initialized to recreate the new
tables.
Apart from the above, I did not do any other steps. I noticed that the extensions under HMC in Platform-->Extension, are all marked as X. Please refer to the attached image.
You are missing the hmc as part of your localextensions.xml file... see the answer at: https://stackoverflow.com/a/33110971/932201
After adding the hmc extension you have to run an update running system from the hac (or re-initialize).
Note though that the hmc is the old backoffice application, in more recent versions it had first been depracted and finally been removed.
The new backoffice application is called backoffice and its url is by default:
http://localhost:9001/backoffice
(you would also have to add the backoffice extension to your localextensions.xml file to make it available)
Good luck!
Perform the following steps :
Step 1 : Add the following main modules in localextensions.xml
<extension name="admincockpit" />
<extension name="backoffice" />
<extension name="cockpit" />
<extension name="hmc" />
<extension name="mcc" />
<extension name="platformhmc" />
Step 2: Run ant clean all
Step 3 : Run update from HAC
The hMC is usually available on http://localhost:9001/hmc (or /hmc/hybris if you don't want it opening in a pop up).
I'd suggest checking your server logs (~YOUR_HYBRIS_DIR/hybris/log/tomcat/console.log) and seeing if there's any errors in it.
Make sure you have not altered the property hmc.webroot. It should be set to /hmc by default, but you can try explicitly setting it in your local.properties file like this:
hac.webroot=/hac
hmc.webroot=/hmc
Also you need to initialize the system before you can access anything other than the HAC.
You can do this either using your browser via the HAC or using ant:
ant clean all initialize
You can read all about Hybris' initialize and update processes here:
https://wiki.hybris.com/display/release5/Initializing+and+Updating+the+hybris+Commerce+Suite
Hope this helps
In recent versions of Hybris they have introduced an installer script that sets up the basics for you. What this means though is that if you just go right ahead and simply run ant all, you will get a localextensions.xml file with almost everything disabled.
What you should do is install hybris using the installer script and one of the recipies. See here:
https://wiki.hybris.com/display/release5/Sample+Scenarios+Installation
This will generate you a decent starting configuration for what ever you want to do with hybris.
For example, when I install the recipe b2c_acc (B2C Accelerator), I get the following localextensions.xml file generated:
<hybrisconfig xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='../bin/platform/resources/schemas/extensions.xsd'>
<extensions>
<path dir='${HYBRIS_BIN_DIR}' autoload='false' />
<extension name='mcc' />
<extension name='backoffice' />
<extension name='commercesearchbackoffice' />
<extension name='commerceservicesbackoffice' />
<extension name='solrfacetsearchbackoffice' />
<extension name='solrserver' />
<extension name='yacceleratorcockpits' />
<extension name='yacceleratorinitialdata' />
<extension name='yacceleratorfulfilmentprocess' />
<extension name='yacceleratorstorefront' />
<extension name='yaddon' />
<extension name='ycommercewebservices' />
<extension name='electronicsstore' />
<extension name='apparelstore' />
<extension name='liveeditaddon' />
<extension name='acceleratorwebservicesaddon' />
</extensions>
</hybrisconfig>
Once you have done this, I also strongly recommend installing MySQL and using that as your database rather than the default HSQLDB approach as it is much, much faster. See here:
https://wiki.hybris.com/display/release5/MySQL
Hope this helps
Go to http://localhost:9001/mcc (log as an admin) you will find all links of your current Hybris installation.
What version of Hybris are you using ? Do you see the hmc extension when you go to the HAC ?
Edit:
With 5.7 the default localextensions.xml is mostly empty by default, you will need to run an installer like '. install.sh -r b2c_acc_plus' from your installer directory (first level of your Hybris installation)

read xml file with powershell in windows server 2003

can you please help me with this code below?
[System.Xml.XmlDocument]$xd = New-Object System.Xml.XmlDocument
$file = "C:\PS\SetUP.xml";
$xd.LoadXml($file);
#$root = $xd.DocumentElement
Write-Host $xd.SelectSingleNode("/Setup").Attributes.GetNamedItem("WebAppUrl").Value
This code works fine when I run it in windows server 2008, but it does not work in windows server 2003.
I tested it in C# in the same environment (win server 2003) and it works, but not in Powershell.
I think there could be some Powershell version issue.
Could you please help me?
Thank you
Xml file
<?xml version="1.0" encoding="utf-8"?>
<Setup WebAppUrl="http://sp2007">
<SiteCollection Name="Report" Url="Report Requests">
<Lists>
<List Name="Report Requests" Url="ReportRequests" />
<List Name="Report Request Tasks" Url="ReportRequestTasks" />
</Lists>
<Features>
<Feature>ContentTypeSyndication</Feature>
</Features>
<Site Name="Child 1" Url="child1" Template="STS#0"/>
<Site Name="Child 2" Url="child2" Template="STS#0"/>
<Site Name="Child 3" Url="child3" Template="STS#0"/>
</SiteCollection>
</Setup>
I don't have v1 but you can read xml files and navigate them the same way regardless of OS version. Can you share the xml file?
[xml]$xd = Get-Content C:\PS\SetUP.xml
$xd.SelectSingleNode("/Setup").WebAppUrl
http://sp2007
If there's only one Setup node then you can get the value with:
$xd.Setup.WebAppUrl
The Powershell version on Windows 2003 is 1.
The version on Windows 2008 is 2.
Link: http://en.wikipedia.org/wiki/Windows_PowerShell#Versions
Simple as that. You can try to upgrade it AFAIK.
Edit: Update procedure -> http://maxt2posh.wordpress.com/2009/12/23/update-powershell-v1-to-v2-windows-management-framework/

Is there a way to force the refresh the meta model, which SubSonic builds after a DDL change in the DataBase

E.g. when I add a new table it does not appear in the Northwind namespace untill I remove the project folder from :
C:\Users\userName\AppData\Local\Temp\Temporary ASP.NET Files\
or add and readd the SubSonic.dll
I have the following configuration :
<configSections>
<section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic"></section>
....
<SubSonicService defaultProvider="Northwind">
<providers>
<clear/>
<add name="Northwind"
type="SubSonic.SqlDataProvider, SubSonic"
connectionStringName="Northwind"
generatedNamespace="Northwind"/>
</providers>
</SubSonicService>
<connectionStrings>
<add name="Northwind" connectionString="Data Source=.;Database=Northwind;Integrated Security=true;"/>
</connectionStrings>
....
<compilation debug="true">
<buildProviders>
<add extension=".abp" type="SubSonic.BuildProvider, SubSonic"/>
</buildProviders>
...
<pages>
<controls>
<add assembly="SubSonic" namespace="SubSonic" tagPrefix="subsonic"/>
The issue here is that the BuildProvider doesn't "go off" unless you change the abp file in App_Code. It's a hack, but if you want it to work you need to open that file up and change it somehow by adding a space or something - then it will kick off the builder.
I'm working on some T4 templates so you don't have to do this. Also - you can use our commandline tool to generate the stuff to file for you:
http://subsonicproject.com/subcommander/using-the-command-line-tool-subcommander/
Thanks, both worked !
Either as you said to simply change the *.abp file ( added couple of spaces)
or
sonic.exe generate /config "D:\path\to\my\web.config"
P.S.
I have a D:\temp\utils folder , where I keep all the command line tools used ... and it is part of the %PATH% environmental variable ...
and it took me couple of minutes to realize that I had to copy the whole :
D:\libs\orm\SubSonic_2.1_Final_Source\src\SubSonic\bin\Debug directory to that command line tools folder ...
Edit: Even faster with VS External Tool command :
Tools - External Tools - Add
Title: SubSonic
Command: D:\path\to\sonic.exe
Arguments: generate /config "D:\path\to\my\web.config"
Initial Directory: {$ProjectDir}
Tools - Options - Keyboard
Find tools Subsonic
for it to work from anywhere on the command line

Resources