Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to resolve the issue.

Posted on by

Hello All,

I have written one custom workflow activity which takes four input parameters.

the same code works in dev and preprod but it doesn't work in the test environment.

the error i got 500 Internal server error. Can anyone help me resolving this.

it's very generic error , but don't know what are the different scenario then this happen.

Background:--

Actually my code do create a subsite with caseid in sharepoint .

Subsite url is input parameter with absolute path and caseid is another parameter to custom workflow activity.

there is another subsiteUrl say xyz.sharepoint.com/pqr/test 

but my subsiteUrl is xyz.sharepoint.com/pqr  but the code do not create subsite with caseid name at this path rather takes the above wrong path i.e (xyz.sharepoint.com/pqr/test)

i am confused where from it's taking this path.

Can anyone help me in resolving this.

*This post is locked for comments

  • Verified answer
    EmployeeOcta Profile Picture
    EmployeeOcta on at
    RE: How to resolve the issue.

    This issue is resolved as duplicate subsites cannot be created in the sharepoint instance else it will throw above 500 internal server error.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans