Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Server error while creating website #39

Closed
Pooja-B opened this issue Feb 17, 2015 · 2 comments
Closed

Server error while creating website #39

Pooja-B opened this issue Feb 17, 2015 · 2 comments

Comments

@Pooja-B
Copy link

Pooja-B commented Feb 17, 2015

I created the website by following the same steps and published it but when running it I am getting the following error(The name I have given is "weatherstation")

Server Error in '/' Application.
EventHub names must conform to the following rules to be able to use it with EventProcessorHost: Must start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names. All letters in a container name must be lowercase. Must be from 3 to 63 characters long.
Parameter name: leaseContainerName

[ArgumentException: EventHub names must conform to the following rules to be able to use it with EventProcessorHost: Must start with a letter or number, and can contain only letters, numbers, and the dash (-) character. Every dash (-) character must be immediately preceded and followed by a letter or number; consecutive dashes are not permitted in container names. All letters in a container name must be lowercase. Must be from 3 to 63 characters long.
Parameter name: leaseContainerName]

@hallard
Copy link

hallard commented Feb 17, 2015

Pooja
I had the same issue
replace in web.config
<add key="Microsoft.ServiceBus.EventHubDevices" value="EHDevices"/> <add key="Microsoft.ServiceBus.EventHubAlerts" value="EHAlerts"/>
by
<add key="Microsoft.ServiceBus.EventHubDevices" value="ehdevices"/> <add key="Microsoft.ServiceBus.EventHubAlerts" value="ehalerts"/>
all in lower case for value item ehdevices and ehalerts it should match names declared into azure

@Pooja-B
Copy link
Author

Pooja-B commented Feb 17, 2015

Thank you so much :)

@Pooja-B Pooja-B closed this as completed Feb 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants