Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

Run time complitation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joel Barsotti - 17 Feb 2006 22:00 GMT
Sometimes when I ftp up new files the server can't find name spaces or give
me errors like Unable to cast object of type 'ASP.mainnav_master' to type
'ASP.mainnav_master'.

Most of the time these errors are associated with files that are unrelated
to my upload.

Any idea what causes this?
Steven Cheng[MSFT] - 20 Feb 2006 06:13 GMT
Hi Joel,

Welcome to the MSDN newsgroup.

As for the compilation error you mentioned, I think it is likely caused by
some page's classes(dynamic compiled) get incompatible with others since
after you upload some new files onto the web application's dir, it will
cause some of the pages get recompiled, and if some other pages are
referenced some page classes which get recompiled, there may exists such
inconsistent behavior.  I suggest you try modify the web.config (update it)
after you upload some files into application, this can help make the whole
web application get recompiled.

BTW, can you reproduce this problem in local development environment? If
so, we can test in local environment which maybe much more convenient.

Regards,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.