locked
godaddy webconfig report viewer RRS feed

  • Question

  • User-172769993 posted

    hi i have 2 questions

    1)how can i  add the assemblies for the report in the config file on godaddy

    2)what the report path will be in local report it will be c:\users\x\documents\visual studio 2012\Projects\WebApplication1\WebApplication1\Report1.rdlc

    what it will be in the server

    here is my config file is working but when i try to add the assemblies it give me errors

    <?xml version="1.0"?>
    <configuration>
      <system.webServer>
        <httpErrors errorMode="Detailed" />
        <asp scriptErrorSentToBrowser="true" />
      </system.webServer>
      <system.web>
        <customErrors mode="Off" />
        <compilation debug="true" defaultLanguage="c#" />
        <machineKey validationKey="DF964CA56F69875397EC83A70D287B73772CC8D53A7D93A21F04CBB647FE7EE2FA6E7C884A1981E4696E3E3B47CEDD853A68F1BEB0B0A4EC7BD5DAB02989469C" decryptionKey="8C0E4B32EA7DF39F579E2B171DF003C7CD6F294B4D34FBB72EDC0DACD80356BE" validation="SHA1" decryption="AES" />
      </system.web>
    <connectionStrings>
    <add name="ConnString" connectionString="Data Source=xx;Database=DataBase;User Id=xx;Password=xx" providerName="System.Data.SqlClient"/>
     </connectionStrings>
    </configuration>

    Tuesday, May 19, 2015 9:54 AM

All replies

  • User1711366110 posted


    1)how can i  add the assemblies for the report in the config file on godaddy
    2)what the report path will be in local report it will be c:\users\x\documents\visual studio 2012\Projects\WebApplication1\WebApplication1\Report1.rdlc

       As per this case, you need to get the following dll's & add into the bin folder of your hosted website :

    1.you can get the below dll from the reporting services folder in your program files folder :

    Microsoft.ReportViewer.Common.dll

    Microsoft.ReportViewer.WebForms.dll

    2.you can get the below dll from your c:\windows\assembly through command prompt,

    Microsoft.ReportViewer.DataVisualization.dll (for graphics and gauges)

    Microsoft.ReportViewer.ProcessingObjectModel.dll

    then you need to add this configuration to your web.config

    for report path ,you can find by using MapPath() function.

    Wednesday, May 20, 2015 5:38 AM