473,385 Members | 1,409 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,385 software developers and data experts.

Could not load type 'Namespace.[Global]' & different harddrives?

We just converted our VS2003 1.1 VB web project (which was working
fine) to VS2005 2.0 and now I get:

Parser Error Message: Could not load type '<Namespace>.[Global]'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="<Namespace>.[Global]" %>

I've done a lot of things I've found on the web to no avial, but here
are some unique things about what is happening to me.

* I have all my development on a J drive. (local drive).
* I read that this error means you need to recompile so I deleted the
web app dll and pdb files. They haven't been rebuilt yet...because of
the initial error. Chicken before the egg?
* When I exclude/delete Global.* files I then get errors saying that
some of my User controls could also not be loaded
* Several of these User controls also now have image files can't be
found, (that really do exist). The missing image urls look like /web
app folder/graphics/image.gif
* Now for some reason instead of showing my web app name in Solution
Explorer is says "J:\...\Web app name".

Has anyone had these things happen? Does 2.0 not like virtual folders
on different harddrives? I read that Global is now a keyword, Can I
safely rename [Global] to Global2

Help!
Thanks

JF

Feb 6 '07 #1
16 4998
Global.asax.vb does not exist in ASP.NET 2.0 (I had the same problem as you
when I converted to 2.0). My recommendation would be to update your
application by placing (and possibly modifying) any code in Global.asax.vb
in another file. If you don't want to bother trying to figure out where to
move this code to, you could create a class named Global, but in the long
taking this route will probably cause you more trouble than it's worth, so I
would just sacrifice the time to update your application to use ASP.NET
2.0's features/conventions and get rid of Global.asax/Global.asax.vb. You
can probably get help with some of the specific code you have in
Global.asax.vb if you post it here. Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"thefritz_j" <th********@hotmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
We just converted our VS2003 1.1 VB web project (which was working
fine) to VS2005 2.0 and now I get:

Parser Error Message: Could not load type '<Namespace>.[Global]'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="<Namespace>.[Global]" %>

I've done a lot of things I've found on the web to no avial, but here
are some unique things about what is happening to me.

* I have all my development on a J drive. (local drive).
* I read that this error means you need to recompile so I deleted the
web app dll and pdb files. They haven't been rebuilt yet...because of
the initial error. Chicken before the egg?
* When I exclude/delete Global.* files I then get errors saying that
some of my User controls could also not be loaded
* Several of these User controls also now have image files can't be
found, (that really do exist). The missing image urls look like /web
app folder/graphics/image.gif
* Now for some reason instead of showing my web app name in Solution
Explorer is says "J:\...\Web app name".

Has anyone had these things happen? Does 2.0 not like virtual folders
on different harddrives? I read that Global is now a keyword, Can I
safely rename [Global] to Global2

Help!
Thanks

JF

Feb 7 '07 #2
re:
Global.asax.vb does not exist in ASP.NET 2.0
Actually, it does, but you have to place it in the App_Code directory.
It will compile just fine if placed there.

The same for Global.asax.cs

The conversion wizard will move the files for you.

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:%2****************@TK2MSFTNGP03.phx.gbl...
Global.asax.vb does not exist in ASP.NET 2.0 (I had the same problem as you when I converted to
2.0). My recommendation would be to update your application by placing (and possibly modifying)
any code in Global.asax.vb in another file. If you don't want to bother trying to figure out where
to move this code to, you could create a class named Global, but in the long taking this route
will probably cause you more trouble than it's worth, so I would just sacrifice the time to update
your application to use ASP.NET 2.0's features/conventions and get rid of
Global.asax/Global.asax.vb. You can probably get help with some of the specific code you have in
Global.asax.vb if you post it here. Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"thefritz_j" <th********@hotmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
>We just converted our VS2003 1.1 VB web project (which was working
fine) to VS2005 2.0 and now I get:

Parser Error Message: Could not load type '<Namespace>.[Global]'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="<Namespace>.[Global]" %>

I've done a lot of things I've found on the web to no avial, but here
are some unique things about what is happening to me.

