UserControl Error

M

^MisterJingo^

I have built a website containing a user control, and it works fine
when I run it through VS2005 internal weberver. But as soon as I
publish it to the net, I get the following error:

Exception Details: System.NullReferenceException: Object reference not
set to an instance of an object.

Source Error:


[No relevant source lines]


I've commented out all code in the usercontrol and it still happens, so
it seems it cannot find it.
The uc is contained within the file and not compiled. Is this causing
the problem? If so, why does it work locally through the inbuilt
webserver but not on a live server?

Any help would be appreciated.
 
J

Jon Paal

sounds like it can't find it .. possibly a path problem

post some code so others can help..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top