You are here:   Community
Register   |  Login

ActiveSocial

  • May 23

  • Techmonster13 Techmonster13 Hi Guys,

    I have posted this question on the LighSwitch forum as well. I thought this is a popular site LightSwitch so will have a  better  visibility.

    http://social.msdn.microsoft.com/Fo...e9642466d8

    It's becoming quite frustrating for me.

    Thank you in advance.

    Cheers
    Raj

    about 11 hours ago
  • May 15

  • haoyujie haoyujie I do like lightswitch.
    but i found a little problem(actually is a big problem to me).

    when i import tables from sqlserver database
    LS does not import denote information from table and fields.

    What I want is using denote to be display names of form items.

    So I plan to hark lightswitch's dll, to achieve this purpose.

    I 's locate LS's dll position:
    D:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\LightSwitch\tmp
    but there are several dll:

    Microsoft.LightSwitch.Base.Client.dll
    Microsoft.LightSwitch.Client.dll
    Microsoft.LightSwitch.Client.Internal.dll
    Microsoft.Lightswitch.Client.xml
    Microsoft.LightSwitch.CodeMarker.dll
    Microsoft.LightSwitch.dll
    Microsoft.LightSwitch.ExportProvider.dll
    Microsoft.LightSwitch.ManifestService.Client.dll
    Microsoft.LightSwitch.Model.Xaml.Client.dll
    Microsoft.LightSwitch.RuntimeEditor.Internal.dll
    Microsoft.LightSwitch.SDKProxy.dll
    Microsoft.Lightswitch.xml
    Microsoft.VisualStudio.Debugger.Runtime.dll.dll
    StandardShellPage.xaml

    some can tell me which one should be decompilered?
    or have some more smooth method to arrive the purpose?
    about 2 weeks ago
  • May 13

  • DedoOne DedoOne BTW, this is the third Web Service my LightSwitch application has consumed without the need of a WCF RIA Service.

    The first consumes www.webservicex.net, and was built with thanks to Keith's posting here: http://code.msdn.microsoft.com/wind...0#content.

    The second consumes Bing Maps API, whereby, my application requires to calculate the exact driving distance between two points.

    And now Echosign's API.

    The last two were built upon Paul Patterson's Demo (http://www.paulspatterson.com) in how to send an email without the need of a "fancy" WCF RIA Service. You will have to sign up to his website to have access to it.

    If you wish, I can put together a Demo in how to access Bing Maps and also Echosign and post it here within the Forums.

    Roger
    about 2 weeks ago
  • Michael Washington Michael Washington Thank you for reporting back because that helps others.
    about 2 weeks ago
  • DedoOne DedoOne I resolved the issue with many thanks to the Lightswitch Tracing, and your recommendation Michael.

    My application fetches a templated document, populates many fields within it, and then sends it out for signatures. The problem was due to the fact my application could not find the template. I just changed it from a relative path to an absolute path and everything works as it should

    Once again Michael, you have helped me greatly.

    Roger
    about 2 weeks ago
  • DedoOne DedoOne Thanks for the reply Michael. I'll update this thread as I learn more.

    BTW, the LightSwitch tracing was something I was looking for, as Fiddler operates outside of the application. Thank you for linking that!

    Roger
    about 2 weeks ago
  • May 12

  • wdarnellg wdarnellg Hi.
    I built the Student Information System app from scratch per the steps in the tutorial successfully. Now I am trying to apply it to a personal project and the listbox doesn't display the students. The proper amount of radiobuttons appear, but the names and other data doesn't show but the names are visible in the debugger however. Also if I tick a radiobutton and attempt to save, validation errors occur asking for the 'AttendanceCode', which in my case is 'Type'. The names of the students appear in the lightswitch popup form that is created when the individual validation link is clicked. So I guess my question is two part: What do I need to troubleshoot to find why the names are not being displayed? What do I troubleshoot to see that the control is bound to the Attendance table?
    about 2 weeks ago
  • Michael Washington Michael Washington 1) I did not know it was possible to connect to a web service in LightSwitch without using a WCF RIA Service (you can google for examples)
    2) However, if you have it working when you run in Debug mode then it must be possible. If it does not work when you publish I suspect that the web.config is missing settings
    3) Google LightSwitch Tracking that should help you debug Production application problems.
    about 2 weeks ago
  • May 11

  • DedoOne DedoOne If I can connect with the SOAP services OK within Visual Studio's development environment, I should be able to do so in a IIS production environment. If so, I am thinking it might be a https binding issue within the web.config file. <br /> <br /> I'll have to tinker with it some more. If anyone thinks I am heading in the wrong direction, please let me know. <img src='/DesktopModules/ActiveForums/themes/_default//emoticons/smile.gif' align="absmiddle" border="0" /> <br /> <br /> BTW, here is a snippet of my web.config file: <br /> [code] <system.serviceModel> <client> <endpoint address="https://egrain.echosign.com/services/EchoSignDocumentService15" binding="basicHttpBinding" bindingConfiguration="EchoSignDocumentService15HttpBinding" contract="ServiceReference1.EchoSignDocumentService15PortType" name="EchoSignDocumentService15HttpPort" /> </client> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /> <behaviors> <serviceBehaviors> <behavior> <dataContractSerializer maxItemsInObjectGraph="6553600" /> </behavior> </serviceBehaviors> </behaviors> <bindings> <basicHttpBinding> <binding name="EchoSignDocumentService15HttpBinding"> <security mode="Transport" /> </binding> <binding name="EchoSignDocumentService15HttpBinding1" /> </basicHttpBinding> <webHttpBinding> <binding maxReceivedMessageSize="6553600" /> </webHttpBinding> </bindings> </system.serviceModel> [/code]
    about 2 weeks ago
  • DedoOne DedoOne Hi all,

    I am trying to consume Adobe's Echosign API into my lightswitch application. It's webservice is a SOAP Web Service, whereby I can make HTTP requests to their SOAP gateway and receive synchronous responses.

    I was successful in integrating it into my development environment, by using Lightswitch's server side 'Service Reference', which was able to retrieve all the various classes from their WSDL url.

    However, once I publish into a IIS environment, my application fails to communicate with their web service. Do I need to build this via a WCF RIA service?

    Any help would be most welcomed.

    Roger


    about 2 weeks ago
  • May 09

  • sid sid Hello 

    I have one to many screen. When I add new child row I want to assign some parent property value as default screen field value. How can I achieve that? 

    Thanks in advance


    about 2 weeks ago
  • May 02

  • <br /> <br /> <br /> Dies ist, was ich interessiert bin in.Welcome mich contace. <br /> <br /> <br /> <br /> <br /> <br /> <br /> __________________________________________________ <br /> [url=http://www.mmobf.com/]Diablo 3 Gold[/url];[url=http://www.mmobf.com/aion-kinah-566/]Aion Kinah[/url];[url=http://www.mmobf.com/]Diablo 3 Gold Kaufen[/url];[url=http://www.mmobf.com/Guild-Wars-2/]Guild Wars 2 Gold[/url] <br />
    a month ago
  • <br /> <br /> This is what I'm interested in.Welcome to contace me. <br /> <br /> <br /> <br /> <br /> <br /> <br /> __________________________________________________ <br /> [url=http://www.mmobf.com/]Diablo 3 Gold[/url];[url=http://www.mmobf.com/aion-kinah-566/]Aion Kinah[/url];[url=http://www.mmobf.com/]Diablo 3 Gold Kaufen[/url];[url=http://www.mmobf.com/Guild-Wars-2/]Guild Wars 2 Gold[/url] <br />
    a month ago
  • April 30

  • Omaer Omaer Hi, I'm using Visual Studio 2010 with Lightswitch 2011, and working on a desktop application.
    In a data grid with readonly controls, if a user selects a cell and pressed CTRL+C, the entire row gets copied to the clipboard instead of just that cell.

    So for example, if my data grid has the following columns:
    Username, FirstName, LastName, EmailID

    And the user selects a single EmailID cell and presses CTRL+C, then the whole row including Username, FirstName, LastName and EmailID will all get copied into the clipboard instead of just the EmailID. Does anyone know how to fix this?
    a month ago
  • April 26

  • Michael Washington Michael Washington Yeah but the port could be wrong or blocked by a firewall. I would google to find a SMTP diagnostic program that will help you track down the connection issues. The error you showed earlier is what I got when I had connection issues.
    a month ago
  • NESTicle NESTicle Thanks for the quick replay, but i have this in the web.config file http://puu.sh/2HviA.png
    a month ago
  • Michael Washington Michael Washington @NESTicle -The settings in the web.config file to contact the mail server are not correct.
    a month ago
  • NESTicle NESTicle Can u help me?.. I have a problem sending emails, look at my error http://puu.sh/2HuNi.png , http://puu.sh/2HuNH.png i dont know how to fixed it.. Thanks
    a month ago
  • April 16

  • ming ming Simple question


    __________________________________________________
    Rs Gold|R Gold|wow gold|Cheap R Gold

    about 2 months ago
  • April 13

  • Jim W Jim W Looking to see if anybody is aware of camera and signature controls for the HTLM client, similar to the Centrolutions. I contacted Jason, and at the moment, he's not working similar controls for the HTLM client.

    I guess it would be a PhoneGap control. Are there major challanges to make this possible?

    Thanks,

    Jim Waa
    about 2 months ago