473,326 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Publish and Master Pages in ASP.NET 2 conflict

When publishing Web Applications different rules are applied than those
applied to Building. This is sometimes a little late in the process to
discover bugs at least give us a warning when building. Also when using
Master pages and publishing we receive an error that the page is Ambiguous
because it is contained within all the dll's. When we do not use publish the
site works fine. When we use a previous page and cast it to an object at
Build time there are no problems but when we publish it fails. Again, tell
us at build time at least with a warning.
Nov 19 '05 #1
2 1585
Hi wschaub:

I'd enter your comment into the Ladybug feedback area:
http://lab.msdn.microsoft.com/ProductFeedback/

You have to be very careful referencing types in other aspx / ascx /
master files in 2.0 because of the way web applications are structured
and the various build options.

Are you using an @ PreviousPage directive?

I have a couple tips and thoughts on the matter here:

Design Considerations for Cross Page Post Backs in ASP.NET 2.0
http://odetocode.com/Articles/421.aspx

One More On ASP.NET 2.0 Compilation
http://odetocode.com/Blogs/scott/arc...6/30/1889.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 25 Jul 2005 23:39:02 -0700, "wschaub"
<ws*****@discussions.microsoft.com> wrote:
When publishing Web Applications different rules are applied than those
applied to Building. This is sometimes a little late in the process to
discover bugs at least give us a warning when building. Also when using
Master pages and publishing we receive an error that the page is Ambiguous
because it is contained within all the dll's. When we do not use publish the
site works fine. When we use a previous page and cast it to an object at
Build time there are no problems but when we publish it fails. Again, tell
us at build time at least with a warning.


Nov 19 '05 #2
Hi wschaub:

I'd enter your comment into the Ladybug feedback area:
http://lab.msdn.microsoft.com/ProductFeedback/

You have to be very careful referencing types in other aspx / ascx /
master files in 2.0 because of the way web applications are structured
and the various build options.

Are you using an @ PreviousPage directive?

I have a couple tips and thoughts on the matter here:

Design Considerations for Cross Page Post Backs in ASP.NET 2.0
http://odetocode.com/Articles/421.aspx

One More On ASP.NET 2.0 Compilation
http://odetocode.com/Blogs/scott/arc...6/30/1889.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/
On Mon, 25 Jul 2005 23:39:02 -0700, "wschaub"
<ws*****@discussions.microsoft.com> wrote:
When publishing Web Applications different rules are applied than those
applied to Building. This is sometimes a little late in the process to
discover bugs at least give us a warning when building. Also when using
Master pages and publishing we receive an error that the page is Ambiguous
because it is contained within all the dll's. When we do not use publish the
site works fine. When we use a previous page and cast it to an object at
Build time there are no problems but when we publish it fails. Again, tell
us at build time at least with a warning.


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mike S. | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
5
by: Michael Herman \(Parallelspace\) | last post by:
1. What are some compelling solutions for using Master/Content pages with Web Pages? 2. If a content area has a web part zone with web parts, what is the user experience like when "editting" the...
0
by: wschaub | last post by:
When publishing Web Applications different rules are applied than those applied to Building. This is sometimes a little late in the process to discover bugs at least give us a warning when...
1
by: cadonahue | last post by:
VS 2005 Professional RTM (8.0.50727.42) on Windows 2000 ASP.NET website Last week I converted a 1.1 ASP.NET (VB) project to 2.0. The conversion was painless on the VB code side. It was a lot of...
17
by: Rob R. Ainscough | last post by:
Again another simple concept that appears NOT to be intuitive or I'm just stupid. I've read the WROX book and the example doesn't actually show how the .master page links in the other content...
0
by: pagates | last post by:
Hello All, Perhaps I'm just overlooking something here, but I am having a problem when I Publish to my web site. I am attempting to publish to a subdirectory of the root directory, but the...
1
by: Rushi | last post by:
Hi All, I want to publish one Event from my Header User Control using Master pAge . And want to attach/detach this event from individual pages. Details: I have one User Control Header.ascx....
0
by: jayrooney07 | last post by:
Hi, I'm working on a C# project in which there's a conflict between two dll-files (office automation dll's, version 2.1 & version 2.4), forcing me to manually copy the second dll to the...
2
by: Pieter | last post by:
Hi, We're using ClickOnce alreaddy more than a year for a given applicaiton, doing more than 50 publishes without any problem. Yesterday we made a minor change to one of our components (let's...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.