By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,645 Members | 1,065 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,645 IT Pros & Developers. It's quick & easy.

Odd behavior just with VB web application projects

P: n/a
I've been assigned the review of several .Net web application projects
coded in VB.Net. I used to work with C# but I also installed VB during
VS 2003 installation (on my machine: XP Pro SP2 Spanish, now with
VS2005 & 2003).
Now, when I try to run/debug anyone of those projects, I get the
following error (sorry but it's partially in spanish):
Nombre de referencia cultural neutral no compatible. Parameter name:
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.ArgumentException: Nombre de referencia
cultural neutral no compatible. Parameter name: name

Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:
[ArgumentException: Nombre de referencia cultural neutral no
Parameter name: name]
System.Reflection.Assembly.GetReferencedAssemblies () +0
System.Web.UI.Util.GetReferencedAssembliesHashtabl e(Assembly a) +45
System.Web.Compilation.BaseCompiler.GetCompiledTyp e() +385
System.Web.UI.ApplicationFileParser.CompileIntoTyp e() +52
System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()

[HttpException (0x80004005): Nombre de referencia cultural neutral no
Nombre del parámetro: name]
System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
fCreateIfNotFound) +692
System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath()
System.Web.UI.TemplateParser.GetParserCacheItem() +88

System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
inputFile, HttpContext context, ApplicationFileParser& parser) +171
System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext
context) +43
System.Web.HttpApplicationFactory.Init(HttpContext context) +497
System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
context) +170
System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr)

Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032

I've reviewed the projects in order to find some setup or configuration
value refered to a culture reference, but the few ones I found and
changed made no difference.

Then I created a simple VB web project to assess if it was a problem of
the projects or a problem with my machine. And I got the same error. So
I decided to test if I get the same error with a simple C# project, and
NOT, the C# web project worked like a charm. Therefore, I guess it
should be a problem with the IIS-VB JIT compiler association or
something similar but I can not ensure that. I tried on other machines
(w2k3 SP1, XP Pro SP2 english) and had no problems.

Has anyone had a problem like this? Any clue about where is the problem
or how to solve it?

Thanks in advance.

Sep 29 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.