LightSwitch is still looking for an entity property that no longer exists in any project file. How and why?

I recently performed an across-the-board rename in my LightSwitch application and development database. (No worries, always backups.) I know that directly editing the .lsml files (Client.lsml, Common.lsml, Server.lsml) isn't supported - you must be careful.
That said I've been able to use find and replace within these files with great success for simple refactoring ... until now.
I renamed "WcsNum" on my Job entity to "JobNum".
I have a data grid whose entities include a relationship to "Job" and display a couple of Job's properties, all very typical. Now whenever I open the screen with the data grid and it's populated with one or more entities that have a reference to a
job, I receive this:
The property 'WcsNum' does not exist on type 'LightSwitchApplication.Implementation.Job'. Make sure to only use property names that are defined by the type.
The spooky thing is, the text WcsNum no longer exists anywhere in my entire project. I've used Agent Ransack to search my entire project directory including the main LightSwitch project, my WCF RIA Services project, and any related files.
I've even exported my database schema (and data) to scripts and searched those for it -- nothing.
I've tried "Clean Solution", as well as manually deleting every obj, bin, and GeneratedArtifacts directory in both projects. There are no remaining occurrences of this reference, I don't know where it's getting it from.
I also tried deleting the settings from %UserProfile%\Documents\Microsoft\LightSwitch\Settings, which I regularly clear anyway to discard manual column sizes.
As I'm typing this I'm searching the contents of every file on my entire computer for "WcsNum", in case there's some other local cache that needs cleared. Feasible with a solid state drive.
If I can't find it this way, it must be stored differently, or within a binary format that Agent Ransack doesn't recognize as ANSI/Unicode.

For the first question, in Solution Explorer, you'll find a folder under the LightSwitch project called "Data Sources". But here's the bit you might be missing. You have to switch to back to
Logical View, if for some reason you've switched to File View. You won't see the data sources if you're in
File View. And seeing as you've got Luminous Tools installed, if you have made the toolbar visible, then you have a button to do it all for you "Show Data Sources". Then you simply right-click the data source that is your RIA
Service, then select Update Data Source. I hope that makes it a bit clearer for you?
As for not seeing a Rebuild Project command, you might be looking in the actual LightSwitch menu. What I've done is only put commands in there that directly relate to LightSwitch. Any others will appear in one of two groups in the context menu underneath
the LightSwitch menu. Rebuild Solution, Rebuild Project, & Cancel Build, should all be together. If you still can't find it, let me know. Any images of what you're seeing on the screen would be very helpful for me to know what to advise you.
Yann -
LightSwitch Central
Luminous Tools for LightSwitch (a FREE productivity extension)
FREE Themes, Controls, Types and Commands
Please click "Mark as Answer", if any reply answers your question.
Please click "Vote as Helpful", if you find any reply helpful.
By doing this you'll help others to find answers faster.

