locked
The maximum nametable character count quota (16384) has been exceeded RRS feed

  • Question

  • While trying to create proxy through VS 2008 SP1 for large WCF  is getting the following error

    Setting environment for using Microsoft Visual Studio 2008 x86 tools.

    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>ping http://localhost:8103
    /SunGard.PS.BldPmt.Service.BuildingJobService
    Ping request could not find host http://localhost:8103/SunGard.PS.BldPmt.Service
    .BuildingJobService. Please check the name and try again.

    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>ping http://localhost:8103
    /SunGard.PS.BldPmt.Service.BuildingJobService
    Ping request could not find host http://localhost:8103/SunGard.PS.BldPmt.Service
    .BuildingJobService. Please check the name and try again.

    C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC>cd\

    C:\>svcutil http://localhost:8103/SunGard.PS.BldPmt.Service.BuildingJobService
    Microsoft (R) Service Model Metadata Tool
    [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648]
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Attempting to download metadata from 'http://localhost:8103/SunGard.PS.BldPmt.Se
    rvice.BuildingJobService' using WS-Metadata Exchange or DISCO.
    Microsoft (R) Service Model Metadata Tool
    [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648]
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Error: Cannot obtain Metadata from http://localhost:8103/SunGard.PS.BldPmt.Servi
    ce.BuildingJobService

    If this is a Windows (R) Communication Foundation service to which you have acce
    ss, please check that you have enabled metadata publishing at the specified addr
    ess.  For help enabling metadata publishing, please refer to the MSDN documentat
    ion at http://go.microsoft.com/fwlink/?LinkId=65455.


    WS-Metadata Exchange Error
        URI: http://localhost:8103/SunGard.PS.BldPmt.Service.BuildingJobService

        Metadata contains a reference that cannot be resolved: 'http://localhost:810
    3/SunGard.PS.BldPmt.Service.BuildingJobService'.

        Content Type application/soap+xml; charset=utf-8 was not supported by servic
    e http://localhost:8103/SunGard.PS.BldPmt.Service.BuildingJobService.  The clien
    t and service bindings may be mismatched.

        The remote server returned an error: (415) Cannot process the message becaus
    e the content type 'application/soap+xml; charset=utf-8' was not the expected ty
    pe 'text/xml; charset=utf-8'..


    HTTP GET Error
        URI: http://localhost:8103/SunGard.PS.BldPmt.Service.BuildingJobService

        There was an error downloading 'http://localhost:8103/SunGard.PS.BldPmt.Serv
    ice.BuildingJobService'.

        The request failed with HTTP status 400: Bad Request.

    If you would like more help, type "svcutil /?"

    C:\>svcutil http://localhost:8103/SunGard.PS.BldPmt.Service.BuildingJobService/m
    ex
    Microsoft (R) Service Model Metadata Tool
    [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648]
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Attempting to download metadata from 'http://localhost:8103/SunGard.PS.BldPmt.Se
    rvice.BuildingJobService/mex' using WS-Metadata Exchange or DISCO.
    Microsoft (R) Service Model Metadata Tool
    [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4506.648]
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Error: Cannot obtain Metadata from http://localhost:8103/SunGard.PS.BldPmt.Servi
    ce.BuildingJobService/mex

    If this is a Windows (R) Communication Foundation service to which you have acce
    ss, please check that you have enabled metadata publishing at the specified addr
    ess.  For help enabling metadata publishing, please refer to the MSDN documentat
    ion at http://go.microsoft.com/fwlink/?LinkId=65455.


    WS-Metadata Exchange Error
        URI: http://localhost:8103/SunGard.PS.BldPmt.Service.BuildingJobService/mex

        Metadata contains a reference that cannot be resolved: 'http://localhost:810
    3/SunGard.PS.BldPmt.Service.BuildingJobService/mex'.

        There is an error in XML document (1, 62502).

        The maximum nametable character count quota (16384) has been exceeded while
    reading XML data. The nametable is a data structure used to store strings encoun
    tered during XML processing - long XML documents with non-repeating element name
    s, attribute names and attribute values may trigger this quota. This quota may b
    e increased by changing the MaxNameTableCharCount property on the XmlDictionaryR
    eaderQuotas object used when creating the XML reader. Line 1, position 62502.


    HTTP GET Error
        URI: http://localhost:8103/SunGard.PS.BldPmt.Service.BuildingJobService/mex

        There was an error downloading 'http://localhost:8103/SunGard.PS.BldPmt.Serv
    ice.BuildingJobService/mex'.

        The request failed with HTTP status 400: Bad Request.

    If you would like more help, type "svcutil /?"

    Can somebody help on this with the solution.

    The service is supporting both http as well as nettcp binding


    c
    Monday, August 24, 2009 4:06 PM

Answers

All replies