none
Type Initializer for 'Microsoft.VisualStudio.Editors.WCF.Configuration.SVCInfoConfigurationImpl.SavedWcfConfigurationInformation' threw and exception RRS feed

  • Question

  • I am trying to update a wcf service reference and everytime I am getting the error message mentioned in the subject line. Also I am not able to delete the service reference in order to recreate it.

    Any help in this regard would be appreciable.

    Sandeep


    Thanks and Regards Sandeep

    • Moved by Kristin Xie Wednesday, June 24, 2015 7:38 AM related WCF
    Tuesday, June 23, 2015 2:52 PM

Answers

  • hi Sandeep,
       As per this case, Go to Solution explorer then refer the following steps :

    1.To disable type sharing in a single assembly :

    1.In Solution Explorer, select the service reference.
    2.On the Project menu, click Configure Service Reference.
    3.In the Configure Service References dialog box, select "Reuse types in specified referenced assemblies."
    4.Select the check box for each assembly in which you want to enable type sharing. 
    To disable type sharing for an assembly, leave the check box cleared.

    2.To disable type sharing in all assemblies :

    1.In Solution Explorer, select the service reference.
    2.On the Project menu, click Configure Service Reference.
    3.In the Configure Service References dialog box, 
    clear the "Reuse types in referenced assemblies" check box.

    Thursday, July 9, 2015 8:25 AM

All replies

  • Tuesday, June 23, 2015 7:47 PM
  • hi Sandeep,
       As per this case, Go to Solution explorer then refer the following steps :

    1.To disable type sharing in a single assembly :

    1.In Solution Explorer, select the service reference.
    2.On the Project menu, click Configure Service Reference.
    3.In the Configure Service References dialog box, select "Reuse types in specified referenced assemblies."
    4.Select the check box for each assembly in which you want to enable type sharing. 
    To disable type sharing for an assembly, leave the check box cleared.

    2.To disable type sharing in all assemblies :

    1.In Solution Explorer, select the service reference.
    2.On the Project menu, click Configure Service Reference.
    3.In the Configure Service References dialog box, 
    clear the "Reuse types in referenced assemblies" check box.

    Thursday, July 9, 2015 8:25 AM