Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8360299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:25:12+00:00 2026-06-09T11:25:12+00:00

my file xaml n its cs file was open in Visual studio 2010 when

  • 0

my file xaml n its cs file was open in Visual studio 2010 when power got off. Now when power got back and i opened my project.. i cant open that xaml n cs file. I can open all my other xaml n cs file of that project. But cant open those two files only.

on xaml page i get n error

An unhandled exception has occured 

Details:

System.Runtime.InteropServices.COMException
Exception from HRESULT: 0x80041FEB

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,   IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at MS.Internal.Providers.DocDataFactory.CreateAndRegisterDocData(IServiceProvider services, String fileName)
at MS.Internal.Providers.VSDesignerContext.GetDocData(String fileName)
at MS.Internal.Providers.VSDesignerContext.Initialize(IServiceProvider provider, IVsHierarchy hierarchy, UInt32 itemid, Object docDataObj)
at MS.Internal.Providers.VSDesignerContext..ctor(IServiceProvider provider, IVsWindowFrame frame, Object docDataObj)
at MS.Internal.Providers.VSDesignerContext.GetContext(IServiceProvider services, IVsWindowFrame frame, Boolean createIfNotExist)
at MS.Internal.Designer.TabbedEditorPane.MS.Internal.Designer.ITabbedEditorService.get_DesignerContext()
at MS.Internal.Designer.DesignerPane.InitializeDesigner()

what the hell is this? is it corrupted or is something else?

and also i cant open cs file .. when i try to open it in visual studio it opens in Notepad.. and its blank.. nothing is in it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T11:25:14+00:00Added an answer on June 9, 2026 at 11:25 am

    It does look like the power-loss corrupted the files.

    The only two solutions I know:

    1. Get the latest version from source control and redo the work of today
    2. Start from scratch again (or any old copy)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a MainWindow.xaml file in visual studio. Then I clicked on run its
I try and open a XAML file in a silverlight project, VS crashes. I
I have other-window.xaml file and trying to open this from window.xaml on button click.
I have a grid in a XAML file in a WPF project. This MainGrid
I have this code in a xaml file now in a event handler code
Does the XAML file and its .cs code behind run on server-side or client-side?
I am trying to load a Silverlight project to read every XAML file by
In visual studio i want to add a second code behind file to a
I've been having some serious issues with Visual Studio 2010 as of late. It's
I have this strange issue where anytime I open a XAML file that contains

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.