• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 345
  • Last Modified:

Missing Import statements since power failure

I was tooling along in my web app with no problems, and my power went out and shut everything down. So I got power back, started up the app again and now my catche's are erroring:

Catch ex As Exception

Open in new window


Says I need to Import System...

however, I didn't have it Imported in the file before and it was fine.

Did I lose a an automatic setting or something? Anyone know what's going on.

Don't tell me just to import system, I know I can do that. I want to know why it worked before and not now.

Added Note: After importing system, i'm finding a lot of other pages that require imports of other libraries that weren't required before. I feel there was something included automatically somewhere that is no longer there for some reason. I pulled a backup of my web.config prior to the power loss and that doesn't help.

I saw a website that said right click properties on the project and add references, but in VB.NET I don't find a spot to add references. And when I click to Add reference to System it says it already exists.

Any ideas?

thanks!
0
Starr Duskk
Asked:
Starr Duskk
  • 2
3 Solutions
 
informaniacCommented:
Close Visual Studio and try this.

Try this

 ResetSettings-- No need to provide the settings file name.
(Make sure you provide the settings file name if u have made any custom settings to Visual Studio).

or

ResetSkipPkgs
0
 
Miguel OzSoftware EngineerCommented:
hard to say without PC access.YOur PC hard drive may be damaged.

Please try:
Restart PC.
Do a check disk.
Restart PC.
Use system restore to go to a restore point before the power failure.
Test again.
Note: If it does not work, you can try reseting VS (http://msdn.microsoft.com/en-us/library/ms247075(v=vs.80).aspx) or reinstalling VS.
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
I took an previous backup copy and copied all of my current files to it, thus getting the settings i the project before the munge and that fixed it.
0
 
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
none of others helped.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now