473,472 Members | 2,211 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Editing .aspx/.ascx of precompiled web site (Project Portfolio Server Web Access)

I want to customize some aspx / ascx files of a precompiled site (the
project portofolio web access site). I have no access to source code.

Using Visual Studio, when I try to edit one these files in "design view", I
get the following two categories of errors:

1) Some "Cannot switch views" errors, like the following:

"Cannot switch views: This end tag has no matching start tag."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Element '
myElement ' cannot be nested within element 'body'."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Attribute 'align'
can be specified only once in a tag."

2) MANY "Element 'myElement' is not a known element.." errors, as:

"Element 'Benefits' is not a known element. This can occur if there is a
compilation error in the Web site"

In relation to registered user controls, like:
..
<%@ Register TagPrefix="WP" TagName="Schedule"
Src="../Parts/Projects/Schedule.ascx" %>
..
The web site I´m trying to customize is the Project Portfolio 2007 Web
Access (fresh install and working properly).

Using VS 2005 SP1, opening the site by using the "Open site" from "file"
menu.
Dec 4 '07 #1
2 2124
On Dec 4, 9:10 pm, "Handle" <no...@no.fiwrote:
I want to customize some aspx / ascx files of a precompiled site (the
project portofolio web access site). I have no access to source code.

Using Visual Studio, when I try to edit one these files in "design view", I
get the following two categories of errors:

1) Some "Cannot switch views" errors, like the following:

"Cannot switch views: This end tag has no matching start tag."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Element '
myElement ' cannot be nested within element 'body'."
"Cannot switch views: Validation (XHTML 1.0 Transitional): Attribute 'align'
can be specified only once in a tag."

2) MANY "Element 'myElement' is not a known element.." errors, as:

"Element 'Benefits' is not a known element. This can occur if there is a
compilation error in the Web site"

In relation to registered user controls, like:
.
<%@ Register TagPrefix="WP" TagName="Schedule"
Src="../Parts/Projects/Schedule.ascx" %>
.

The web site I´m trying to customize is the Project Portfolio 2007 Web
Access (fresh install and working properly).

Using VS 2005 SP1, opening the site by using the "Open site" from "file"
menu.
These errors are related to the XML validation. Try changing the XML
validation from the context menu on the html code itself. Try changing
it to some older browser config. Hope this helps.
Dec 4 '07 #2
>These errors are related to the XML validation. Try changing the XML
>validation from the context menu on the html code itself. Try changing
it to some older browser config. Hope this helps.
I disabled validation from "tools" --"options" -- it did not work.
Dec 4 '07 #3

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

Similar topics

4
by: BH | last post by:
I'm looking at the source code of the ASP.NET forum sample application. It has the "code-behind" classes compiled into a separate DLL, totally separated from the aspx/ascx files. Adding the class...
2
by: Peter Jackson | last post by:
I'm using v2 of the UIP App. Block. I've created all my .aspx pages, all of which contain .ascx user controls. The .ascx user controls provide the standard server controls (i.e., LinkButtons, etc.)...
2
by: Ric | last post by:
im new to asp.net. from what i understand, you have the aspx file (presentation), user-control(ascx file), code-behind(vb file) and components(compiled vb and dll files). the aspx file contains a...
12
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty...
2
by: chuckdfoster | last post by:
One of my co-workers created an ASP.NET project which is located on a web server on site in our building. I need to change something in this project. I have access to her PC. How do I get the...
11
by: Steve Franks | last post by:
I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed in my /App_Code directory. Everything runs fine locally. However when I use the "Copy Web" function to upload the site...
2
by: Rob | last post by:
Ok, I am a beginner when it comes to ASP.NET and C#. I have been "playing" with Visual Studio 2005 for about 1 week now and I cannot figure out how to create a .aspx or .ascx page in VS 2005. I...
6
by: Martin Eyles | last post by:
Hi, I have a .aspx page which has a .ascx file included through the lines <%@ Register TagPrefix="aspcustom" TagName="menu" Src="Menu.ascx" %> and <aspcustom:menu id="Menu1"...
13
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains...
1
by: Handle | last post by:
I want to customize some aspx / ascx files of a precompiled site (the project portofolio web access site). I have no access to source code. Using Visual Studio, when I try to edit one these files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.