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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Importing solution with custom table

(0) ShareShare
ReportReport
Posted on by 80

Hi 

I have solution with some custom tables . When I tried to import my solution to another environment I am getting error 'Missing dependencies' and those dependencies are for my custom tables . (My custom tables already added in my solution). 

How I can export and import my custom table to new environment

Thanks

Hemisha

I have the same question (0)
  • Verified answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: Importing solution with custom table

    Hi HGajjar,

    Can you please share the screenshot of the missing dependencies? All column values should be visible in the screenshot. It will be full for me to assist further.

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • HGajjar Profile Picture
    80 on at
    RE: Importing solution with custom table

    Hi 

    Here is my error

    pastedimage1666279632334v1.png

    Thanks

    Hemisha

  • Verified answer
    Abdul Wahab Profile Picture
    12,119 Moderator on at
    RE: Importing solution with custom table

    Hi HGajjar,

    Did you include entity metadata while adding able into the solution?

    If I answer your question then please mark it as verified.

    Let me know if I can provide you with more details.

    Thanks
    Regards,

    Abdul Wahab
    Power Platform & Customer Engagement Developer/Lead/Solution Architecture/Project Manager
    Direct/WhatsApp:+923323281237
    E-mail: abdulwahabubit@outlook.com
    Skype: abdul.wahabubit
    Linkedin: www.linkedin.com/.../

  • HGajjar Profile Picture
    80 on at
    RE: Importing solution with custom table

    How should I do it ? I have included table in solution.

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: Importing solution with custom table

    Hi,

    Remove two custom entities from your solution.

    Now again add those custom entities, you will see two check box at the top to include metadata and include all components..select these checkboxes and click next to add to your solution.

  • HGajjar Profile Picture
    80 on at
    RE: Importing solution with custom table

    Thank you . its Imported properly .

    But when I did testing of my plugin in new environment , its not doing anything (no error , no result ). May be its not trigger .

    Is there anyway I can checked that my plugin install properly with new environment ?

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: Importing solution with custom table

    Hi,

    Enable plugin trace log on your target instance.

    You can also logging to Plugin Registration Tool to verify the plugin steps.

  • HGajjar Profile Picture
    80 on at
    RE: Importing solution with custom table

    HI

    Thanks for reply ! Now I am getting bellow error !

    Exception Message: The given key was not present in the dictionary.

    ErrorCode: -2147220956

    HexErrorCode: 0x80040224

    Any suggestion ?

    Thanks

    Hemisha

  • Verified answer
    Bipin D365 Profile Picture
    28,983 Moderator on at
    RE: Importing solution with custom table

    Hi,

    You will need to debug your code.

    learn.microsoft.com/.../tutorial-debug-plug-in

    Can you please share your plugin code ?

  • HGajjar Profile Picture
    80 on at
    RE: Importing solution with custom table

    Hi Bipin

    I have done debugging and getting bellow error

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Input string was not in a correct format.

    Detail: <OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance">

     <ActivityId>00000000-0000-0000-0000-000000000000</ActivityId>

     <ErrorCode>-2147220970</ErrorCode>

     <ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic">

       <KeyValuePairOfstringanyType>

         <a:key>CallStack</a:key>

         <a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)

      at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)

      at CreateTaskforLead.CreateTask.Execute(IServiceProvider serviceProvider)

      at PluginProfiler.Library.PluginAppDomainProxy.ExecuteCore(Stopwatch watch, ProfilerExecutionReport report, Object instance, Object executionParameter)

      at PluginProfiler.Library.AppDomainProxy.Execute(ProfilerExecutionConfiguration configuration, ProfilerExecutionReport report)</a:value>

       </KeyValuePairOfstringanyType>

     </ErrorDetails>

     <HelpLink i:nil="true" />

     <Message>Input string was not in a correct format.</Message>

     <Timestamp>2022-11-02T11:11:12.0764144Z</Timestamp>

     <ExceptionRetriable>false</ExceptionRetriable>

     <ExceptionSource i:nil="true" />

     <InnerFault i:nil="true" />

     <OriginalException i:nil="true" />

     <TraceText i:nil="true" />

    </OrganizationServiceFault>

    Thanks

    Hemisha

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 247

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 166 Super User 2025 Season 2

#3
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 164

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans