Thursday, March 22, 2012

System.NullReferenceException on trace.axd

Hi Paulo,

I have checked the stack trace, this error can be related with
CreateControlTable.

We can also find the following information for CreateControlTable:

private static System.Web.UI.WebControls.Table
CreateControlTable(System.Data.DataTable datatable)

It seems that the error message is related with the controls on your web
application.

Paulo, according to the stack trace, it is really hard for me to find out
more information. Can you help to collect some additional information?
Thanks for your effort and time.

1. Please share the sample code which will cause the NullReferenceException
on your side. I will perform more research based on the code.

2. Please let me know the .NET Framework version you installed on the
machine, 1.0 or 1.1.

We can check this information in the Add or Remove Programs in the
Control Panel.

I look forward to hearing from you soon. Have a nice day!

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)Working on a Windows 2000 5.00.2195 SP2 and .NET Framework 1.

The application is working fine. I'm having trouble only with the trace

web.config
<?xml version="1.0" encoding="utf-8" ?><configuration><system.web><compilation defaultLanguage="c#" debug="true" /><customErrors mode="RemoteOnly" defaultRedirect="Erro.htm" /><authentication mode="None" /><authorization><allow users="*" /><!-- Allow all users --></authorization><trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" /><sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes
cookieless="false" timeout="20" /><globalization requestEncoding="utf-8" responseEncoding="utf-8" /></system.web><appSettings><add key="ConnectionString" value="whatever" /></appSettings></configuration>

0 comments:

Post a Comment