Similar Messages

  • Screen save is looking for a network drive that no longer exists

    I am on OS X 10.10.3 (though this issue started with 10.10.2)
    When I go to Desktop and ScreenSave preferences I get a message stating 'There was a problem connecting to the server "familyserver"'.  This isn't a surprise since that machine is no longer on the network (it was a Windows home server).  If I click OK the dialog reappears in a couple of seconds. 
    In the screen saver preview it says "loading photos.." and for the source it states: "Loading..."
    However I can't change the source - the only option in the drop down is "loading"
    Anyone know how to fix this so I can change the source to a local drive?
    Cheers
    Ian

    Try the developers forum. The hosts don't allow us to discuss/troubleshoot beta software in this forum.

  • I'm looking for a voicemail app that will automatically switch over after normal business hours and play an alternate voice-mail message. Does this currently exist?

    I’m looking for a voicemail app that will automatically switch over after normal business hours and play an alternate voice-mail message. Does this currently exist?

    Voicemail is through your carrier and on their equipment.
    It's function and features is set by them, not your phone.

  • Looking for a zip application that will open rather than extract zip files

    In OS X, the built-in operation for zip files is that when you double-click on one, os x extracts the whole thing to a new folder. I am looking for an application that will open zip files without extracting them - what winzip does in Windows. Are there any apps that will do this in os x?
    Message was edited by: Jon R

    Try Zipeg - VersionTracker or MacUpdate.

  • My iPhone 5S prompts me for my password to an Apple ID email that no longer exists as an account.  How do I change my Apple ID address without having to change the primary address to a non-existent email account?

    I cannot sign into icloud on my phone because the Apple ID is an email account that has been deactivated and deleted.  How can I change my Apple ID without having to change the primary email address to this non-existent account? If I did so, I wouldn't be able to access the account to receive the verification email. Please help!

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iDevice, then sign back in with the ID you wish to use.  When you do this you may find that the password for your old ID isn't accepted.  If this should happen, and if your old ID is an earlier version of your current ID, you need to temporarily recreate your old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You should not need to verify the old email address.  You can now use your current password to turn off Find My iDevice on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for

    I downloaded CS6 and am having issues with my print driver. It is not compatible with the HP 2600n and have tried to download drivers given to me by adobe ( (Jupiter 3) but it is not working. after a few days. Its a temporary fix and is still looking for the HP driver when i boot up. It also will not save in any print or postscript format. Does anyone know how to fix?
    Currently use a Mac with the latest Mavericks 10.9.4

        Oh boy! Acting kind of weird seems to be an understatement, aquaequus!
    What type of troubleshooting were we able to do with you? I want to make sure that we can get some sort of resolution for this problem.
    It is quite possible the battery door may get your phone in working order again. I'm not sure if the store has it in stock, but it is available in our warehouse for $14.99 which can be ordered via customer service.
    Tamara H.
    Follow us on Twitter @VZWSupport

  • TS2776 I cannot get my IPhone to recognize my new computer; it's still looking for the old one.

    My IPhone won't sync with a new windows 8 computer.  It's still looking for the old one.  How in the he11 do you change the name of the PC the IPhone looks for?

    This user tip should be useful
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Switched from NAS to external harddrive but Itunes is still looking for NAS

    I used to have a NAS (Net attached storage) and i switched to a Seagate 1TB external harddrive, I copied the whole Itunes library, program etc...and it runs but it is 7.6 version so it would not identify my ipod until i updated the software, so i go to update, download the update and go to do the update and I get a error message that it cant locate //nas/disk1 the old destination...I went so far as to delete itunes and Quicktime and redownload itunes 8.1 so i go to install it and it is still looking for //nas/disk1 now i have a folder with 375gb of music and movies and no program to run it.... I try to go into control panel add/delete programs and itunes is still in there so i go to delete and I get a error message that it cant delete it because it cant find //nas/disk1...*** I need help Please someone tell me what i have to do to I was able to delete quicktime but it still shows itunes and it will not let me install itunes...i did a search through the computer and ther are no files for itunes so i do not know why it is still trying to locate it from there....HELP

    Hi,
    The reason that you are getting the ! is because iTunes is still looking for the music on your external hard drive.
    You need to create a new library iTunes: How to open an alternate iTunes Library file or create a new one
    Now turn on iTunes Match and select add this computer. You will now see all your music in the cloud. When you want to add new music, revert to the original library on your external hard drive.
    Jim

  • HT2731 Hello my I tune account name is edited . I've changed my billing information and I think the I tune is still looking for my old billing info, which is not active anymore.

    Hello after changing my billing information my account is still not working. I think the sistem is still looking for my old billing info. and that info is not working anymore. will you please check it and advise.

    Welcome to the Apple community.
    I have asked for your email address to be edited out. Post your address in an open thread is a sure way to be bombarded by unwanted email, remember it will be here long after you have resolved your problem, for automated detection software to find.
    If you want people to contact you, enable others to see your email address in your profile.
    If you have already changed your account information with Apple at my Apple ID, in order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    When you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > store, scroll down and tap your ID)

  • Still looking for flex help

    I had a couple of responses to my request for help that were excellent. Unfortunately, I have lost all my emails and cannot find the email of the people who responded. Could you please respond again at [email protected] I am still looking for some help.
    thank you

    I've provided this type of basic support to others at $50 per hour. I bill in 15 minute increments, so for quick questions you would typically pay
    $12.50 per question, $50 / hour for more involved issues.
    One thing, I'm more of a front-end guy, so while I can help with HTTPService connecting to PHP scripts, I'm not up to speed on ColdFusion,
    Java, etc.
    I have a day job, so I would have to respond outside the hours of 9 - 5 pacific standard time.
    I have emailed you about this, so please reply to that email on this topic.

  • I bought movies from iTunes but decided to download later as I was still looking for another one.  Now I can't find anyway to download them.  Anybody had the same problem?

    I bought movies from ITunes but decided to download later as I was still looking for another one.  Now I can't find a way to download them.  Anybody have the same problem?  Help, please.

    Hello William
    Check to make sure that in iTunes Preferences that Show iTunes in the Cloud purchases is check or check in the iTunes Store under Purchased to see if it rests there.  If you still cannot locate them, the report the issue to the iTunes Store.
    Download past purchases
    http://support.apple.com/kb/ht2519
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    Regards,
    -Norm G.

  • Still looking for asd2.5.8

    Thanks to all that helped don't know if I burned it right but the software everybody gave me still won't work and need help I will be home tomorrow If someone would like to call me and maybe talk me through it that would be fine I can give u my number but am still looking for the software

    Right you are, was thinking of AHT I guess!
    Here's the full list...
    .DS_Store
    .Trashes
    Apps
    ASD OS 2.5.8GMc1.dmg
    ASD Read Me v2.5.8.pdf
    ASD Test Results Guide for G4 and G5 Computers.pdf
    ASD User Guide.pdf
    Burning ASD to disc.pdf
    Desktop DB
    Desktop DF
    diags
    Includes
    main.sc
    OF System Folder
    TCMs
    TestApps
    Thermal Calibration Results Guide for G5 Power Mac Computers.pdf

  • Still looking for examples

    Hi
    I have heep of books on Java security, but am still looking for examples that show how to Create, Import and Export certificates PROGRAMMATICALLY.
    Does anyone know where I can find these.
    regards

    I can create certificates using Keytool, but I was wondering how to create certificates using java API

  • My printer is a Samsung ML-2010R.  Still looking for a driver solution to run Mac OS X Lion through a new Macbook Pro.  Previously, I was running Mac Os X version 10.5.8 through this printer  on a 4 yr old Macbook. Any further help is most appreciated:-)

    My printer is a Samsung ML-2010R.  Still looking for a driver solution to run Mac OS X Lion through a new Macbook Pro.  Previously, I was running Mac Os X version 10.5.8 through this printer  on a 4 yr old Macbook. Any further help is most appreciated:-)  Humbly, bowiej

    Apple seems to be naming their operating sytems usability based on the respective turd size of the feline in question. Lions are big, very, very, very big.
    I had a system that served me well for 2 years until I mistaking bought a new machine which runs mega-turd (Lion). Foolish me, now nothing works properly, its a daily struggle to get anything working smoothly using my NEW mac mini. All my other machines work fine, even the windows machines and my Android tablet see all the network components and can talk to each other.
    My Internet service is over 3g which I share to the house using internet sharing via my brand new €800 mac mini running POS Lion, everytime the service is interrupted, Kaboom, the mini resets the DHCP server, but doesn't seem to refresh any of the components so connections drop everywhere.
    Its amateur hour at Apple folks.
    There are several posts alone relating to internet sharing, I have submitted a bug report relating to the non user controllable DHCP server (which may be at fault), but the response / solution from Apple was lacklustre and ultimately didn't work.
    See this, there are some work around's in there;
    https://discussions.apple.com/thread/3771614?start=0&tstart=0

  • Why tomcat is still looking for old jar files?

    Please help me it is a very serious problem.
    I updated one of the jar files used by the project. I am using a new method that is available only in the new library. I removed the old jar files in my local system, and everything worked fine. Then I commit those files to the subversion, which is in the testing server, and then I created the war file. The war is successfully created, then I deployed to the tomcat. But, now there is an error in the portion I am using the method that is only available in the new jar files.
    One of the error when I go to that portion is:
    1. No Such Method Exists
    The other errors on log files are:
    1.
    WARNING: Failed to open JAR
    java.util.zip.ZipException: No such file or directory
    2.
    validateJarFile(tomcat/webapps/ROOT/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spe
    c 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Please help me, I have tried every other way to solve this. I have tried removing all the old jar files there were, and replacing with the new one. I have tried creating a war file and ftping to the testing server.
    I problem is still there and it is because the testing server's tomcat is still looking for old jar files. I used Netbeans and add jar files as usual method.

    Check the contents of your WAR file that you are deploying on the testing server to see if it contains the JAR that you can't find.
    More than likely you are building your WAR file and your new JAR file is not being included in the build.

Maybe you are looking for