![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2005
Posts: 5
Rep Power: 0
![]() |
Application Object not instantiaded error?
I'm getting an ...
"Object reference not set to an instance of an object. " on this line... Line 26: string ControlPath = "/" + Application["BaseHREF"].ToString() + "Controls/"; When I try to load my Web Application from a browser. This code is inside a class derived from System.Web.UI.Page which has a Application attribute (or whatever) . As far as I understand this attribute will be instatiated as long as there is one active Session of the Page . Any ideas why I get this error, am I missing something. |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Jan 2005
Posts: 5
Rep Power: 0
![]() |
never mind.
This was a dumb question. I assumed basehref was a default key in Application or something. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|