Search

"Cannot set a reference property to an invalid value" when updating datasource in Light Switch by atip29

Resolved
as Not Reproducible Help for as Not Reproducible

1
0
Sign in
to vote
Type: Bug
ID: 776876
Opened: 1/18/2013 1:59:30 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
I have added 4 tables to a database and when I try to update the datasource from a Light Switch project I get the error: "Cannot set a reference property to an invalid value".
None of the new tables are added to the designer.

If I try to delete the Data source I get another error message:
"The deletion failed. The member 'prpTemporada' was not found on the type 'jugadoresListaTodosSearch'".

That type corresponds to a Screen, and it has a property with that name (query).
The project compiles and executes without a problem, and that screen uses that property. No error message is reported at runtime.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Visual Studio 2012

Steps to reproduce

1. Create database
2. Load project.
3. Navigate in Solution Explorer: Data Sources->seis_azureData
4. Right click on seis_azureData and choose Update Datasource.
5. Select all views and tables.
6. Click Finish
7. Click Continue in Warnings screen.

I will send sourcecode and db script to reproduce if necessary.

Product Language

English

Operating System

Windows 7 SP1

Operating System Language

Spanish

Actual results

Error message box.

Expected results

Data Source updated with 4 new tables.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 1/29/2013 at 2:03 AM
Hi, given that we have not heard back from you in 7 days. We will go ahead and close this Connect Issue. If you get a chance to review and provide the information requested earlier, you can go ahead and reactivate this issue.
Posted by Microsoft on 1/25/2013 at 12:17 AM
Hello,

Sorry for bothering. Is there any update?

It would be greatly appreciated if you could provide us with that information as quickly as possible.

Thank you!
Posted by Microsoft on 1/21/2013 at 1:54 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

Please submit this information to us within 4 business days. We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 1/18/2013 at 2:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.