* I have all my development on a J drive. (local drive).
* I read that this error means you need to recompile so I deleted the
web app dll and pdb files. They haven't been rebuilt yet...because of
the initial error. Chicken before the egg?
* When I exclude/delete Global.* files I then get errors saying that
some of my User controls could also not be loaded
* Several of these User controls also now have image files can't be
found, (that really do exist). The missing image urls look like /web
app folder/graphics/image.gif
* Now for some reason instead of showing my web app name in Solution
Explorer is says "J:\...\Web app name".

Has anyone had these things happen? Does 2.0 not like virtual folders
on different harddrives? I read that Global is now a keyword, Can I
safely rename [Global] to Global2

Help!
Thanks

JF


Feb 7 '07 #3
Sorry, my error. However, I still recommend getting rid of it since it is
not usually the recommended or most efficient way to do things in 2.0. What
code do you have in Global.asax (that was not placed there automatically)?
When I converted, most of the stuff had a place that it could be easily
moved to without any major changes, since there is usually very little code
that is manually added to Global.asax.vb or Global.asax.cs.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OE**************@TK2MSFTNGP03.phx.gbl...
re:
>Global.asax.vb does not exist in ASP.NET 2.0

Actually, it does, but you have to place it in the App_Code directory.
It will compile just fine if placed there.

The same for Global.asax.cs

The conversion wizard will move the files for you.

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:%2****************@TK2MSFTNGP03.phx.gbl...
>Global.asax.vb does not exist in ASP.NET 2.0 (I had the same problem as
you when I converted to 2.0). My recommendation would be to update your
application by placing (and possibly modifying) any code in
Global.asax.vb in another file. If you don't want to bother trying to
figure out where to move this code to, you could create a class named
Global, but in the long taking this route will probably cause you more
trouble than it's worth, so I would just sacrifice the time to update
your application to use ASP.NET 2.0's features/conventions and get rid of
Global.asax/Global.asax.vb. You can probably get help with some of the
specific code you have in Global.asax.vb if you post it here. Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"thefritz_j" <th********@hotmail.comwrote in message
news:11**********************@m58g2000cwm.googleg roups.com...
>>We just converted our VS2003 1.1 VB web project (which was working
fine) to VS2005 2.0 and now I get:

Parser Error Message: Could not load type '<Namespace>.[Global]'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="<Namespace>.[Global]" %>

I've done a lot of things I've found on the web to no avial, but here
are some unique things about what is happening to me.

* I have all my development on a J drive. (local drive).
* I read that this error means you need to recompile so I deleted the
web app dll and pdb files. They haven't been rebuilt yet...because of
the initial error. Chicken before the egg?
* When I exclude/delete Global.* files I then get errors saying that
some of my User controls could also not be loaded
* Several of these User controls also now have image files can't be
found, (that really do exist). The missing image urls look like /web
app folder/graphics/image.gif
* Now for some reason instead of showing my web app name in Solution
Explorer is says "J:\...\Web app name".

Has anyone had these things happen? Does 2.0 not like virtual folders
on different harddrives? I read that Global is now a keyword, Can I
safely rename [Global] to Global2

Help!
Thanks

JF



Feb 7 '07 #4
re:
However, I still recommend getting rid of it
Absolutely.

Code-behind in global.asax is not the default any more for a very good reason:
the file doesn't have a UI and anything you can do in code-behind you can also
do inline, more efficiently, to boot.

Including a code-behind file for global.asax results in double compilation.

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:O2**************@TK2MSFTNGP03.phx.gbl...
Sorry, my error. However, I still recommend getting rid of it since it is not usually the
recommended or most efficient way to do things in 2.0. What code do you have in Global.asax (that
was not placed there automatically)? When I converted, most of the stuff had a place that it could
be easily moved to without any major changes, since there is usually very little code that is
manually added to Global.asax.vb or Global.asax.cs.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OE**************@TK2MSFTNGP03.phx.gbl...
>re:
>>Global.asax.vb does not exist in ASP.NET 2.0

