WCF - The maximum nametable character count quota (16384) has been exceeded while reading XML data

前端 未结 4 1212

I\'m having a WCF Service that uses wsHttpBinding. The server configuration is as follows :


      &l         


        
4条回答
  •  囚心锁ツ
    2020-12-17 22:06

    Try the following:

    In the installation directory of your Visual Studio where devenv.exe is located (e.g. C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE) add this section to the devenv.exe.cofig

    
    
      
    
    
    
      
        
        
          
            
          
    
          
        
    
      
    
    
    

    in the app.config of your WCF-service add the same binding:

    
      
        
        
          
            
          
          
        
      
    
    

    Note that the name attribute of the binding tags from the two files must match (e.g. largeServiceBinding)

    Finally add the following mex endpoint into your service tag:

     
    

    this may look like this:

     
      
        
          
            
          
        
        
        
          
            
          
        
      
    
    

提交回复
热议问题