How to debug web application in IIS

Posted by Sunitajadhav under IIS on 6/2/2010 | Views : 2357 | Status : [Member] | Replies : 4
Hey guys,
I have developed web application & deployed on IIS.I browse my application through virtual directory it opens . there are some html controls (html input button ,text box etc) on web form when i click on control (html input type button) it navigates to another page but does not show any output.Here i m giving code.I m calling some method "CriticalPathMethod" from some class .I show output of CriticalPathMethod on CPMReport.aspx page.It goes on CPMReport.aspx page but does not show any output on that.
What should i do? Plz Help me.

protected void ButtonCPM_ServerClick(object sender, EventArgs e)
{
ProjectList t_ProjectListObj = (ProjectList)Application["t_ProjectListObj"];
ResourceList t_ResourceListObj = (ResourceList)Application["t_ResourceListObj"];

string t_ScheduleStatus = "";
string t_PrjSting = "LoadProject";
LabelStatus.Text = "";

t_ScheduleStatus = t_ProjectListObj.CriticalPathMethod("",m_ProjectName);
if (t_ScheduleStatus.StartsWith("ERR:"))
LabelStatus.Text += t_ScheduleStatus;
else
{
Session["t_ModelID"] = m_ModelID;
Session["t_ProjectString"] = t_PrjSting;
Response.Redirect("CPMReport.aspx",false);
}
}

Thanks in advance.




Responses

Posted by: Vuyiswamb on: 6/2/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Good Day Sunitajadhav

You called the Function CriticalPathMethod() and it returns a string

t_ScheduleStatus = t_ProjectListObj.CriticalPathMethod("",m_ProjectName);


and you are assigning some variables to Session variables , and you redirect the page , but do you want to output the string t_ScheduleStatus on the redirect page(CPMReport.aspx) ?

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sunitajadhav on: 6/3/2010 [Member] Starter

Up
0
Down
Hey Vuyiswamb ,
I dont want to show "t_ScheduleStatus" output on CPMReport.aspx page. I show another ouput from some class on "CPMReport.aspx" page.when i run this application on local internal web browser it shows an output on that page but i open from virtual directory it does not show any output on that page.
what should i do? Plz help me.

Thanks
Sunita Jadhav

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 6/3/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
The Problem is that you dont give me enough information to help you. What is it that is supposed to show as an output. what is the function or code that is responsible for that

Thank you for posting at Dotnetfunda
[Administrator]

Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Deeraj on: 6/4/2010 [Member] Starter

Up
0
Down
Please paste the code that you have in page_load() event of your CPMReport.aspx page.

Also, notice, your Application level variables and local variables have the same name below. This is a bad practice. Try changing naming convention.
ProjectList t_ProjectListObj = (ProjectList)Application["t_ProjectListObj "];


Sunitajadhav, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response