This is a migrated thread and some comments may be shown as answers.

Silverlight Deployment

4 Answers 38 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 01 Jul 2013, 11:53 AM
I have built and deployed the reporting app to the local IIS 7 using the File System method. I have launched and tested the web site and the reporting and all works well.

When I FTP the site to a public server (Arvixe) I get a runtime error. Both the reporting DLLs have been deployed and the web site files and structure are identical. I suspect it may be in the web config which is minimal. Do you have any suggestions
<configuration>    
    <system.web>
        <compilation debug="true" targetFramework="4.0" />
    </system.web>
     
    <connectionStrings>
        <add name="COTSDev"
                connectionString="Data Source=csd2011;Initial Catalog=DB;Integrated Security=SSPI"
                providerName="System.Data.SqlClient" />
        <add name="COTSProd"
                connectionString="Data Source=arvixe.com;Initial Catalog=DB;Persist Security Info=True;User ID=CSDApp1;Password=PWD"
                providerName="System.Data.SqlClient" />
    </connectionStrings>
     
    <system.serviceModel>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
        <services>
            <service name="CSharp.SilverlightDemo.Web.CustomReportService"
               behaviorConfiguration="ReportServiceBehavior">
 
                <endpoint address=""
                  binding="basicHttpBinding"
                  contract="Telerik.Reporting.Service.IReportService">
                    <identity>
                        <dns value="localhost" />
                    </identity>
                </endpoint>
 
                <endpoint address="resources"
                  binding="webHttpBinding"
                  behaviorConfiguration="WebBehavior"
                  contract="Telerik.Reporting.Service.IResourceService"/>
 
                <endpoint address="mex"
                  binding="mexHttpBinding"
                  contract="IMetadataExchange" />
            </service>
        </services>
 
        <behaviors>
            <serviceBehaviors>
                <behavior name="ReportServiceBehavior">
                    <serviceMetadata httpGetEnabled="true" />
                    <serviceDebug includeExceptionDetailInFaults="false" />
                </behavior>
            </serviceBehaviors>
 
            <endpointBehaviors>
                <behavior name="WebBehavior">
                    <webHttp />
                </behavior>
            </endpointBehaviors>
 
        </behaviors>
    </system.serviceModel>
 
</configuration>

4 Answers, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 01 Jul 2013, 01:07 PM
What is the error? Do you have any logs that you can share?
0
Mark
Top achievements
Rank 1
answered on 02 Jul 2013, 11:38 AM
I get a Runtime Error and as I have not set up a custom error page that is all.

0
Stef
Telerik team
answered on 05 Jul 2013, 12:26 PM
Hi Mark,

Since this is 500 internal error, please compare both IIS settings and if services endpoints are configured for the new environment. Also try logging with Fiddler or other proxy tool the created requests and returned results and post the details for us to check them.

Regards,
Stef
Telerik

Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

0
Mark
Top achievements
Rank 1
answered on 06 Jul 2013, 03:34 AM
Resolved
Arvixe set the default run time to v4 pipeline, changing back to v4 classic allowed me to run the site. Nothing to do with reports, thanks

Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
Mark
Top achievements
Rank 1
Stef
Telerik team
Share this question
or