London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

CMS 12 Startup error - Missing blob connection string (Parameter 'connectionString')

Vote:
 

Hello,

When adding the services.AddCmsCloudPlatformSupport(configuration) to our Startup.cs, we are getting the following error:

Missing blob connection string (Parameter 'connectionString')

Any ideas what this is?

#312132
Nov 07, 2023 19:30
Vote:
 

Hi,

My guess is you are having this issue on your local environment? Here is an article that talks about utilizing that package on specific environments.

https://docs.developers.optimizely.com/digital-experience-platform/docs/creating-a-new-cms-site-and-deploying

Also, make sure you have "EPiServerAzureBlobs" in the ConnectionStrings section of your appsettings when deploying to other environments.

Hope this helps.

#312134
Edited, Nov 07, 2023 21:23
Vote:
 

One simple workaround is to do this

            if (!_webHostingEnvironment.IsDevelopment())
            {
                services.AddCmsCloudPlatformSupport(configuration)

             }

so you won't need blob storages and servicebus for local development

#312135
Nov 07, 2023 21:46
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.