-
Dec 14th, 2017, 05:23 PM
#1
Thread Starter
PowerPoster
Visual Studio keeps shutting down while trying to open Window Forms?
I'm running VS 2015 Enterprise edition. I have several Windows Forms and Report Files that when I get the below error. It does this repeatedly and I have know idea what is causing it. See attached image.
-
Dec 14th, 2017, 06:23 PM
#2
Re: Visual Studio keeps shutting down while trying to open Window Forms?
It could any number of things. I don't know but I would expect that VS would - or at least could - write to a log file when something like that happens. If it was me, I'd try to find out if that is indeed the case and, if it is, check out the contents of that log file.
Trying to open the same project and items on another machine might not be a bad idea either. If the same thing doesn't happen elsewhere then a repair of VS is probably in order and, if that doesn't help, a reinstall might be required. If this is due to a corrupt file somewhere then finding the culprit can be all but impossible unless it's something that Microsoft have investigated previously.
-
Dec 14th, 2017, 08:05 PM
#3
Thread Starter
PowerPoster
Re: Visual Studio keeps shutting down while trying to open Window Forms?
Thanks JMC...I'll try looking for a log file.
-
Dec 15th, 2017, 08:53 AM
#4
Re: Visual Studio keeps shutting down while trying to open Window Forms?
It wasn't clear if these several forms and reports were in one project or not. If so, I'd assume a file in just that project is corrupt. Otherwise, I'd do as jmc.
-
Dec 15th, 2017, 09:16 AM
#5
Re: Visual Studio keeps shutting down while trying to open Window Forms?
Did you look at the output clicking on the debug button? Just curious.
Please remember next time...elections matter!
-
Dec 15th, 2017, 09:20 AM
#6
Re: Visual Studio keeps shutting down while trying to open Window Forms?
When I run into these cases, I open, or try to, the designer.vb file, sometimes it's a bad reference or some errant code in there that causes the crash. - I see now that this is on a report file... so I'm not sure there is a .designer.vb file that corresponds with reports.
-tg
-
Dec 15th, 2017, 09:31 AM
#7
Thread Starter
PowerPoster
Re: Visual Studio keeps shutting down while trying to open Window Forms?
It's definitely a mystery to me...I'm just not sure how to go about debugging it. I will take a look at the .designer file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|