|
I am trying to open a web project and it do not open...
I have a solution which has two library projects abd one web project...
Both of the project opens but the visual studio can not open the web project
It says "the project of this type is not supported by installation".
Any idea??
Regards,
Pavas
|
|
|
|
|
Click on Help / About Microsoft Visual Studio and you will see a list of the installed products, if the Visual Web Developer product is not listed then you will not be able to open a web project.
|
|
|
|
|
Hello Thanks,
Below are the details of the products I have...
Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Professional
Microsoft Visual Basic 2005 77626-009-0000007-41326
Microsoft Visual Basic 2005
Microsoft Visual C# 2005 77626-009-0000007-41326
Microsoft Visual C# 2005
Microsoft Visual C++ 2005 77626-009-0000007-41326
Microsoft Visual C++ 2005
Microsoft Visual J# 2005 77626-009-0000007-41326
Microsoft Visual J# 2005
Microsoft Visual Web Developer 2005 77626-009-0000007-41326
Microsoft Visual Web Developer 2005
Regards,
Pavas
|
|
|
|
|
Have you configured the web project folder in IIS?
If you are not using IIS for development then try to open the via File / Open / Web Site and browsing to the folder. You can then add the other projects to the solution.
|
|
|
|
|
Yes I did it.. I am able to add the website and the other two solutions.
But they give some errors of missing references.
So does this proves that: My VS 2005 has the ability to open all the projects I had...
I have been suggested to open the whole stuff as a project...
Regards,
Pavas
|
|
|
|
|
I think they are different
<a href="http://www.dotnetspider.com/kb/Article3956.aspx">http://www.dotnetspider.com/kb/Article3956.aspx</a>[<a href="http://www.dotnetspider.com/kb/Article3956.aspx" target="_blank" title="New Window">^</a>]
Regards,
Pavas
|
|
|
|
|
Hi all,
I am working in ASP. and new to .NET.i have one clarification, can we reuse ASP code in ASP.net???
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
What code you are planning to reuse ? Usually it's not possible or not a good idea, you will mess up things.
|
|
|
|
|
the htm and jscripts.....
if u can suggest , what code can be reused ?????
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
HTML and Javascript can be re-used. It has no dependencies with ASP/ASP.NET.
|
|
|
|
|
can ASP code be reused.????
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
If you're a serious sadist then probably.
If you value your sanity just port the important bits over to .NET
|
|
|
|
|
Hi all
I am new to .net. I am dynamically adding Dropdownlist in my form. But i dont do this in (!Postback) event as i want this control to be added even if the Page Postbacks. But now whenever Page PostBacks DropDownList Selected Index is set to 0. So can someone tell me how to solve this problem..
|
|
|
|
|
You want the dropdownlist to populate on page load dont you?try that
|
|
|
|
|
Ya i want it to populate in pageload. I have done that but the problem is that everytime page loads , Dropdownlist selected index is set to 0. I want to laod this contol everytime page loads but also want to get its selected value. How can i do dat...
|
|
|
|
|
hai
I want to upload a large file in asp.net 2.0.
code:
FileInfo fInfo = new FileInfo(filename);
long numBytes = fInfo.Length;
FileStream fStream = new FileStream(filename,
FileMode.Open, FileAccess.Read);
BinaryReader br = new BinaryReader(fStream);
byte[] data = br.ReadBytes((int)numBytes);
br.Close();
MemoryStream ms = new MemoryStream(data);
FileStream fs = new FileStream(Server.MapPath("~/TargetFolder/") + fInfo.Name, FileMode.Create);
ms.WriteTo(fs);
ms.Close();
When I upload a file [File SIZE :85 MB], it shows
"Insufficient system resources exist to complete the requested service"
Anyone known about this, help me
Thanks in Advance
|
|
|
|
|
Hi All,
Iam using OWC10 component for creating PIE Chart. While creating Pie chart, values are overlapping.
Is it possible to specify the values with line kind of thing?
Thanks.
Thanks & Regards
Kumaran
|
|
|
|
|
Yes, that IS a sad face...
What I want to try and do is to stop a button from posting, and therefore stop refreshing the page.
Is this possible?
(And yes, it HAS to be an <asp:button )<br="" mode="hold">
Weird Question, I know :p
|
|
|
|
|
Yes.
myButton.Attributes.Add("onclick", "return false;")
will run the javascript there on the client click and stop the postback.
|
|
|
|
|
Hi,
I want to copy one datareader dr to another datareader dr1.
I am using while loop to get one by one value from dr
and I want to copy into dr1.
How can I do this.
Thanks
|
|
|
|
|
|
I am binding dr1 to datalist in which image will be there.
I am fetching one by one record from the database where while loop is there and then depending upon that value it taken from the database as dr1 and then I am binding to the datalist dgBindImage.
But Datalist which contains images that display last image.
That overwrite the previous one.
So I want to add or copy dr1 to another dr2 so that direct whole dr2 can be bind to datalist.
cmd = new SqlCommand("SELECT * from Product_price where category_id=" + CatID, cn);
cn.Open();
dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
string PID = dr["product_id"].ToString();
cmd1 = new SqlCommand("SELECT * from t_Product where product_id=" + PID, cn1);
cn1.Open();
dr1 = cmd1.ExecuteReader();
SqlDataReader myReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
dr1.Close();
cn1.Close();
}
dgBindImage.DataSource = dr1;//dgBindImage is Datalist
dgBindImage.DataBind();
}
|
|
|
|
|
I presume this is in relation to your previous post.
Try setting the CommandBehavior on the inner DataReader:
SqlDataReader myReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
|
|
|
|
|
Thanks for the information.But
The Problem is like below
I am binding dr1 to datalist in which image will be there.
I am fetching one by one record from the database where while loop is there and then depending upon that value it taken from the database as dr1 and then I am binding to the datalist dgBindImage.
But Datalist which contains images that display last image.
That overwrite the previous one.
So I want to add or copy dr1 to another dr2 so that direct whole dr2 can be bind to datalist.
cmd = new SqlCommand("SELECT * from Product_price where category_id=" + CatID, cn);
cn.Open();
dr = cmd.ExecuteReader();
if (dr.HasRows)
{
while (dr.Read())
{
string PID = dr["product_id"].ToString();
cmd1 = new SqlCommand("SELECT * from t_Product where product_id=" + PID, cn1);
cn1.Open();
dr1 = cmd1.ExecuteReader();
SqlDataReader myReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
dr1.Close();
cn1.Close();
}
dgBindImage.DataSource = dr1;//dgBindImage is Datalist
dgBindImage.DataBind();
}
|
|
|
|
|
The line of code from my previous post was a demonstration of how to set a CommandBehavior on the ExecuteReader method. Copying and pasting it directly into your code in this way will have no effect. You need to apply it to your datareader.
To solve your problem with overwriting the previous image, you need to create a new dgBindImage control for each iteration of the loop. You can do this by nesting it inside another list control and calling your code inside the row data bound event of the list control.
|
|
|
|