Actually, it does, but you have to place it in the App_Code directory.
It will compile just fine if placed there.

The same for Global.asax.cs

The conversion wizard will move the files for you.

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:%2****************@TK2MSFTNGP03.phx.gbl...
>>Global.asax.vb does not exist in ASP.NET 2.0 (I had the same problem as you when I converted to
2.0). My recommendation would be to update your application by placing (and possibly modifying)
any code in Global.asax.vb in another file. If you don't want to bother trying to figure out
where to move this code to, you could create a class named Global, but in the long taking this
route will probably cause you more trouble than it's worth, so I would just sacrifice the time
to update your application to use ASP.NET 2.0's features/conventions and get rid of
Global.asax/Global.asax.vb. You can probably get help with some of the specific code you have in
Global.asax.vb if you post it here. Good Luck!
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"thefritz_j" <th********@hotmail.comwrote in message
news:11**********************@m58g2000cwm.google groups.com...
We just converted our VS2003 1.1 VB web project (which was working
fine) to VS2005 2.0 and now I get:

Parser Error Message: Could not load type '<Namespace>.[Global]'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="<Namespace>.[Global]" %>

I've done a lot of things I've found on the web to no avial, but here
are some unique things about what is happening to me.

* I have all my development on a J drive. (local drive).
* I read that this error means you need to recompile so I deleted the
web app dll and pdb files. They haven't been rebuilt yet...because of
the initial error. Chicken before the egg?
* When I exclude/delete Global.* files I then get errors saying that
some of my User controls could also not be loaded
* Several of these User controls also now have image files can't be
found, (that really do exist). The missing image urls look like /web
app folder/graphics/image.gif
* Now for some reason instead of showing my web app name in Solution
Explorer is says "J:\...\Web app name".

Has anyone had these things happen? Does 2.0 not like virtual folders
on different harddrives? I read that Global is now a keyword, Can I
safely rename [Global] to Global2

Help!
Thanks

JF



Feb 7 '07 #5
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Code-behind in global.asax is not the default any more
For web application projects it most certainly is the default...
Feb 7 '07 #6
re:
>Code-behind in global.asax is not the default any more
That statement stands, in its very precise meaning.

You can only make the code-behind in global.asax option
available by modifying the default installation of VS 2005.

re:
For web application projects it most certainly is the default...
That is true, but is true *only* for VS with WAP installed
as an additional option...or WAP installed with VS SP1.

To make the point clearer, compare to the "designer.cs" files which WAP uses.
Would you say that they are a default feature in VS 2005 ?

However, WAP *is* a default feature in Visual Studio SP1.
I wish WDP had been included in it, too.


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/
===================================
"Mark Rae" <ma**@markNOSPAMrae.comwrote in message news:%2****************@TK2MSFTNGP04.phx.gbl...
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>Code-behind in global.asax is not the default any more
For web application projects it most certainly is the default...

Feb 7 '07 #7
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
That is true, but is true *only* for VS with WAP installed
as an additional option...or WAP installed with VS SP1.
Fair comment.
However, WAP *is* a default feature in Visual Studio SP1.
I wish WDP had been included in it, too.
Oh yes - me too!
Feb 7 '07 #8
JF
I'm not sure what WAP is but we've never had any code in the Global
file or even the Global namespace.

That said, if you note in my initial post I *did* remove this file and
I still get *apparent* pathing problems with images and lots of build
errors with my server controls. It is kind of behaving like it can't
see the designer.vb files that containe the server side asp
controls. Do the designer files have to appear as a dependant file
(child node) or can they show up in the solution underneath (sibiling
node) to the ascx files?

Feb 7 '07 #9
re:
I'm not sure what WAP is
Do the designer files have to ...
Question for you :

Since *.designer.cs and *.designer.vb files are *only* created by WAP,
how come you are not sure what WAP is ?

How did you install WAP ?
As the add-in...or as part of VS 2005 SP1 ?


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/
===================================
"JF" <th********@hotmail.comwrote in message
news:11**********************@m58g2000cwm.googlegr oups.com...
I'm not sure what WAP is but we've never had any code in the Global
file or even the Global namespace.

