Issue
While working on Dockerized Sitecore 10.2 project, I faced a weird issue of the CM container restarting repeatedly. Upon initial investigation, I found that the CM instance was not able to connect to the SQL server and hence it was keeping restarting. With this error, I was looking for the fixes to connect the CM container with the SQL container.
Analysis
I tried searching for the containers’ connectivity issues but all efforts were a waste of time. I also explored all the log files generated by Sitecore CM but there is no relevant useful information.
When I did find nothing useful on the internet and other channels, I thought to start looking at the docker container logs section in the Docker Desktop. Refer to the screenshot below.
Upon analyzing the log line with a focused mind, I found an ERROR statement like below in the logs.
2023-05-17 22:32:13 ERROR ( hresult:c00cee2b, message:Failed to commit configuration changes.
2023-05-17 22:32:13 )
I also found a few important log statements before this error which are shown in the following image.
Now, this filled my mind with some thoughts that, while starting up the CM container, docker sets the environment variables for the web application and tries to commit those changes so all the environment variables are available during runtime to the Sitecore CM instance.
The error mentioned above says that it is failing while committing the configuration changes. Based on that I concluded that the Sitecore CM was not able to get the value for the SQL SA password and hence I was getting the connectivity error while inspecting the Sitecore CM container.
Fix
So, upon finding some help, I get the GitHub open issue which helped me to fix my Docker runtime issue for the CM container.
I tried to find some environment variables in the .env file for my docker environment and found that environment variables like TELERIK_ENCRYPTION_KEY have ‘%’ in the value. As soon as I updated all such values with some text which do not include any special character like ‘%’, the dockerized Sitecore started working as expected without any issue.
So, if you face any such issue and find the error as mentioned above, please first look the .env file for the environment variables with special characters like ‘%’ and try to replace with some simple text and you should be good to go with Dockerized Sitecore environment.
I hope this article will help a lot of developers like me and they should not say I hate Docker.
119 responses to “Fix: Error (hresult:c00cee2b, message: Failed to commit configuration changes)”
cialis premature ejaculation
cialis premature ejaculation
is there a generic cialis available in the us
is there a generic cialis available in the us
cialis tadalafil online paypal
cialis tadalafil online paypal
levitra at target pharmacy
levitra at target pharmacy
online pharmacy no presc uk
online pharmacy no presc uk
viagra sales
viagra sales
tadalafil and c4 ripped
tadalafil and c4 ripped
remedio tadalafil
remedio tadalafil
order sildenafil uk
order sildenafil uk
buy cialis 36 hour online
buy cialis 36 hour online
rx pharmacy
rx pharmacy
how to buy generic viagra
how to buy generic viagra
where can you buy viagra uk
where can you buy viagra uk
viagra super active online
viagra super active online
generic viagra mastercard
generic viagra mastercard
sildenafil 50 mg tablet buy online
sildenafil 50 mg tablet buy online
sildenafil 150 mg online
sildenafil 150 mg online
how to get cialis sample
how to get cialis sample
cialis generic versus brand name
cialis generic versus brand name
cialis sample request form
cialis sample request form
cialis purchase in kuwait
cialis purchase in kuwait
metronidazole kutya
metronidazole kutya
bactrim anvisa
bactrim anvisa
gabapentin-mepha 100
gabapentin-mepha 100
valacyclovir risks
valacyclovir risks
where can i buy pregabalin lyrica in the uk
where can i buy pregabalin lyrica in the uk
alternatieven tamoxifen
alternatieven tamoxifen
hypermagnesemia lasix
hypermagnesemia lasix
metformin simethicone
metformin simethicone
lisinopril components
lisinopril components
semaglutide staten island
semaglutide staten island
semaglutide keto
semaglutide keto
does 3mg rybelsus effective
does 3mg rybelsus effective
gabapentin hrt
gabapentin hrt
escitalopram 40 mg side effects
escitalopram 40 mg side effects
apo-metronidazole antibiotic
apo-metronidazole antibiotic
zoloft anxiety how long to work
zoloft anxiety how long to work
cephalexin 500mg là thuốc gì
cephalexin 500mg là thuốc gì
keflex for tooth infection dosage
keflex for tooth infection dosage
cymbalta price no insurance
cymbalta price no insurance
lexapro alcohol interaction
lexapro alcohol interaction
generic viagra sildenafil citrate
generic viagra sildenafil citrate
fluoxetine cost without insurance walgreens
fluoxetine cost without insurance walgreens
duloxetine vs gabapentin for nerve pain
duloxetine vs gabapentin for nerve pain
cephalexin capsules
cephalexin capsules
para que sirve ciprofloxacin 500 mg
para que sirve ciprofloxacin 500 mg
bactrim and alcohol reddit
bactrim and alcohol reddit
bactrim prescription
bactrim prescription
can you take amoxicillin and ibuprofen together
can you take amoxicillin and ibuprofen together
augmentin side effects
augmentin side effects
how does ddavp work for bleeding
how does ddavp work for bleeding
ezetimibe therapeutic class
ezetimibe therapeutic class
depakote er side effects
depakote er side effects
side effects of flexeril
side effects of flexeril
effexor and weight loss
effexor and weight loss
diclofenac sodium 75mg dr tab
diclofenac sodium 75mg dr tab
does citalopram cause weight loss
does citalopram cause weight loss
lombard pharmacy contrave
lombard pharmacy contrave
cartia xt vs diltiazem
cartia xt vs diltiazem
what is flomax used for kidney stones
what is flomax used for kidney stones
cozaar action
cozaar action
aspirin contraindications
aspirin contraindications
allopurinol pill
allopurinol pill
amitriptyline cats
amitriptyline cats
aripiprazole cost walgreens
aripiprazole cost walgreens
does celexa make you gain weight
does celexa make you gain weight
celebrex copay card
celebrex copay card
celecoxib vs.celebrex
celecoxib vs.celebrex
best ashwagandha brand reddit
best ashwagandha brand reddit
protonix mechanism of action
protonix mechanism of action
actos voucher
actos voucher
acarbose ilaç
acarbose ilaç
robaxin dosage for dogs
robaxin dosage for dogs
repaglinide litigation
repaglinide litigation
semaglutide 6 weeks
semaglutide 6 weeks
remeron for sleep in elderly
remeron for sleep in elderly
does abilify help with anxiety
does abilify help with anxiety
synthroid bloated
synthroid bloated
baclofen and tizanidine
baclofen and tizanidine
avodart and tamsulosin combined
avodart and tamsulosin combined
sitagliptin generic name
sitagliptin generic name
spironolactone 6.25mg
spironolactone 6.25mg
ivermectin 3mg dosage
ivermectin 3mg dosage
venlafaxine hair loss
venlafaxine hair loss
is voltaren gel 1% available over the counter
is voltaren gel 1% available over the counter
sildenafil 20
sildenafil 20
cialis online pills
cialis online pills
levitra online cheap
levitra online cheap
cialis tadalafil 20 mg bula
cialis tadalafil 20 mg bula
pharmacy cost of hydrocodone
pharmacy cost of hydrocodone
online pharmacy phentermine uk
online pharmacy phentermine uk
sildenafil how long does it take to work
sildenafil how long does it take to work
generic levitra
generic levitra
vardenafil precautions
vardenafil precautions
generic ivermectin
generic ivermectin
ivermectin price uk
ivermectin price uk
stromectol tablets
stromectol tablets
viagra pills 50 mg
viagra pills 50 mg
tadalafil 20 mg online
tadalafil 20 mg online
ivermectin lotion 0.5
ivermectin lotion 0.5
best reviewed tadalafil site
best reviewed tadalafil site
ivermectin 0.5%
ivermectin 0.5%
what are vardenafil tablets
what are vardenafil tablets
75 mg sildenafil
75 mg sildenafil
ivermectin 1 topical cream
ivermectin 1 topical cream
how does gabapentin work
how does gabapentin work
modafinil long term effects
modafinil long term effects
doxycycline side effects after stopping
doxycycline side effects after stopping
ciprofloxacin dexamethasone ear drops
ciprofloxacin dexamethasone ear drops
lisinopril and ed
lisinopril and ed
cephalexin during pregnancy
cephalexin during pregnancy
can i take melatonin with trazodone for sleep
can i take melatonin with trazodone for sleep
is lyrica the same as gabapentin
is lyrica the same as gabapentin
ampicillin resistance transformation
ampicillin resistance transformation
amoxicillin and clavulanate potassium tablets
amoxicillin and clavulanate potassium tablets
hsv-2 transmission female to male on valtrex
hsv-2 transmission female to male on valtrex
metformin for prediabetes
metformin for prediabetes
long term side effects of keflex
long term side effects of keflex
aromatase inhibitors vs tamoxifen
aromatase inhibitors vs tamoxifen