By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,203 Members | 1,401 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,203 IT Pros & Developers. It's quick & easy.

Renamed namespace and got parser error

P: n/a
Ian
Hi there,

I have a small app and i just went into the code behind and renamed the name
space.,.. from myapp to mycompleteapp and now its giving me parser errors
about

Could not load type mycompleteapp.login

login is my webform ... i looked in all the hidden places and everything
seems to have updated correctly..

I haven't changed the virtual directory on IIS location....

I suppose I can build it again, it wasn't like the longest app in the world
but it would be nice to know why it happended..

Maybe I messed up, any ideas??

Maybe I changed the namespace incorrectly

Ian
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
The issue seems to be quite simple. Check your .aspx or .ascx file and make
sure each file inherits (loads) the correct type.

"Ian" <ia*********@hotmail.com> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
Hi there,

I have a small app and i just went into the code behind and renamed the name space.,.. from myapp to mycompleteapp and now its giving me parser errors
about

Could not load type mycompleteapp.login

login is my webform ... i looked in all the hidden places and everything
seems to have updated correctly..

I haven't changed the virtual directory on IIS location....

I suppose I can build it again, it wasn't like the longest app in the world but it would be nice to know why it happended..

Maybe I messed up, any ideas??

Maybe I changed the namespace incorrectly

Ian

Nov 18 '05 #2

P: n/a
Namespaces are case sensitive, make sure you have consistent case between
the code-behind namespace and the reference in the .aspx page..

"Ian" <ia*********@hotmail.com> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
Hi there,

I have a small app and i just went into the code behind and renamed the name space.,.. from myapp to mycompleteapp and now its giving me parser errors
about

Could not load type mycompleteapp.login

login is my webform ... i looked in all the hidden places and everything
seems to have updated correctly..

I haven't changed the virtual directory on IIS location....

I suppose I can build it again, it wasn't like the longest app in the world but it would be nice to know why it happended..

Maybe I messed up, any ideas??

Maybe I changed the namespace incorrectly

Ian

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.