469,586 Members | 2,195 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,586 developers. It's quick & easy.

Visual Studio 2005 giving warning error about generating *.designer.vb files

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 Warning in the Error List tab at
the bottom of the screen:
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 were the following:

1. The strange foreign character (?) that it says is trying to be used as a
relative virtual path (The strange foreign character may appear as a
question mark or some other character in this message due to formatting)
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 Warning appears for all of my *.aspx and *.ascx files, so the strange
foreign character is obviously added by Visual Studio 2005 and is related to
my problem of the *.designer.vb files not being generated, but how do I fix
it? Any help would be greatly appreciated. Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
May 15 '07 #1
1 2074
Nathan,

have you tried posting your VS 2005 question to the VS 2005 forums ?

http://forums.microsoft.com/MSDN/def...pID=6&SiteID=1

The VS 2005 Development Teams patrol them,
and you're likely to get a more authoritative answer there.

You'll need a Passport/Windows Live ID to be able to post a question there.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Nathan Sokalski" <nj********@hotmail.comwrote in message
news:un*************@TK2MSFTNGP05.phx.gbl...
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
Warning in the Error List tab at the bottom of the screen:
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 were the following:

1. The strange foreign character (?) that it says is trying to be used as a relative virtual path
(The strange foreign character may appear as a question mark or some other character in this
message due to formatting)
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 Warning appears for all of my *.aspx and *.ascx files, so the strange foreign character is
obviously added by Visual Studio 2005 and is related to my problem of the *.designer.vb files not
being generated, but how do I fix it? Any help would be greatly appreciated. Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

May 15 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by john smith | last post: by
18 posts views Thread by Brandon Bray [MSFT] | last post: by
8 posts views Thread by WT | last post: by
4 posts views Thread by kurt.kurtsmith | last post: by
reply views Thread by marathoner | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.