That said, if you note in my initial post I *did* remove this file and
I still get *apparent* pathing problems with images and lots of build
errors with my server controls. It is kind of behaving like it can't
see the designer.vb files that containe the server side asp
controls. Do the designer files have to appear as a dependant file
(child node) or can they show up in the solution underneath (sibiling
node) to the ascx files?

Feb 7 '07 #10
JF
First, Thanks for taking the time on this with me!

Here's what I have in my Help/About

"Microsoft Web Application Projects 2005 Version 8.0.50727.762"
and
"Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack
1 (KB926601) "

I didn't install anything as an "add-on", but I did install the
service pack before converting my project. I wasn't sure that you
meant "Web Application Projects". I guess this is the what they call
the new IDE for ASN.NET stuff. (?)

Also, FYI I'm using "Version: 5.1" of IIS.

Does the installation method of WAP affect it's ability to convert
projects with their paths intact?

On Feb 7, 1:40 pm, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
re:
I'm not sure what WAP is
Do the designer files have to ...

Question for you :

Since *.designer.cs and *.designer.vb files are *only* created by WAP,
how come you are not sure what WAP is ?

How did you install WAP ?
As the add-in...or as part of VS 2005 SP1 ?

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/
Feb 7 '07 #11
re:
I didn't install anything as an "add-on"
Are you sure?

Check out the "SP1 release notes" KB :
http://support.microsoft.com/kb/928957

"Uninstallation of Visual Studio 2005 Web Application Projects required:

Follow these steps to install Visual Studio 2005 SP1 if you
have Visual Studio 2005 Web Application Projects installed:

1. Uninstall the Visual Studio 2005 Web Application Projects
( http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx ) add-in.

2. Install Visual Studio 2005 SP1."

You *must* uninstall WAP before uninstalling SP1.

There's also *other* issues with SP1 which you should familiarize yourself with.
Read that SP! release notes KB page...

re:
I guess this is the what they call the new IDE for ASP.NET stuff. (?)
Not quite.
It's a compilation model which is similar to what VS 2003 did.

re:
Does the installation method of WAP affect its ability
to convert projects with their paths intact?
Not sure, but if WAP was installed before SP1 is installed,
WAP must be uninstalled before SP1 is installed.


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/
===================================
"JF" <th********@hotmail.comwrote in message
news:11*********************@l53g2000cwa.googlegro ups.com...
First, Thanks for taking the time on this with me!

Here's what I have in my Help/About

"Microsoft Web Application Projects 2005 Version 8.0.50727.762"
and
"Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack
1 (KB926601) "

I didn't install anything as an "add-on", but I did install the
service pack before converting my project. I wasn't sure that you
meant "Web Application Projects". I guess this is the what they call
the new IDE for ASP.NET stuff. (?)

Also, FYI I'm using "Version: 5.1" of IIS.

Does the installation method of WAP affect it's ability to convert
projects with their paths intact?

On Feb 7, 1:40 pm, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
re:
I'm not sure what WAP is
Do the designer files have to ...

Question for you :

Since *.designer.cs and *.designer.vb files are *only* created by WAP,
how come you are not sure what WAP is ?

How did you install WAP ?
As the add-in...or as part of VS 2005 SP1 ?

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/


Feb 7 '07 #12
re:
You *must* uninstall WAP before uninstalling SP1.
Aaargh!

That should have been :
You *must* uninstall WAP before installing SP1.
Sorry...

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/
===================================
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OA**************@TK2MSFTNGP03.phx.gbl...
re:
>I didn't install anything as an "add-on"

Are you sure?

Check out the "SP1 release notes" KB :
http://support.microsoft.com/kb/928957

"Uninstallation of Visual Studio 2005 Web Application Projects required:

Follow these steps to install Visual Studio 2005 SP1 if you
have Visual Studio 2005 Web Application Projects installed:

