Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 25th, 2014, 04:24 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default VS 2012 keeps corrupting windows projects

Since installing VS 2012 two different windows projects have been corrupted by VS 2012.

One, which reads Active Directory, has repeatedly overwritten the codebehind for a form with binary zeros. I wasn't even able to "Get Latest" from TFS to overwrite it and ended up having to cut and paste code from Source Explorer to fix it. This has happened so many times now I'm creating a backup every time I touch it just in case.

The second, which navigates to and parses web sites for links and email addresses, is suddenly unable to display a user control to which I've made no changes in at least a week. The references still appear to exist in the codebehind and it's compiling OK, but the user control isn't being displayed and it's now throwing runtime errors. Furthermore, the user control is not listed on the components drop down in the Properties pane and it no longer appears in the Toolbox nor do I seem able to add it. adding to my frustration, VS just crashed after clicking the browse button on the Choose Items dialog box. *&^%$#@!

Am I just unusually unlucky or have others experienced similar problems with VS 2012? Can anybody suggest a solution other than burning the witch?
 
Old October 1st, 2014, 01:19 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

For those experiencing similar problems, the form definition code was just corrupted yet again. It occurred immediately after renaming a SplitContainer. The SplitContainer I tried to change was renamed, but all controls in it were inexplicably moved to a newly created SplitContainer called SplitContainer1 which was not visible on the Form. This explains why the code compiled and ran but nothing was visible.

I've had to manually move all the controls back and delete the code creating the new SplitContainer that the IDE generated. What a PITA!

I recommend avoiding SplitContainer!
 
Old January 17th, 2015, 01:31 AM
Blue Moon
Guest
 
Posts: n/a
Default

However, be aware of the overhead this solution brings. Each user now needs a user account and possible a license in SQL Server as well. I would prefer the multi-tenant solution.
Received Infraction





Similar Threads
Thread Thread Starter Forum Replies Last Post
Export SQL database to Excel in VB 2012/VS 2012 KLDeWitt87 Visual Basic 2012 General Discussion 2 December 4th, 2013 05:00 PM
Force SQL Server 2012 to Use Visual Studio 2012 Titera BOOK: Professional Microsoft SQL Server 2012 Administration 1 May 6th, 2013 02:22 PM
Browsed web projects don't appear in recent projects list? Ron Howerton Visual Studio 2008 0 June 23rd, 2010 12:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.