Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL 2000 Reporting Error

Status
Not open for further replies.

Auguy

Programmer
May 1, 2004
1,206
US
When trying to access the


page on the Windows 2003 server I get the following error:

The type initializer for "System.Net.HttpWebRequest" threw an exception

In the past I have modified the machine.config file changing

checkcertificateName="true"

to

checkcertificateName="false"

This has always allowed me to upload new reports and update the security for any report, etc. What is causing this error and how do I fix it. I cleared the browser history thinking it might have something to do with it.


Auguy
Northwest Ohio
 
I found the log file. It says there is an "Unrecognized attribute", but as far as I know this file hasn't changed in a long time.

<Header>
<Product>Microsoft SQL Server Reporting Services Version 8.00.1067.00</Product>
<Locale>en-US</Locale>
<TimeZone>Eastern Daylight Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSSQL\Reporting Services\LogFiles\ReportServerWebApp__03_16_2010_09_57_25.log</Path>
<SystemName>TRANET01</SystemName>
<OSName>Microsoft Windows NT 5.2.3790.0</OSName>
<OSVersion>5.2.3790.0</OSVersion>
</Header>
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing MaxActiveReqForOneUser to '20' requests(s) as specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing MaxScheduleWait to default value of '1' second(s) because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing DatabaseQueryTimeout to default value of '30' second(s) because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing InstanceName to default value of 'MSSQLSERVER.1' because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing ProcessRecycleOptions to default value of '0' because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing RunningRequestsScavengerCycle to default value of '30' second(s) because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing RunningRequestsDbCycle to default value of '30' second(s) because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing RunningRequestsAge to default value of '30' second(s) because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing CleanupCycleMinutes to default value of '10' minute(s) because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing SecureConnectionLevel to default value of '1' because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing DisplayErrorLink to 'True' as specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: Initializing WebServiceUseFileShareStorage to default value of 'False' because it was not specified in Configuration file.
w3wp!library!134c!03/16/2010-09:57:25:: i INFO: The mixed mode assembly ReportingServicesNativeClient was successfully preloaded
w3wp!ui!134c!3/16/2010-09:57:26:: e ERROR: The type initializer for "System.Net.HttpWebRequest" threw an exception.
w3wp!ui!134c!3/16/2010-09:57:27:: e ERROR: HTTP status code --> 500
-------Details--------
System.TypeInitializationException: The type initializer for "System.Net.HttpWebRequest" threw an exception. ---> System.Configuration.ConfigurationException: Unrecognized attribute 'checkcertificateName' (c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config line 152)

at System.Web.Configuration.HttpConfigurationRecord.Evaluate(String configKey, SectionRecord section)

at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)

at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)

at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)

at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)

at System.Web.Configuration.HttpConfigurationRecord.GetConfig(String configKey, Boolean cacheResult)

at System.Web.HttpContext.GetConfig(String name)

at System.Web.Configuration.HttpConfigurationSystemBase.System.Configuration.IConfigurationSystem.GetConfig(String configKey)

at System.Configuration.ConfigurationSettings.GetConfig(String sectionName)

at System.Net.HttpWebRequest.GetConfig()

at System.Net.HttpWebRequest.GetDefaultMaximumResponseHeadersLength()

at System.Net.HttpWebRequest..cctor()

--- End of inner exception stack trace ---

at System.Net.HttpWebRequest..ctor(Uri uri)

at System.Net.HttpRequestCreator.Create(Uri Uri)

at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)

at System.Net.WebRequest.Create(Uri requestUri)

at Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetWebRequest(Uri uri)

at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

at Microsoft.SqlServer.ReportingServices.ReportingService.ListSecureMethods()

at Microsoft.SqlServer.ReportingServices.RSConnection.GetSecureMethods()

at Microsoft.ReportingServices.UI.RSWebServiceWrapper.GetSecureMethods()

at Microsoft.SqlServer.ReportingServices.RSConnection.IsSecureMethod(String methodname)

at Microsoft.ReportingServices.UI.ReportingPage.EnsureHttpsLevel(HttpsLevel level)

at Microsoft.ReportingServices.UI.ReportingPage.ReportingPage_Init(Object sender, EventArgs args)

at System.EventHandler.Invoke(Object sender, EventArgs e)

at System.Web.UI.Control.OnInit(EventArgs e)

at System.Web.UI.Control.InitRecursive(Control namingContainer)

at System.Web.UI.Page.ProcessRequestMain()
w3wp!ui!134c!3/16/2010-09:57:30:: e ERROR: Exception in ShowErrorPage: System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg) at at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at System.Web.HttpServerUtility.Transfer(String path, Boolean preserveForm)
at Microsoft.ReportingServices.UI.ReportingPage.ShowErrorPage(String errMsg)


Auguy
Northwest Ohio
 
Anybody seen anything like this?

Auguy
Northwest Ohio
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top