1. Uninstall the Visual Studio 2005 Web Application Projects
( http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx ) add-in.

2. Install Visual Studio 2005 SP1."

You *must* uninstall WAP before uninstalling SP1.

There's also *other* issues with SP1 which you should familiarize yourself with.
Read that SP! release notes KB page...

re:
>I guess this is the what they call the new IDE for ASP.NET stuff. (?)

Not quite.
It's a compilation model which is similar to what VS 2003 did.

re:
>Does the installation method of WAP affect its ability
to convert projects with their paths intact?

Not sure, but if WAP was installed before SP1 is installed,
WAP must be uninstalled before SP1 is installed.


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/
===================================
"JF" <th********@hotmail.comwrote in message
news:11*********************@l53g2000cwa.googlegro ups.com...
First, Thanks for taking the time on this with me!

Here's what I have in my Help/About

"Microsoft Web Application Projects 2005 Version 8.0.50727.762"
and
"Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack
1 (KB926601) "

I didn't install anything as an "add-on", but I did install the
service pack before converting my project. I wasn't sure that you
meant "Web Application Projects". I guess this is the what they call
the new IDE for ASP.NET stuff. (?)

Also, FYI I'm using "Version: 5.1" of IIS.

Does the installation method of WAP affect it's ability to convert
projects with their paths intact?

On Feb 7, 1:40 pm, "Juan T. Llibre" <nomailrepl...@nowhere.comwrote:
>re:
I'm not sure what WAP is
Do the designer files have to ...

Question for you :

Since *.designer.cs and *.designer.vb files are *only* created by WAP,
how come you are not sure what WAP is ?

How did you install WAP ?
As the add-in...or as part of VS 2005 SP1 ?

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/



Feb 8 '07 #13
JF
Well, I reviewed what we isntalled, here's what we did:

Installed VS2005
Installed "Update to the Web Project Conversion Wizard",
installed VS 2005 SP1 from the web site.
Converted project.

So, that's one reason why I didn't recognize WAP when you mentioned it
because I didn't install it in my steps.

Perhaps I'll unisntall it all and try the process all over and see at
which point "WAP" shows up in the help about.

Could it be that WAP has been included in SP1? From the release notes
it doesn't really sound like it, but maybe?

Feb 8 '07 #14
re:
Could it be that WAP has been included in SP1?
Yes, it is included in SP1.

See this blog entry by a member of the C# team:
http://blogs.msdn.com/charlie/archiv...-sp1-beta.aspx

Don't worry about the fix mentioned in Scott Guthrie's blog.
That was fixed in the release version.

The issue is that, if you installed WAP from the standalone setup files,
you must uninstall it before applying Visual Studio SP1.

