tags:

views:

216

answers:

2

Hi. I have migrated my ASP.NET MVC 2 project to VS 2010 + .NET 4.0. Now when i start the application i get a lot of "CultureNotFoundException" in IntelliTrace and Output/Gebug window :

A first chance exception of type 'System.Globalization.CultureNotFoundException' occurred in mscorlib.dll

I know what "A first chance exception" means, but when i try to debug(added "CultureNotFoundException" into Bebug/Exceptions[Thrown]) why ex. is thrown i got this detailed exception text:

System.Globalization.CultureNotFoundException occurred Message=Culture is not supported. Parameter name: name designer is an invalid culture identifier. Source=mscorlib ParamName=name InvalidCultureName=designer StackTrace: at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride) InnerException:

I wonder why .NET is trying to create CultureInfo with name "designer"?

Isn't it bug?

A: 

I think it's the actual designer that messed things up. Try searching across your solution for "designer" string to see if any XML/HTML attributes have their values set to this string.

Anton Gogolev
I did, but didn't foud anything.
Feryt
+1  A: 

It seems as the problem was a bug in VS 2010 Beta 2.

Feryt
Wow, that's an old version of VS.NET :-)
Eamon Nerbonne