web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Error migrating portal...
Power Pages
Unanswered

Error migrating portal from dev to prod

(0) ShareShare
ReportReport
Posted on by 179

Hi All

 

I’ve just built my first PowerApps Portal in dev and I am trying to migrate it to prod. I have followed the post below but when I try to access the migrated site I get an error. I hope someone can help

 

Migrate portal configuration - Power Apps | Microsoft Docs

 

A new portal was provisioned in our prod environment. The configuration data was exported from dev and imported into prod for the following schemas:

 

Site Settings

Content Snippets

Settings

Web Templates

Page Templates

Web Pages

Entity Forms

Entity Lists

Web Link Sets

Web Roles

Web Page Access Control Rules

Entity Permissions

Web Files and Notes attachments

 

I ran ‘Run Portal Checker’ and everything passed

 

I turned off custom error messages and saved error logs to Azure Blob Storage

 

The error I get when attempting to access the migrated portal in production is

 

‘Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4261.0’

 

 

And the error in Blob Storage

 

‘RequestData:{"IsAuthenticated":false,"Tags":[]}, RequestPath:/, RequestExtension:, SessionId:, UserId:, CorrelationId:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, Elapsed:20.798, RequestMethod:GET, RequestContentType:, RequestAccept:, RequestCacheControl:, UserAgent:AlwaysOn, HandlerName:, HandlerExecuted:False, VaryByCustom:, ExceptionMessage:Error ID - de90d43b-1ff4-45f2-8de2-32eeb03c8878.  The Webpage you are looking for at / is not found in the English language. To display Page Not Found page localize it in English language.

System.Web.HttpException

   at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.GetNotFoundNode(ContentMap map, WebsiteNode site, IContentMapEntityUrlProvider urlProvider) in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 445

   at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.FindSiteMapNode(String rawUrl, ContentMap map, Int32 counter, Boolean excludeFromSecurityValidation) in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 161

   at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.<>c__DisplayClass2_0.<FindSiteMapNode>b__1(ContentMap map) in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 35

   at Adxstudio.Xrm.Cms.ContentMap.<>c__DisplayClass20_0`1.<Using>b__0() in S:\Framework\Adxstudio.Xrm\Cms\ContentMap.cs:line 143

   at Adxstudio.Xrm.Cms.ContentMap.Using(ContentMapLockType lockType, Action action, String memberName, String sourceFilePath, Int32 sourceLineNumber) in S:\Framework\Adxstudio.Xrm\Cms\ContentMap.cs:line 195

   at Adxstudio.Xrm.Cms.ContentMap.Using[T](ContentMapLockType lockType, Func`1 action, String memberName, String sourceFilePath, Int32 sourceLineNumber) in S:\Framework\Adxstudio.Xrm\Cms\ContentMap.cs:line 144

   at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.<>c__DisplayClass2_0.<FindSiteMapNode>b__0() in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 35

   at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.CachePerRequest[T](String method, String key, Func`1 get) in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 617

   at Adxstudio.Xrm.Web.ContentMapCrmSiteMapProvider.FindSiteMapNode(String rawUrl) in S:\Framework\Adxstudio.Xrm\Web\ContentMapCrmSiteMapProvider.cs:line 35

   at Adxstudio.Xrm.Web.Routing.PortalRouteHandler.GetNode(RequestContext request) in S:\Framework\Adxstudio.Xrm\Web\Routing\PortalRouteHandler.cs:line 272

   at Adxstudio.Xrm.Web.Routing.PortalRouteHandler.GetHttpHandler(RequestContext requestContext) in S:\Framework\Adxstudio.Xrm\Web\Routing\PortalRouteHandler.cs:line 62

   at System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context)

   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

Adxstudio.Xrm

 

, EventData:ASP.global_asax’

 

 

The Page Not Found page is in English

 

 

Also when I attempt to edit the production portal after a few minutes of the ‘Getting things ready’ message I get ‘Something Went Wrong’

 

 

Any ideas

 

Thanks

Categories:
  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @paulsnolan,

    This error means that portal tried to access the root page of the portal, cannot do it, tried to redirect to default 404 page and cannot find it either. I would advise you open Admin Portal and check if the portal is pointing to proper D365 instance. Also, I would advise you to restart portal - sometimes some changes are not reflected especially after migration. If this doesn't help I think you need to open a support ticket with MS.

     

  • paulsnolan Profile Picture
    179 on at

    Hi OOlashyn

     

    Apologies for the late reply, been on festive break, Happy New Year.

     

    Tried your suggestions but neither worked. However we did manage to fix the issue, but it was a bit ‘left field’. The clue was in the error text where it refers to the Page Not Found page being localized in English language. I’d checked all the pages in the migrated portal and they were set to English. However my colleague, using Portal Management’, removed the English language from the Page Not Found Web Page and re-added it (with no save in between) and then Save & Close and the page appeared. We tried this with the Home page and voila the migrated site came up. We then went to the Website in Portal Management and did the same for the Default Language. I can now also edit the migrated portal. Have you ever come across this with page languages? Thought I would share to save anyone else my pain.

     

  • OOlashyn Profile Picture
    3,498 Most Valuable Professional on at

    Hi @paulsnolan ,

    Interesting finding. I didn't experience this issue in particular, despite using portal with couple of languages. I had similar issue but in that case missing page just didn't have a version with proper language. Good to know and thanks for sharing!

  • paulsnolan Profile Picture
    179 on at

    Hi @OOlashyn 

    Further info re this issue. Doing a dummy update of the Default Language for the Website, as mentioned above, doesn't update the language for all the pages in the portal. We still had to do a dummy update for an individual page to make the page available.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
M Bilal Khan Profile Picture

M Bilal Khan 110

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 24

Last 30 days Overall leaderboard