If you don't uninstall WAP before installing SP1, you'll have all sorts of problems,
just like the one you described in you original post. :-(

re your latest post, I notice this
Installed "Update to the Web Project Conversion Wizard",
Is that this one ?
http://www.microsoft.com/downloads/d...DisplayLang=en
....which corresponds to this KB :
http://support.microsoft.com/kb/898904

?

Or, was it this one :
http://msdn2.microsoft.com/en-us/asp.net/aa336618.aspx

If it was the latter one, you also need to install an update
( unless you uninstalled WAP and installed VS SP1 ) :

That update is at :
http://www.microsoft.com/downloads/d...displaylang=en

Again, if you installed WAP but didn't uninstall it before installing SP1,
you need to uninstall both WAP and SP1 and reinstall SP1.

Also, you'll do well to check out the list of fixes and hotfixes included in VS 2005 SP1:
http://bloggingabout.net/blogs/mglas...-Hotfixes.aspx

The very first one says that the "Update to the Web Project Conversion Wizard"
*and* the WAP update ( http://support.microsoft.com/kb/915364 ) are included in SP1.

Also, take notice that installing the WAP update if you haven't installed the WAP add-in does
nothing.

At this point, if I were you, I'd nuke both VS 2005 SP1 and VS 2005 and reinstall VS 2005 and SP1.
You'll be covered if you do that...and you won't have to bother adding any add-ins or updates.


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/
===================================
"JF" <th********@hotmail.comwrote in message
news:11**********************@v45g2000cwv.googlegr oups.com...
Well, I reviewed what we isntalled, here's what we did:

Installed VS2005
Installed "Update to the Web Project Conversion Wizard",
installed VS 2005 SP1 from the web site.
Converted project.

So, that's one reason why I didn't recognize WAP when you mentioned it
because I didn't install it in my steps.

Perhaps I'll unisntall it all and try the process all over and see at
which point "WAP" shows up in the help about.

Could it be that WAP has been included in SP1? From the release notes
it doesn't really sound like it, but maybe?

Feb 8 '07 #15
JF
Well, I did nuke VS2005. (SP1 wasn't showing as a seperate item in
add/remove) and re-installed it alone.

Before installing SP1 I checked and saw that WAP wasn't there however
there was a "Microsoft Visual Web Developer 2005".

I then installed SP1 and... (drumroll please), it STILL didn't work.
(WAP was added) I did not isntall anything else, just the main studio
and the sp1.

Since I've excluded global.*, now I just get many, many "Could not
Load Type..." for most of my ascx files (server controls). I'm still
inclined to think that it's a namespace problem, but there isn't
anywhere to set namespace for the "web" project. Also note that when
I right click on the "web" project in the solution explorer I don't
have a "Properties" option, instead I have "Property Pages".

Additionally I get "Name 'Common' is not declared." but there is a
"Common.vb" in the root of the project and the file starts like this:

"
Imports System.Threading
Imports System.Text.RegularExpressions
Imports System.IO
Imports <namespace>.BusinessLayer

Module Common
Public Const EditCondition As String = "EditCondition"
...."
Do any of these "clues" help point out what I may have done?
I think we'll probably just rebuild the project from scratch based on
the old files... but can VS2005 convert 1.1 to 2.0 on a file-by-file
basis?

Thanks


Feb 9 '07 #16
JF
We rebuilt the solution by hand (added the existing files) and it
seemed to work. I suspect that it may have been a .webinfo file or
some other stray file that was confusing VS.

Thanks everyone for the help with this!

JF
Feb 9 '07 #17

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

Similar topics

4
by: bingfeng | last post by:
I have some codes generated by perl, in which initialize some huge struct,such as PARA TOS_network_spantree_set_0_para_0 = { "vlan", emNUM, NULL, "", "configuration on a designated vlan",...
1
by: Tyson Zwicker | last post by:
Hi, I'm suddenly unable to run any ASP.net applications. Last week everything worked. But now (Mondays!) I get the same error from _every_ application I've written: Parser Error ...
1
by: heromull | last post by:
Here's what we did to resolve the Could not load type 'Namespace.Global' issue... the setup: asp.net app, iis 6, home directory is a share located on another computer. our solution: ymmv...
4
by: Matty | last post by:
I have successfully written a couple of Web services that work fine on my localhost so this is not a security issue. My problem only arises when I set the Root Namespace of a Web service to...
0
by: Sky | last post by:
Hi, Like many others, I've search the newsgroups and KB's and none quite seem to be the problem I am encountering. The problem is as follows: 1) I originally created an ASP.Net Web...
0
by: yashgt | last post by:
I have a web application which has two projects in one solution. The proper build order and dependencies have been set. The solution compiles and builds properly. But when I invoke any URL from the...
8
by: Rob T | last post by:
When I was using VS2003, I was able to compile my asp.net project locally on my machine and copy it to the production server and it would run just fine. I've now converted to VS2005. The project...
2
by: Andrus | last post by:
I'm trying to compile myGeneration PropertyCollectionAll.cs file with VCS Express 2005 bot got error Error 1 The type or namespace name 'Collection' could not be found (are you missing a using...
4
hemantbasva
by: hemantbasva | last post by:
We have designed an aspx page having five ajax tab in it. the data of first four are designed on page whereas for the fifth tab it renders a user control named MYDOMAIN. in the tab container's even...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.