Hi,
Can somebody tell me why can't I use
string strPath = Server.MapPath( Request.Applica tionPath);
in
protected void Application_Sta rt(...)
It compiles ok but an unhandled exception occurred during the execution.
Exception Details: System.NullRefe renceException: 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.Applica tionPath);
in
protected void Application_Sta rt(...)
It compiles ok but an unhandled exception occurred during the execution.
Exception Details: System.NullRefe renceException: 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
Comment