473,511 Members | 16,738 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Studio 2005 has stopped generating the *.designer.vb files for *.aspx and *.ascx files

Visual Studio 2005 recently stopped generating the *.designer.vb files for
my *.aspx and *.ascx files. I am using Service Pack 1, and do not believe I
did anything differently than normal prior to this happening. Is there
anything that could have caused this? Does anyone know of a way to fix it?
Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
May 14 '07 #1
1 2180
I noticed a strange warning that is shown anytime I add a new control. Here
is a copy of the warning:
Warning 2 Generation of designer file failed: The relative virtual path '?/'
is not allowed here. C:\Inetpub\wwwroot\CAT_aspnet\worldnews.aspx 0 0
CAT_aspnet
Three things that I noticed about this warning are the following:

1. The strange foreign character (?) that it says is trying to be used as a
relative virtual path
2. It says it is located at Line 0, Column 0, which is not a valid location
(or if it is, Visual Studio 2005 doesn't show it, since it starts numbering
the lines at 1)
3. I tried opening the file it says the error is in using other text editors
as well, such as Notepad, and there are no unexpected characters there. In
other words, I cannot find the ? character anywhere using any editor.
This same warning, with the same strange foreign character, is displayed
regardless of which file I am trying to add a control to. I have looked at
all of the files that it claims contain the strange foreign character, and
none of them have it (at least I can't find it, or any other characters that
I didn't add in Visual Studio 2005). What's going on here? I may not have
found the solution to my problem with Visual Studio 2005 generating the
*.designer.vb files, but at I it knows it's not generating them, and I am
assuming this is the source of the problem. Any ideas? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:Oz**************@TK2MSFTNGP05.phx.gbl...
Visual Studio 2005 recently stopped generating the *.designer.vb files for
my *.aspx and *.ascx files. I am using Service Pack 1, and do not believe
I did anything differently than normal prior to this happening. Is there
anything that could have caused this? Does anyone know of a way to fix it?
Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

May 15 '07 #2

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

Similar topics

1
2133
by: kbailey | last post by:
what a waste of money. visual studio does not handle user control files - these are files with and ascx extension are are refered to in the help as 'user-authored server controls'. the VS...
16
2563
by: TB | last post by:
Hi all: If you think that the following comments are absolute amateurish, then please bear with me, or simply skip this thread. A couple of months back I made the decision to initiate a...
8
6253
by: WT | last post by:
Is it normal that Visual Studio sets the PreInit handler for a Page from the OnInit code ? No chance to fire it as OnPreInit is run befor OnInit. ??? CS
7
8122
by: Nathan Sokalski | last post by:
I am an ASP.NET developer, and Visual Studio 2005 seems to have stopped declaring the controls that I add in the *.designer.vb files, therefore forcing me to manually add them before I can use them...
1
2320
by: Nathan Sokalski | last post by:
Visual Studio 2005 unexpectedly stopped generating the *.designer.vb files for *.aspx and *.ascx files. After a few days of frustration trying to fix this, I noticed that it had the following...
0
941
by: Nathan Sokalski | last post by:
When Visual Studio 2005 generates the *.designer.vb files for my *.aspx and *.ascx files, it is including the following before each control declaration: '''<summary> '''Label1 control....
0
1401
by: Nathan Sokalski | last post by:
I have several UserControls (*.ascx files) that I register in my Web.config file under the <system.web><pages><controlselement. If I mistype the src attribute in the Web.config file, the pages that...
4
2625
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
1
2858
by: cnixuser | last post by:
Hello, I am having a problem that I believe is related to the way a stream reader object looks for a text file by default. What I am doing is using a StreamReader object to read the text of a text...
0
7138
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
7355
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
7423
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...
0
5668
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,...
1
5066
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4737
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
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3213
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.