Giter Site home page Giter Site logo

'Default-Web-WestUS' about mattercenter HOT 4 CLOSED

microsoft avatar microsoft commented on September 1, 2024
'Default-Web-WestUS'

from mattercenter.

Comments (4)

LeoConniff avatar LeoConniff commented on September 1, 2024

It looks like the main issue encountered was that the website was not found in Azure. The scripts will detect the azure site and pull the location and resource group from that site to create the Redis Cache. To change the defaults for these values, you can modify lines 38 and 39 in the PublishOnAzure.ps1 file.

To fix the error with your site not being found, you can change lines 28 and 29 in the deployment config Excel file, on the config tab, to be just the name of the web app in Azure. IE, if the site is located at https://ExampleSite.azurewebsites.net (this is the value for lines 7/8 respectively), then the name of that web app is going to be ExampleSite (the value for lines 28/29 respectively).

from mattercenter.

eekels avatar eekels commented on September 1, 2024

I am running into the same error. The second error that is, the fact that my website cannot be found in Azure. I am sure the websites are there. Also, the Test-AzureName -Website $AzureSite in the PreRequisitesScript.ps1 gives a True, so the names of my websites in the Excel file are correct. Anyone any idea? Here's the error:

10/01/2016 20:55:48 - Step 10: Publishing files to Azure/IIS
10/01/2016 20:55:48 - Please enter your Azure credentials for Azure Resource Management
10/01/2016 20:57:12 - Creating Redis cache
10/01/2016 20:57:14 - Please enter your Azure credentials for Azure service management
10/01/2016 20:57:24 - Publishing web service on Azure
Publish-AzureWebsiteProject : The website sushi-matterservice was not found. Please specify a valid website name.
At C:\Projects\MatterCenter\deployments\Scripts\PublishOnAzure.ps1:45 char:2

  • Publish-AzureWebsiteProject -Name $ExcelValues[1] -Package $Servi ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : CloseError: (:) [Publish-AzureWebsiteProject], CloudException
    • FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.PublishAzureWebsiteProject

10/01/2016 20:57:26 - Publishing web site on Azure
Publish-AzureWebsiteProject : The website sushi-mattercenter was not found. Please specify a valid website name.
At C:\Projects\MatterCenter\deployments\Scripts\PublishOnAzure.ps1:47 char:2

  • Publish-AzureWebsiteProject -Name $ExcelValues[0] -Package $Websi ...
    
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : CloseError: (:) [Publish-AzureWebsiteProject], CloudException
    • FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.Websites.PublishAzureWebsiteProject

10/01/2016 20:57:26 - Updating App settings for website
Cannot index into a null array.
False
10/01/2016 20:57:28 - Publishing files to Azure or creating Azure Redis cache failed

from mattercenter.

eekels avatar eekels commented on September 1, 2024

Never mind... Select-AzureSubscription to the rescue. It could help to set the right subscription as default :) (feel bit stupid now, although still find it weird that Test works on non-default subscriptions too, but Publish doesn't)

from mattercenter.

DaveyDoo avatar DaveyDoo commented on September 1, 2024

I am seeing a similar error, but I have verified that I am pointing to the correct subscription.

from mattercenter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.