CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 6/16/2006 3:13:39 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 74 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"kLAx" <>
NewsGroup User
Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'6/16/2006 3:13:39 PM

0

I always get the below exception if I make a configuration change to the web.config file then request a page without re-building the project.

Exception:

Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'.

Stack Trace:

[InvalidCastException]: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'.
   at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
   at System.Web.Compilation.BuildManager.CompileGlobalAsax()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
[HttpException]: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'.
   at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
   at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
   at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
[HttpException]: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'.
   at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
   at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest
wr)

"kLAx" <>
NewsGroup User
Re: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'6/19/2006 3:33:12 PM

0

I have now backed out the project from WAP as it requires frequent web.config amendments and appears not to be stable with a global.asax file.

"Peter Strömbla
NewsGroup User
Re: Unable to cast object of type 'System.Web.Compilation.BuildResultCompiledAssembly' to type 'System.Web.Compilation.BuildResultCompiledGlobalAsaxType'10/15/2009 10:37:53 AM

0

Change to a neutral assembly in AssemblyInfo.cs

[assembly: AssemblyCulture("")]

see further: http://support.microsoft.com/kb/924731

or http://yurykorolev.blogspot.com/2007/10/localization-errors-in-aspnet.html?

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:













generator of designer file failed

no dataadapters in designer anymore?

asp.net 2.0 web application project dynamic compiliation error

6 people, one project...please advise

unable to cast object of type 'system.web.compilation.buildresultcompiledassembly' to type 'system.web.compilation.buildresultcompiledglobalasaxtype'

no compie tab - warnings as errors

create virtual fails if virtual already exists

how to use wap user control libraries from web site project?

sqlprofileprovider, no profilecommon in code-behinds but yes in the aspx code?

invalid exception code was unhandled by user code?

deployment help - urgent!!!

wap vs web site

web site administration tool

designer support, seems logically broken

vs2005 does not correctly open wap

web application project or web site project which is "better"?

web app and cache problems

big web project - build single page with visual studio 2005

regarding the asp.net development server... can it be accessed remotely?

still unable to view templates.

textboxs readonly problem ..

web.config pages theme not working?

how to enable "show all files"

"the project-to-project reference with guid"?

large web application architecture?

unable to load web project

<appcode> vs <separate classes>

error bc30002 - not recognizing web services at runtime - <applicationsettings> in web.config

want web application project for vs2005 beta2

asp.net runtime error: there is no build provider registered for the extension ''

code behind problem

using afterbuild target to process files....

service unavailable

visual studio profile form

migrating web site project to web application project

asp debugging

mysterious location of project folders

wap doesn't seem to work...

server error

use a wap as custom project template not working

single assembly file for my web site

can we extend the precompiled & deployed application in asp.net

.snp's and response.contenttype = ?????

obj directory

problem in ie for mac

control events not firing in asp.net if client side javascript attached

dotfuscator and ,net framework 2 web app projects

merging files (only .doc document)

creating web service - web site vs. web application

creating a web application project from an existing web site

   
  Privacy | Contact Us
All Times Are GMT