K
Kian Goh
Hi,
Can somebody tell me why can't I use
string strPath = Server.MapPath(Request.ApplicationPath);
in
protected void Application_Start(...)
It compiles ok but an unhandled exception occurred during the execution.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
I have no problem using the above code in private void Page_Load(...)
Thanks,
Kian
Can somebody tell me why can't I use
string strPath = Server.MapPath(Request.ApplicationPath);
in
protected void Application_Start(...)
It compiles ok but an unhandled exception occurred during the execution.
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
I have no problem using the above code in private void Page_Load(...)
Thanks,
Kian