CodeVerge.Net Beta


   Explore    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: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/30/2007 10:50:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 105 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
aleroNY
Asp.Net User
batch=false and Precompilation4/30/2007 10:50:26 PM

0

Hello,

I was getting the famous "Unable to cast object of type 'ASP.MyMasterPageName_master' to type 'ASP.MyMasterPageName_master'" error. then I set the batch=false and solved it. Now I'm precompiling my application before I put it on production server, which eliminates the need for setting batch to false.

My question is of the "what if..." type. What's the effect of having batch=false in a precompiled application? Is it ignored in precompiled applications? If yes, how does ASP.NET know that the application is precompiled so as to ignore it.

 Thanks

Zhao Ji Ma - MS
Asp.Net User
Re: batch=false and Precompilation5/3/2007 11:08:47 AM

0

Hi aleroNY,

In "batch mode," the output of multiple source files is compiled into single assemblies according to the type of file, file dependencies, and other criteria. The result is a target site containing a set of assemblies with the executable code for the original source files. I think multiple MasterPage files sharing the same name "MyMasterPageName_master" might cause the issue.


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Performance analysis for Java Web sites Authors: Stacy Joines, Ruth Willenborg, Ken Hygh, Pages: 425, Published: 2002
PHP black book Authors: Peter Moulding, Pages: 845, Published: 2001
Programming ASP.NET Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2006
Java in 60 Minutes A Day Authors: Richard F. Raposa, Pages: 756, Published: 2003

Web:
batch=false and Precompilation - ASP.NET Forums MyMasterPageName_master'" error. then I set the batch=false and solved it. Now I 'm precompiling my application before I put it on production ...
"Circular file references are not allowed" after running RC ... Precompile, Use menu build->Publish website built assemblies are deployed in this case. If you have batch=false build process will be slower ...
Precompiling JSPs with ojspc This chapter describes the basic precompliation functionality provided by ojspc , as well as batch precompilation of JSPs with an archive file. ...
Re: Pre-compilation of .aspx pages to increase per: msg#00452 ... Sent: 04/11/2002 7:31 AM Subject: Re: [DOTNET] Pre-compilation of .aspx pages to increase performan ce > batch="true|false" ...
Compilation and Precompilation in CFMX Templates | ColdFusion ... The precompile batch file from the previous release does not perform this .... Change its value from false to true. Save the file. Restart the server. ...







load page parts based on postbacks

nested master page, user control and events issue!!!

how to extract similar nodes from treeview to listview

bug: sitemapnodecollection(sitemapnodecollection) constructor fails

treeview node display question

different javascript files for each child page

css not working in firefox

menu not rendering correctly

does anyone know how asp.net 2.0 detect theme files change? thanks

treeview control and formview linkage

page refresh ??

default focus

how to add a "no javascript" check to a master page?

themes

htm map to placeholder

menu rendering problem- no spacing

menu and submenus

skin controls in .net 2.0

menu itemclick and navigateurl

problems with aspxlab menu builder

i can't find sitemapviewtype and startingnodetype property in sitemapdatasource object.

simple question....i think :-)

skin files and intellisense

how to disable sitemapnodes dynamically

using treeview (converting from windows forms)

how to apply a template

how do i synch three menu controls?

horizontal menu text alignment

creating a sitemap using code behind

master page problem

   
  Privacy | Contact Us
All Times Are GMT