I have an ASP.net (VB.net) web page which uses an include file and an xml file.
I called the page "default_.aspx" whilst I was making changes, and the xml file "products_.xml". The include file is called "rightcol.ascx". I amended the code as I needed, and it all works fine.
Then to make the page live on my web site I renamed them to "default.aspx" and "products.xml". The include file's name is left unchanged.
But then it produces an "Object reference not set to an instance of an object" error.
Why might this happen?
I called the page "default_.aspx" whilst I was making changes, and the xml file "products_.xml". The include file is called "rightcol.ascx". I amended the code as I needed, and it all works fine.
Then to make the page live on my web site I renamed them to "default.aspx" and "products.xml". The include file's name is left unchanged.
But then it produces an "Object reference not set to an instance of an object" error.
Why might this happen?