Last post Feb 26, 2014 04:25 PM by mpswaim
Nov 28, 2013 04:11 AM|Josef Zelinka|LINK
I have asp.net Web Forms project created in VS 2012. If I open the project iv VS 2013 and modify aspx file (e.t.c add Literal to file) I get this error "Generation of the designer file for xxxxx failed: Error HRESULT E_FAIL has been returned from a call
to a COM component. ".
Thanks for asnwer or sotutions.
Nov 28, 2013 06:05 AM|Siva Krishna Macha|LINK
Hi Josef Zelinka,
Are you using any XAML in your project? If so, please check if there any syntax errors with XAML - which could also throw the aforementioned error.
Nov 28, 2013 06:09 AM|Josef Zelinka|LINK
no. Only aspx and ascx.
Nov 28, 2013 06:45 AM|Siva Krishna Macha|LINK
Could you check if this is the problem?
Nov 28, 2013 07:25 AM|Josef Zelinka|LINK
no. This is for Silverlight. I have ASP.NET application.
Dec 06, 2013 07:30 AM|Angie xu - MSFT|LINK
As we know, Visual Studio has backward compatibility, if you create asp.net web form project in Visual Studio 2012, you can open it in Visual Studio 2013.
According to error message, I'm not sure the root of this issue. For this issue, I'd like to suggest you to recover your modification.
Dec 10, 2013 04:37 AM|Josef Zelinka|LINK
I have no problem with open VS 2012 project in VS 2013.
My problem has this scenario:
1. Open project in VS 2013 - OK
2. Open aspx / ascx file - ok
3. Add server control e.g. Literal to aspx/ascx
4. Save aspx / ascx - I get this error
Dec 16, 2013 09:11 PM|Ruchira|LINK
It seems the below solution would help you. Give it a try
Please 'Mark as Answer' if this post helps you
Jan 13, 2014 03:27 AM|Josef Zelinka|LINK
I tested this solution, but no effect. I see error yet. :(
Jan 23, 2014 04:08 PMfirstname.lastname@example.org|LINK
I am having the same problem, and this solution also did not work for me. I have resharper installed, and after I disabled resharper, the error went away. I haven't figured out why resharper is affecting it, but at least I can work again.
Jan 24, 2014 10:27 AM|Siva Krishna Macha|LINK
Please try delete the project cache and reinstall as advised below:
Please note: I've not encountered this problem and neither ran the above command earlier. However, hope this solves your issue.
Feb 26, 2014 03:25 PM|mpswaim|LINK
I'm having the same problem. I tried adding a classname to the aspx page
then restarting Visual Studio, and it SEEMS to be working.
I got this off of the JPHellemons web site, although the link above seems to be working. It may just
be me, but VS2013's web tools seem to be awefully fragile. It seems to break if I so much as look at it funny.
(And my project/solution doesn't use XAML or Silverlight, either.)
Feb 26, 2014 03:43 PM|mpswaim|LINK
And that was just a short term fix. Deleting the cache didn't help either.
Feb 26, 2014 04:16 PM|Rion Williams|LINK
Have you attempted to restart Visual Studio (and try running it as an Administrator; Right-click > Run as Administrator) or Clean and Rebuild your current solution (Right-click > Clean Solution) to see if that makes any differences?
If the application itself isn't that complex, you might consider posting the code relating to it to see if we could easily reproduce the issue.
Feb 26, 2014 04:25 PM|mpswaim|LINK
Cleaning the cache worked for me, finally. It's not where Siva pointeed to.
The cache(s) live in
C:\Users\<<Your Alias>>\AppData\Local\Microsoft\Team Foundation
and afterwards you need to run Visual Studio with the /resetuserdata switch. Be warned that this will wipe ALL of your settings.
(Running as administrator and cleaning the project didn't help, btw.)