The format of the file 'ReportingServicesWebServer' is invalid

  • I received the following error message when trying to deploy a report. This one is new to me so please help.

    TITLE: Microsoft Report Designer

    ------------------------------

    A connection could not be made to the report server http://cbiz/ReportServer.

    ------------------------------

    ADDITIONAL INFORMATION:

    Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

    The request failed with the error message:

    --

    body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}

    p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

    b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

    H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

    H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

    pre {font-family:"Lucida Console";font-size: .9em}

    .marker {font-weight: bold; color: black;text-decoration: none;}

    .version {color: gray;}

    .error {margin-bottom: 10px;}

    .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

    An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    The format of the file 'ReportingServicesWebServer' is invalid.

    Line 27:

    Line 28:

    Line 31:

    29

    The following information can be helpful to determine why the assembly 'ReportingServicesWebServer' could not be loaded.

    === Pre-bind state information ===

    LOG: DisplayName = ReportingServicesWebServer

    (Partial)

    LOG: Appbase = file:///C:/Program Files/Microsoft SQL Server/MSSQL.3/Reporting Services/ReportServer

    LOG: Initial PrivatePath = bin

    Calling assembly : (Unknown).

    ===

    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).

    LOG: Post-policy reference: ReportingServicesWebServer

    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/reportserver/8b363cf2/34a0bf14/ReportingServicesWebServer.DLL.

    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/reportserver/8b363cf2/34a0bf14/ReportingServicesWebServer/ReportingServicesWebServer.DLL.

    LOG: Attempting download of new URL file:///C:/Program Files/Microsoft SQL Server/MSSQL.3/Reporting Services/ReportServer/bin/ReportingServicesWebServer.DLL.

    Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407

    <!--

    [BadImageFormatException]: The format of the file 'ReportingServicesWebServer' is invalid.

    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)

    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)

    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark)

    at System.Reflection.Assembly.Load(String assemblyString)

    at System.Web.UI.CompilationConfiguration.LoadAssemblies(Hashtable original)

    [ConfigurationException]: The format of the file 'ReportingServicesWebServer' is invalid. (C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\web.config line 29)

    at System.Web.UI.CompilationConfiguration.LoadAssemblies(Hashtable original)

    at System.Web.UI.TemplateParser.AppendConfigAssemblies()

    at System.Web.UI.TemplateParser.PrepareParse()

    at System.Web.UI.TemplateParser.Parse()

    at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()

    at System.Web.UI.TemplateParser.GetParserCacheItemInternal(Boolean fCreateIfNotFound)

    at System.Web.UI.TemplateParser.GetParserCacheItemWithNewConfigPath()

    at System.Web.UI.TemplateParser.GetParserCacheItem()

    at System.Web.UI.ApplicationFileParser.GetCompiledApplicationType(String inputFile, HttpContext context, ApplicationFileParser& parser)

    at System.Web.HttpApplicationFactory.CompileApplication(HttpContext context)

    at System.Web.HttpApplicationFactory.Init(HttpContext context)

    at System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context)

    at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

    -->

    --. (Microsoft.ReportingServices.Designer)

    ------------------------------

    BUTTONS:

  • I'm getting the exact same error messages.

    Where you able to resolve the issues? If so how?

    Thanks

    Susan

  • the same problem over here, can anyone help me?

  • Go to IIS, Reportsever Virtual directory --Right click properties--> ASP.NET tab and check the version. Restart and it will work.(should be 2.050727)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply