473,385 Members | 2,243 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.

Renamed namespace and got parser error

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
2 1090
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: SenthilSS | last post by:
My application produces XML Data files which have XML namespace qualified XML elements (nodes), but the namespace itself is not declared in the data file. My task is to read these data files in a...
6
by: Robert Warnestam | last post by:
I've two class libraries, where one is referencing the other. The first library looks like this; (assembly name and root name space is set to Codab.Parser) namespace Codab.Parser { public class...
4
by: John Holmes | last post by:
I'm using data to rename some web controls on a form that uses a repeater contol and so it can have mulitple instances of the same control set. The controls get renamed (thanks to Steven Cheng's...
29
by: Natan | last post by:
When you create and aspx page, this is generated by default: using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using...
4
by: dhnriverside | last post by:
HI guys I've just written my first independent namespace for my library (yay me!). However, on trying to add it to my website project, it causes an error when I look at the website. It compiles...
4
by: Brent White | last post by:
The aspx file was originally default.aspx, but I'm putting some other aspx files in that same virtual directory and I want to give it a more meaningful name. I renamed default.aspx in the IDE to...
1
by: toton | last post by:
Hi, Is it possible to have a class level namespace opening instead of file level . Something like this, I have a long namespace like namespace com { namespace my_company{ namespace...
3
by: toton | last post by:
Hi, Is it possible to have a class level namespace opening instead of file level . Something like this, I have a long namespace like namespace com { namespace my_company{ namespace...
2
by: yllanger | last post by:
Hi guys, I have come yet again to ask another question. :D The scenario is like this. Using Parser; namespace Crawler { public void Main() {
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
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
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...

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.