Forums
Forums are Read-Only. Use the new Support Center. To start a general discussion, use the General category when submitting your question.

LightSwitch Troubleshooting 101

Last post 3/2/2012 11:15 AM by mustafa SALEEM. 14 replies.
Sort Posts: Previous Next
  • George (DevExpress)

    LightSwitch Troubleshooting 101

    8/26/2011 8:27 AM
    • Top 25 Contributor
    • Joined on 4/15/2008
    • Posts 1,984
    This post answers a couple of frequently found issues on behalf of using the XtraReports extension for LightSwitch. If your LightSwitch reporting application does not work, please consider performing the following steps.

    1) Make sure that all referenced DevExpress assemblies in both the Server and ServerGenerated folders have their CopyLocal property set to true. To access these folders, switch to FileView and click Show All Files in the Solution Explorer.

    2) Open the config.xml file located in the ClientGenerated folder and make sure that all DevExpress extension assemblies listed in this file have LightSwitch as a part of their names. If required, remove all redundant assemblies from this list.

    3) In the same file make sure that all DevExpress assemblies have the valid version and public key token defined.
     
    4) In addition, make sure that the RIA service datasource is named "XtraReportsServiceData", and its affiliated entity - "MessageEnvelope" (the changing of these names may cause that your application will not work). 

    As always, if these tips provide no solution, please feel free to appeal to our Support Team.

    Regards,
    George (R&D, .NET Team).

    P.S. For your guaranteed official answer within 24 h, contact our Support Team at http://www.devexpress.com/Support/Center/. We are here to help address your issues.
  • George (DevExpress)

    Re: LightSwitch Troubleshooting 101

    9/13/2011 6:19 AM
    • Top 25 Contributor
    • Joined on 4/15/2008
    • Posts 1,984
    A follow-up:

    When submitting your LightSwitch project for investigation to our Support Team, we appreciate if you clean the following folders in the project before packing it into a ZIP archive:

    1. Project_Name\Bin\Debug

    2. Project_Name\Client\Bin\

    3. Project_Name\Client\obj\

    4. Project_Name\ClientGenerated\Bin\

    5. Project_Name\ClientGenerated\obj\

    6. Project_Name\Common\Bin\

    7. Project_Name\Common\obj\

    8. Project_Name\Server\Bin\

    9. Project_Name\Server\obj\

    10. Project_Name\ServerGenerated\Bin\

    11. Project_Name\ServerGenerated\obj\
    Regards,
    George (R&D, .NET Team).

    P.S. For your guaranteed official answer within 24 h, contact our Support Team at http://www.devexpress.com/Support/Center/. We are here to help address your issues.
  • Stephen Naughton

    Re: LightSwitch Troubleshooting 101

    9/13/2011 6:41 AM
    • Not Ranked
    • Joined on 5/7/2010
    • United Kingdom
    • Posts 27

    Thanks, that is extremly helpfull as I was not sure what to remove :)

    thanks again
    Steve 

    See my blog C# Bits | Twitter @sjnaughton
    Always seeking an elegant solution.
  • Derek Kirkman

    Re: LightSwitch Troubleshooting 101

    9/20/2011 10:32 AM
    • Not Ranked
    • Joined on 9/20/2011
    • Posts 3

    This is what I have in mine, I'm assuming that all but the last 4 entries are incorrect because they do not have lightswitch in the name?

    <ExtensionAssembly>DevExpress.Xpf.Printing.v11.1.Core, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Printing.v11.1.Core, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Data.v11.1, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Xpf.Core.v11.1, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Xpf.Docking.v11.1, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Xpf.Layout.v11.1.Core, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Xpf.Printing.v11.1, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.XtraReports.v11.1.LightSwitch.Common, Version=11.1.0.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.XtraReports.v11.1.LightSwitch.Client, Version=11.1.7.5, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Xpf.v11.1.LightSwitch.Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
        <ExtensionAssembly>DevExpress.Xpf.v11.1.LightSwitch.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A</ExtensionAssembly>
     
    

  • Steve Carr

    Re: LightSwitch Troubleshooting 101

    10/12/2011 2:42 AM
    • Not Ranked
    • Joined on 10/12/2011
    • Posts 3

    I a receiving Could not load file or assembly 'DevExpress.Xpf.Printing.v11.1.Core, Version=11.1.6.5

    My colleague and I both followed the solution here and this fixes the problem.

    However, it reoccurs when we send the project from one to another.

    HELP. 

     

     

  • George (DevExpress)

    Re: LightSwitch Troubleshooting 101

    10/12/2011 8:09 AM
    • Top 25 Contributor
    • Joined on 4/15/2008
    • Posts 1,984

    Hello Steve,

    We are aware of this shortcoming in the current XtraReports version. Start tracking the corresponding issue to be notified when it is fixed. We are doing our best to overcome this issue ASAP. Please accept our apologies for the inconvenience.

    Regards,
    George (R&D, .NET Team).

    P.S. For your guaranteed official answer within 24 h, contact our Support Team at http://www.devexpress.com/Support/Center/. We are here to help address your issues.
  • Robert Shreve

    Re: LightSwitch Troubleshooting 101

    2/6/2012 10:44 AM
    • Not Ranked
    • Joined on 8/11/2007
    • Posts 1

    I have same question as Derek.  How do you want us to correct it?  If we are to add Lightswitch to it is it a prefix or suffix?

  • George (DevExpress)

    Re: LightSwitch Troubleshooting 101

    2/9/2012 9:05 AM
    • Top 25 Contributor
    • Joined on 4/15/2008
    • Posts 1,984

    Hello Robert,

    This means any assembly that has LightSwitch as part of its name, be it a prefix, or suffix, etc.

    Regards,
    George (R&D, .NET Team).

    P.S. For your guaranteed official answer within 24 h, contact our Support Team at http://www.devexpress.com/Support/Center/. We are here to help address your issues.
  • Steve Carr

    Re: LightSwitch Troubleshooting 101

    2/9/2012 9:46 AM
    • Not Ranked
    • Joined on 10/12/2011
    • Posts 3

    Hello George,

    It has been nearly two months since I reported this issue.

    Has it been resolved yet?

    Thanks 

     

  • George (DevExpress)

    Re: LightSwitch Troubleshooting 101

    2/9/2012 10:01 AM
    • Top 25 Contributor
    • Joined on 4/15/2008
    • Posts 1,984
    Hello Steve,

    Would you please provide me with an ID of the issue as it is not clear to me which one you mean?
    Regards,
    George (R&D, .NET Team).

    P.S. For your guaranteed official answer within 24 h, contact our Support Team at http://www.devexpress.com/Support/Center/. We are here to help address your issues.
  • Steve Carr

    Re: LightSwitch Troubleshooting 101

    2/9/2012 10:22 AM
    • Not Ranked
    • Joined on 10/12/2011
    • Posts 3

    This is what I posted on 10 December 

     

    I a receiving Could not load file or assembly 'DevExpress.Xpf.Printing.v11.1.Core, Version=11.1.6.5

    My colleague and I both followed the solution here and this fixes the problem.

    However, it reoccurs when we send the project from one to another.

    HELP.

     

     

  • Igor D (DevExpress)

    Re: LightSwitch Troubleshooting 101

    2/9/2012 10:47 AM
    • Top 200 Contributor
    • Joined on 5/18/2009
    • Posts 90

     Hi Steve!

    it reoccurs when we send the project from one to another

    Just curious, why do you need to send the project from one to another? Don't you use a source control system?


  • mustafa SALEEM

    Re: LightSwitch Troubleshooting 101

    3/2/2012 4:05 AM
    • Not Ranked
    • Joined on 10/23/2011
    • Posts 3

     dear sirs,

    this solve the problem during development ....
    but when i trnsfer the web deployment application to the company server the problem arrise again...:::8o|*-)8-):@:(:(:(:(
    issu details in the following link:-

     lightswitch web deployment could not load file or assembly 'devexpress.xpf.printing.V11.1.core....

    Please inform us if we require server prequesties or some thing to solve the problem..:(li:




  • George (DevExpress)

    Re: LightSwitch Troubleshooting 101

    3/2/2012 6:24 AM
    • Top 25 Contributor
    • Joined on 4/15/2008
    • Posts 1,984

    Hello,

    Have you tried the following?

    2) Open the config.xml file located in the ClientGenerated folder and make sure that all DevExpress extension assemblies listed in this file have LightSwitch as a part of their names. If required, remove all redundant assemblies from this list. 

    Regards,
    George (R&D, .NET Team).

    P.S. For your guaranteed official answer within 24 h, contact our Support Team at http://www.devexpress.com/Support/Center/. We are here to help address your issues.
  • mustafa SALEEM

    Re: LightSwitch Troubleshooting 101

    3/2/2012 11:15 AM
    • Not Ranked
    • Joined on 10/23/2011
    • Posts 3

     thank you Mr.George

    I make the instructions, repack the application ...:):):D

    I get another error...::::(:(:(

    (load operation failed for query 'getauthenticationinfo'. exception of type 'system.servicemodel.domainservice.client.domainoperationexeption' was thrown.)

    I write all the Information in My Issue:

     

    http://www.devexpress.com/Support/Center/p/B221922.aspx

     

    Please advice

    thanks for your kind replay

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.