I have installed visual studio 2003 on my computer.When trying to run an application it gives me error message that unable to start debugging on web server this project is not configured to be debugged.I have installed IIS on my computer but it still gives me this error.What could be the reason behind this is it the IIS.What are the steps that i can take to resolve this error.Also one more thing that when initially i tried loading project in it i was asked for a conversion to the required format using visual studio conversion wizard.Originally the project was developed in visual studio 2003.
shylock1
Posts
-
Problems with visual studio 2003 -
DNS Error Server Cannot be Found in asp.netI have developed a project in asp.net using vb.net for coding.Earlier the project was working fine but now it is displaying the error 'DNS Error Server Cannot be Found in asp.net'.Actually the flow is like there is a login page,menu page and then a gridview page.What i did is that i dropped the table which was the source for the data in the gridview and then i recreated it.Since then all the earlier pages which are login page,menu page and even the gridview page show this error.However,the other pages in the project seem to be loading fine.Another thing is that this error occurs on page load.All these pages are physically present in the project directory but still it shows page cannot be found.I have developed this project in Visual Studio 2003
-
Problem with crystal reportsI want to display a crystal report using two tables from sql server but when report loads only header fields are visible no data is getting displayed.I have a textbox and a button on the page.After clicking on the button report should be displayed.RollNo is entered in the box and is common to both the tables.Here is the code:- using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; using CrystalDecisions.CrystalReports; using CrystalDecisions.ReportSource; using CrystalDecisions.Web; using CrystalDecisions.CrystalReports.Engine; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { SqlConnection con = new SqlConnection(); con.ConnectionString = "data source =SHYLOCK2E935FD7F\\SQLEXPRESS;Initial catalog=StudentDetails ;Integrated Security =true"; } protected void btnShow_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(); con.ConnectionString = "datasource=SHYLOCK2E935FD7F\\SQLEXPRESS;Initial catalog=StudentDetails ;Integrated Security =true"; SqlCommand cmd = new SqlCommand(); cmd.Connection = con; cmd.CommandType = CommandType.Text; cmd.CommandText = "select c.RollNo,c.StudentName,c.Department,p.feetype,p.amount from studentheader c INNER JOIN studentdetails p on p.Rollno=c.Rollno where c.Rollno=" + TextBox1.Text + ""; DataSet ds = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(); da.SelectCommand = cmd; da.Fill(ds); con.Close(); ReportDocument CrystalReport = new ReportDocument(); string reportPath = Server.MapPath("CrystalReport.rpt"); CrystalReport.Load(reportPath); CrystalReport.SetDataSource(ds); CrystalReportViewer1.ReportSource = CrystalReport; CrystalReportViewer1.DataBind(); } }