ASP.NET WITH C# ERRORS TROUBLE SHOOTING
These are some of the errors I faced and solved
HOME
HOME
Saturday, July 14, 2012
How to host WCF Service in IIS
http://blogs.msdn.com/b/swiss_dpe_team/archive/2008/02/08/iis-7-support-for-non-http-protocols.aspx
run this command in CMD
aspnet_regiis.exe /iru
The maximum array length quota (16384) has been exceeded while reading XML data.
<bindings>
<basicHttpBinding>
<binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="32" maxStringContentLength="5242880" maxArrayLength="2147483646" maxBytesPerRead="4096" maxNameTableCharCount="5242880"/>
</binding>
</basicHttpBinding>
</bindings>
how find SQL SERVER 2005 statistics and perfomance
SELECT *
FROM sys.dm_exec_query_stats AS qs CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) st ORDER BY total_logical_reads DESC;
The remote server returned an unexpected response: (400) Bad Request WCF
<bindings>
<basicHttpBinding>
<binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="32" maxStringContentLength="5242880" maxArrayLength="2147483646" maxBytesPerRead="4096" maxNameTableCharCount="5242880"/>
</binding>
</basicHttpBinding>
</bindings>
Monday, July 2, 2012
How to List All Tables and Their Rowcount in SQL Server
SELECT '[' + SCHEMA_NAME(t.schema_id) + '].[' + t.name + ']' AS fulltable_name, SCHEMA_NAME(t.schema_id) AS schema_name, t.name AS table_name,
i.rows
FROM sys.tables AS t INNER JOIN
sys.sysindexes AS i ON t.object_id = i.id AND i.indid < 2
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)