Showing posts with label web. Show all posts
Showing posts with label web. Show all posts

Thursday, March 29, 2012

Please answer this question

Please answer this question
You are troubleshooting a deployed Web application and need to change the element to enable tracing on the page. You modify the Web.config file for the application. Which statements correctly describe when the change will be applied and its impact on current users? (Select all that apply.)
0 Current users will be immediately disconnected from the application.
0 Current users will be given a five-minute warning before the Web application is restarted.
0 State data stored in the Application object will be maintained.
0 State data stored in the Session object will be lost.
0 The Web application will be restarted and the configuration file will be read immediately.

Getting others to take your test (or do your homework) for you I see...
tisk tisk.

1) True, but they wont know it till they make a request again.
2) false
3) false
4) false
5) false. It will be "read" on the next request.

Please get me started with a Web Shop application

I am a software developer doing ASP.NET work to gain experience.

Now I am looking at a relatively low budget Web Shop application.

Guess I should start with some kind of framework?

Should I go Nuke? Or is the portal concept not relevant for a single application?

IBuySpy store? Or is that more of a reference implementation?

Is there some standard way to exchange information with other applications like accounting programs etc?

This is in Europe, €s only, English only, international shipping, manual credit-card processing.Hello, you may want to start with IBYStore which which will give you a good experience in the field of ecommerce. Then after this, you would have gained good experience,you may start thinking of ther advanced possiblr solutions.

best of luck.
It is for experience, but also I cant bind up a lot of time in the project, and I need to create a relatively OK site!

Also it should be easy to administer. I need to create a way so that he can configure menus, also with his present solution he can just edit an Access DB with the product information and drop it on the server.

I am not so sure IBS is so easy to use from the administrators point of view, and that it easy to make these kind of modifications in IBS?

Another question: How much would you guys charge (Money/Days) for a project like this? (Say a store based on IBS with some modifications?) I guess people who do this usually do a lot of very similar projects of a few days/weeks, so they would be able to do it very fast?
IBS is open source, so you can modify if you understand the source. It might take a while before you do so...
Hi,

The cost and time span is based on the complexity of the web-site.

It can be calculated by the effort required to build (effor in man/hours).

hope u get it.

Monday, March 26, 2012

Please guys, help me out !

Guys,
I have a very very basic user control which is
txtEmail
txtPassword
btnLogIn
I'm working on flowlayout mode...i created a complete web page...it collects some data from the user...and finally added aSubmit button.. the page is working perfect...when u click Sumit...as we know..the page will be sumitted...then...i added my very very basic user control at the left of the page ( tables and cells and that stuff) ...run the page...click the Sumbit button (that was working one minute ago) and nothig happens...i tried EVERY THING...and nothing happened...i dont know why the button click event is not being fired !!!
everything is ok...the event handler exists...it is wired wiht on click event in intitalize component function...everything everything is Ok
I'm using VS.NET 2003 (ASP.NET 1.1)
Please guys help me asap
Thanks in advancecan you post some code please...
HTML and code behind
Thanks
Leketje
Please check whether you have handles the IsPostBack event.
The User Control
================
HTML
(%@. Control Language="c#" AutoEventWireup="false" Codebehind="Search.ascx.cs" Inherits="Controls.SearchbyName" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %)
(HTML)
(HEAD)
(LINK media="all" href="http://links.10026.com/?link=Controls\ControlsStyles.css" type="text/css" rel="stylesheet")
(/HEAD)
(body)
(form name="frmMain")
(table cellSpacing="0" cellPadding="0")
(tr)
(td)
(TABLE cellSpacing="0" cellPadding="0")
(TR)
(TD style="PADDING-LEFT: 4px" vAlign="top")
(asp:TextBox id="txtEmailAddress" Runat="server" Width="120px" CssClass="SRTextBox")(/asp:TextBox) (/TD)
(/TR)
(tr)
(TD style="PADDING-LEFT: 4px" vAlign="top" align="left")
(asp:TextBox id="txtPassword" Runat="server" Width="60px" CssClass="SRTextBox" TextMode="Password")(/asp:TextBox)
(/TD)
(/TR)
(TR)
(TD class="LeftPanelButton" style="PADDING-LEFT: 38px; PADDING-BOTTOM: 5px" align="right" colSpan="2")
(asp:Button id="btnLogin" Runat="server" Text="Login")(/asp:Button)
(/TD)
(/TR)
(/TABLE)
(/td)
(/tr)
(/table)
(/form)
(/body)
(/HTML)

Code Behind

namespaceMyNameSpace.Controls

{

using System;

using System.Data;

using System.Drawing;

using System.Web;

using System.Web.UI.WebControls;

using System.Web.UI.HtmlControls;

///<summary>

/// Summary description for SearchbyName.

///</summary>

publicclass SearchbyName : System.Web.UI.UserControl

{

protected System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;

protected System.Web.UI.WebControls.TextBox txtPassword;

protected System.Web.UI.WebControls.Button btnLogin;

protected System.Web.UI.WebControls.TextBox txtEmailAddress;

protected System.Web.UI.WebControls.TextBox txtName;

privatevoid Page_Load(object sender, System.EventArgs e)

{

if(!IsPostBack)

{

}

}

#region Web Form Designer generated code

overrideprotectedvoid OnInit(EventArgs e)

{

//

// CODEGEN: This call is required by the ASP.NET Web Form Designer.

//

InitializeComponent();

base.OnInit(e);

}

///<summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

///</summary>

privatevoid InitializeComponent()

{

this.btnLogin.Click +=new System.EventHandler(this.btnLogin_Click);

this.Load +=new System.EventHandler(this.Page_Load);

}

#endregion

privatevoid btnLogin_Click(object sender, System.EventArgs e)

{

Response.Write("Help me please");

}

}

}

The web page
===========
HTML
(%@. Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="WebApplication2.WebForm1" %)
(%@. Register TagPrefix="uc1" TagName="Search" src="http://pics.10026.com/?src=Search.ascx" %)
(!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" )
(HTML)
(HEAD)
(title)WebForm1(/title)
(meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1")
(meta name="CODE_LANGUAGE" Content="C#")
(meta name="vs_defaultClientScript" content="JavaScript")
(meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5")
(/HEAD)
(body)
(form id="Form1" method="post" runat="server")
(table)
(tr)
(td)
(uc1:Search id="Search1" runat="server")(/uc1:Search)
(/td)
(/tr)
(tr)
(td)
(asp:Button id="Button1" runat="server" Text="Button")(/asp:Button)
(/td)
(/tr)
(/table)
(/form)
(/body)
(/HTML)

Code Behind

using System;

using System.Collections;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Web;

using System.Web.SessionState;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.HtmlControls;

namespace WebApplication2

{

///<summary>

/// Summary description for WebForm1.

///</summary>

publicclass WebForm1 : System.Web.UI.Page

{

protected System.Web.UI.WebControls.Button Button1;

privatevoid Page_Load(object sender, System.EventArgs e)

{

// Put user code to initialize the page here

}

#region Web Form Designer generated code

overrideprotectedvoid OnInit(EventArgs e)

{

//

// CODEGEN: This call is required by the ASP.NET Web Form Designer.

//

InitializeComponent();

base.OnInit(e);

}

///<summary>

/// Required method for Designer support - do not modify

/// the contents of this method with the code editor.

///</summary>

privatevoid InitializeComponent()

{

this.Button1.Click +=new System.EventHandler(this.Button1_Click);

this.Load +=new System.EventHandler(this.Page_Load);

}

#endregion

privatevoid Button1_Click(object sender, System.EventArgs e)

{

}

}

}

================
I'm sorry for that HTML Crap...it seems i cant use the editor here !!!
Thanks in advance


Deepasmi, thanks...but the point is ...there is no post back !!!
i'm not waiting the button to do something and it didnt...no...the event is not fired at all !!
thanks

The reason why your button doesn't work is because you are including the <html> tags in your user control again...
The main idea of a user control is to create a HTML template with code behind to be included in the main page which already contains the <HTML><HEAD><BODY> and <FORM> tags.
Remove those tags in your user control and your button should work again.
Good Luck
Leketje


Thanks...thanks ...thanks :D:D:D...thaks Leketje...i passed more than 10 hours trying everything...again..thanks :)

Please help

Hello All,
One of the web forms in my application starts to scroll in the VS.NET
IDE. This started only after installing the IEWebControls and using it
in the web form. But if i try to reference the IEWebControls DLL from
other projects it seems fine. What should i do? The other developers
are not having problems.
Sumanaif "others" are not having this issue then it's your machine most likely.
Reinstall VS would be my bet

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com

"Sumana" <sumana36@.hotmail.com> wrote in message
news:1a2d8da3.0401291334.1b13ee23@.posting.google.c om...
> Hello All,
> One of the web forms in my application starts to scroll in the VS.NET
> IDE. This started only after installing the IEWebControls and using it
> in the web form. But if i try to reference the IEWebControls DLL from
> other projects it seems fine. What should i do? The other developers
> are not having problems.
> Sumana

Please Help

I am writing a guest book for a web page that I am developing at the moment. The guest book is kept in an access database.

I can get the data out alright and display it, however the problem occurs when the user goes to add a comment.

Everything works fine. The user puts all the info in and then clicks on the submit button. It seems that it works. But when the page refreshes the data is not there.

I think there must be something wrong with the add function.

Could some one please help me out as I am at the end of my witts.

The code is below. Cheers,

Public Function Add(ByVal Author As String, ByVal Email As String, _
ByVal Homepage As String, ByVal State As String, ByVal Comment As String) As Boolean
Dim sql As String = "INSERT INTO Comments (Author, Email, Homepage, State, Comment) "
sql += "VALUES (@dotnet.itags.org.Author, @dotnet.itags.org.Email, @dotnet.itags.org.Homepage, @dotnet.itags.org.State, @dotnet.itags.org.Comment)"
' create a new OleDbCommand and set its params
Dim myCmd As OleDbCommand = New OleDbCommand(sql, _Connection)
myCmd.Parameters.Add(New OleDbParameter("@dotnet.itags.org.Author", OleDbType.VarChar, 50))
myCmd.Parameters("@dotnet.itags.org.Author").Value = Author.Trim()
myCmd.Parameters.Add(New OleDbParameter("@dotnet.itags.org.Email", OleDbType.VarChar, 50))
myCmd.Parameters("@dotnet.itags.org.Email").Value = Email.Trim()
myCmd.Parameters.Add(New OleDbParameter("@dotnet.itags.org.Homepage", OleDbType.VarChar, 100))
myCmd.Parameters("@dotnet.itags.org.Homepage").Value = Homepage.Trim()
myCmd.Parameters.Add(New OleDbParameter("@dotnet.itags.org.State", OleDbType.VarChar, 50))
myCmd.Parameters("@dotnet.itags.org.State").Value = State.Trim()
myCmd.Parameters.Add(New OleDbParameter("@dotnet.itags.org.Comment", OleDbType.VarChar))
myCmd.Parameters("@dotnet.itags.org.Comment").Value = EncodeHTMLText(Comment.Trim())
Add = True
myCmd.Connection.Open()
Try
myCmd.ExecuteNonQuery()
Catch e As OleDbException
Add = False
Finally
myCmd.Connection.Close()
End Try
End FunctionHave you tried using ? instead of @.paramname:-

Dim sql As String = "INSERT INTO Comments (Author, Email, Homepage, State, Comment) "
sql &= "VALUES (?, ?, ?, ?, ?)"
I gave up and re wrote the form using ADODB. My code is below. If any one has any ways to improve please tell me.

Thankx for your help....

Dim rs As ADODB.Recordset
rs = New ADODB.Recordset()
rs.CursorType = ADODB.CursorTypeEnum.adOpenKeyset
rs.LockType = ADODB.LockTypeEnum.adLockOptimistic
rs.Open("Comments", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\webspace\myweb.com\db\Guestbook.mdb;Persist Security Info=False;", , , ADODB.CommandTypeEnum.adCmdTable)
rs.AddNew()
rs.Fields(1).Value = Author.Text
rs.Fields(2).Value = Email.Text
rs.Fields(3).Value = Homepage.Text
rs.Fields(4).Value = State.Text
rs.Fields(5).Value = Comment.Text
rs.Update()
rs.Close()
rs = Nothing

Please help

Hi there,
At the moment I'm part of a web development team who currently use Oracle Portal (Hate it) to develop in.
We're looking to move away from portal and want to use Visual Studio.NET. Personally I have a lot of knowledge in Visual Basic, so am hoping that the transition to .NET will be pretty straightforward.
How easy is it to develop in, and deploy web applications on a server that any client with a web browser can use?
Also it'll be connecting to an Oracle Database.
Sorry if the questions seem a bit vague but I haven't used .NET yet.
Thanks in advance.all what i can say that VS.NET is a powerful tools... it depends badically what you want to develop and you can then evaluate your skills ... easy and difficult apply to the person not to the VS.NET as the project might sound peice of cake for you and might sound impossible to me .....both of us are right !! i might be dump in this technology and you might be expert
it is better always to expand the nature of the work you want to acheive so you can get better respnse !! good luck and welcome to .NET world !
I have been using VS.Net for about 6 months now. It was the best move our compnay made. It made development faster and more efficient. Before I switched to .Net I had experience in VB6 and ASP.
I am now more comfortable with Asp.Net and C# than with my previous languages. The database you choose doesn't effect the difficulty of learning .Net, it is just a different connection string.
It may be frustrating trying to migrate but once you get it you'll never look back.

Please Help

Let me start by saying that this is a custom shopping cart application, built using Visual Web Developer with an SQL 2005 Express database. This is my first real project so most of these things are new to me. For the most part, everything works, you can log in, navigate around and whatever, but the process of adding products to your cart and viewing your cart seems just that bit too hard.

The database has Products, Categories, Manufacturers, Customers and Orders tables (you'll find out the important fields later) and a membership provider has been implemented to store user details in the Customers table, those being Name, Password and E-Mail along with an automatically incremented ID.

An "Administration" section has been set up to allow people to create and modify the products, categories and manufacturers. This generates a menu on the left hand side which has links to "~/Details.aspx?CategoryID={0}" which brings up a page with a GridView control showing information about every item that belongs to the category specified in the QueryString. In this GridView, the important columns are ProductID (which has a Label), Quantity (which has a TextBox) and Add (which has a Button).

In order to add products to a customer's cart, we must do the following, which is where it gets too complicated for me...
- get the user's CustomerName and corresponding CustomerID and enter that in the Orders table
- get the ProductID of the appropriate row (the one where the button was clicked)
- get the value from the Quantity of the appropriate row

For example, finding the CustomerName is easy...

Dim CustomerNameAs String = Context.User.Identity.Name

...but then finding the CustomerID of that user and using it as a parameter in SQL is too hard.

My only idea as far as the ProductID and Quantity goes was to make the "Add" button select the row, then find the information from the selected row.

Answering the above problems would also solve this one, but then when the user goes to view their cart, we have to filter the data to only show the orders with their CustomerID. Again, that means finding the CustomerName, then corresponding CustomerID, then saying "WHERE (Orders.CustomerID = *insert parameter here*).

If someone could help me figure out these issues it would be much appreciated.

Thanks.

Managed to fix the issue regarding the CustomerID and CustomerName, but it's not the nicest of solutions.

Dim UserAs String = Context.User.Identity.NameCustomerName.Text = User
Just takes a hidden TextBox, assigns it the value of the user's name and that's used as a ControlParameter. But, as above, there should be a cleaner way of doing this and besides, it only helps with the "View Cart" page, not adding items to your cart. This is because of the following clause in the SQL...

WHERE (Customers.CustomerName = @.CustomerName AND Orders.CustomerID = Customers.CustomerID)

...but the corresponding CustomerID is still needed for adding products.

Can somebody please help me out here?


It seems a "INSERT INTO...SELECT" statement is required, we're reading up on it at the moment and trying to get it working, but some assistance would still be welcome.

For example, what is the syntax for using "INSERT INTO...SELECT" to get values from another table, while also using parameters from the page in the same statement, something like this?

INSERT INTO Orders (CustomerID, ProductID, Quantity) VALUES ("SELECT CustomerID FROM Customers WHERE CustomerName = @.CustomerName", @.ProductID, @.Quantity)

Obviously, that's the wrong syntax, but it should help to understand what we're trying to do.


Made some progress here, managing to figure out the correct SQL statement (which is below if you're interested).

The problem is, we must use controls from the corresponding row of the GridView, according to which "Add" button was clicked. To do this, we thought it would be easy to just select the row and use GridView.Rows(GridView.SelectedIndex).FindControl and to an extent that works. However, with CommandName="Select" and OnClick="Add", the latter is fired first, which means that the row is not selected.

How can we get the row to be selected before the OnClick event is triggered?

Thanks.

"INSERT INTO [Orders] ([CustomerID], [ProductID], [Quantity]) SELECT [CustomerID], @.ProductID, @.Quantity FROM [Customers] WHERE ([CustomerName] = @.User)"

Please Help

Right to start off i have only been using asp.net a couple of days, i have some knowlage of vb and some html

my problem i`m using visual web developer 2005 and i have used the personal web site starter kit

now i have changed some of the page layouts and i want to upload it tothe web which i have done but with there being no index.html it willnot work i know this may sound a little stupid but i`m new to this andi wanted to put it on the web so i can experiment with it if any oneknows what i`m on about could you please help....thank you

also my web space supports .net so it saysif your framework is properly configured in your iis. Then iis will load the default.aspx as the main page when you access the website. So your web application should have a default.aspx. Or you can go to the inetmanager and the website property and change the default document under the documents tab to load to your main page
ASP.NET sites normally start up with a Default.aspx page. There is no need for Index.htm. ASP.NET sites use HTML for display within the .aspx page but they are two intirely different things.

I hope that this helps.
As Brian Parker indicated, most ASP.Net sites use Default.aspx as the starting page. It sounds like you have uploaded your web application to a shared hosting provider. Most include Default.aspx as one of several default documents that will be processed. I have sites on four different hosting providers. All have control panels which allow one to configure IIS properties or to manage IIS settings. Look for the Default Documents property. It should already include Default.aspx (as well as others such as Index.aspx, Index.htm, Index.html, etc.). If not, add Default.aspx to the list or comma delimited string. At the same time, verify that the .Net framework has been configured for the virtual directory into which the application has been loaded.

Please help - how to create a Printer Friendly web page...

Dear Experts,
I've got a trouble problem that I need your help. The scenario is the
following:

1) I need to add a "Print" button to my web page;
2) by clicking this button, the web page should be able to print out a
well-formatted web page (printer friendly ). That means, I need to adjust the
printing margins (left, top, right, bottom) programmatically.

I really have no idea on how to achieve this but I know this is a very
typical scenario. Could you please give me some advices? Please help.

Thanks a lot.
TiggerAs long as the targetted browser is IE >= 5 you can use the onbeforeprint
and on afterprint events in javascript
(I found this out yeterday)
I wrote the code below to hide a print button and decrease the width when
the document is printed
Hope this helps,
mortb

<head>
<script language="javascript">
var originalWidth;
function window.onbeforeprint()
{
originalWidth = document.getElementById('_tblResult').style.width;
document.getElementById('_tblResult').style.width = '625px';
document.getElementById('_btnPrint').style.display = 'none';
}
function window.onafterprint()
{
document.getElementById('_tblResult').style.width = originalWidth;
document.getElementById('_btnPrint').style.display = 'inline';
}
</script>
</HEAD
"Tigger" <Tigger@.discussions.microsoft.com> wrote in message
news:C2D9F1F1-954D-448A-A201-BAAA332C866E@.microsoft.com...
> Dear Experts,
> I've got a trouble problem that I need your help. The scenario is the
> following:
> 1) I need to add a "Print" button to my web page;
> 2) by clicking this button, the web page should be able to print out a
> well-formatted web page (printer friendly ). That means, I need to adjust
> the
> printing margins (left, top, right, bottom) programmatically.
> I really have no idea on how to achieve this but I know this is a very
> typical scenario. Could you please give me some advices? Please help.
> Thanks a lot.
> Tigger
>
Use a media-specific print stylesheet.
For example, try slapping this in a file called print.css
@.page { 0.75in; }
And putting this line in your HTML
<link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=print.css" media="print"
At this point, you should be able to print from your browser normally. If
you need to initiate printing from a button, you should be able to do
something like this:
<input type="button" value="Print me!" onclick="window.print()"
This article might give you some ideas on other things you can do with this
techinque: http://www.alistapart.com/articles/goingtoprint/
And there's always the CSS reference: http://www.w3.org/TR/CSS21/

"Tigger" wrote:

> Dear Experts,
> I've got a trouble problem that I need your help. The scenario is the
> following:
> 1) I need to add a "Print" button to my web page;
> 2) by clicking this button, the web page should be able to print out a
> well-formatted web page (printer friendly ). That means, I need to adjust the
> printing margins (left, top, right, bottom) programmatically.
> I really have no idea on how to achieve this but I know this is a very
> typical scenario. Could you please give me some advices? Please help.
> Thanks a lot.
> Tigger
>
>

Please help - how to create a Printer Friendly web page...

Dear Experts,
I've got a trouble problem that I need your help. The scenario is the
following:
1) I need to add a "Print" button to my web page;
2) by clicking this button, the web page should be able to print out a
well-formatted web page (printer friendly ). That means, I need to adjust th
e
printing margins (left, top, right, bottom) programmatically.
I really have no idea on how to achieve this but I know this is a very
typical scenario. Could you please give me some advices? Please help.
Thanks a lot.
TiggerAs long as the targetted browser is IE >= 5 you can use the onbeforeprint
and on afterprint events in javascript
(I found this out yeterday)
I wrote the code below to hide a print button and decrease the width when
the document is printed
Hope this helps,
mortb
<head>
<script language="javascript">
var originalWidth;
function window.onbeforeprint()
{
originalWidth = document.getElementById('_tblResult').style.width;
document.getElementById('_tblResult').style.width = '625px';
document.getElementById('_btnPrint').style.display = 'none';
}
function window.onafterprint()
{
document.getElementById('_tblResult').style.width = originalWidth;
document.getElementById('_btnPrint').style.display = 'inline';
}
</script>
</HEAD>
"Tigger" <Tigger@.discussions.microsoft.com> wrote in message
news:C2D9F1F1-954D-448A-A201-BAAA332C866E@.microsoft.com...
> Dear Experts,
> I've got a trouble problem that I need your help. The scenario is the
> following:
> 1) I need to add a "Print" button to my web page;
> 2) by clicking this button, the web page should be able to print out a
> well-formatted web page (printer friendly ). That means, I need to adjust
> the
> printing margins (left, top, right, bottom) programmatically.
> I really have no idea on how to achieve this but I know this is a very
> typical scenario. Could you please give me some advices? Please help.
> Thanks a lot.
> Tigger
>
>
Use a media-specific print stylesheet.
For example, try slapping this in a file called print.css
@.page { 0.75in; }
And putting this line in your HTML
<link rel="stylesheet" type="text/css" href="http://links.10026.com/?link=print.css" media="print">
At this point, you should be able to print from your browser normally. If
you need to initiate printing from a button, you should be able to do
something like this:
<input type="button" value="Print me!" onclick="window.print()">
This article might give you some ideas on other things you can do with this
techinque: http://www.alistapart.com/articles/goingtoprint/
And there's always the CSS reference: http://www.w3.org/TR/CSS21/
"Tigger" wrote:

> Dear Experts,
> I've got a trouble problem that I need your help. The scenario is the
> following:
> 1) I need to add a "Print" button to my web page;
> 2) by clicking this button, the web page should be able to print out a
> well-formatted web page (printer friendly ). That means, I need to adjust
the
> printing margins (left, top, right, bottom) programmatically.
> I really have no idea on how to achieve this but I know this is a very
> typical scenario. Could you please give me some advices? Please help.
> Thanks a lot.
> Tigger
>
>

Please help - very simple question.

I'm just getting started with ASP/ASP.NET. I have W2k, installed IIS/.Netv1.1, and using the webmatrix to develop. When I use the web matrix server to test, all is OK. But if I use IIS then I cannot run any of the quickstart samples or even my own simple hello world project. The error occurs at any line that has
 <SCRIPT runat="server">
.

The browser (IE6) gives me an error stating Expected ";" on line 3
<FULL CODE BELOW>


==========================================================
<%@dotnet.itags.org. Page Language="VB" %>
<script runat="server"
Sub Button1_Click(sender As Object, e As EventArgs)
Label1.Text = "Hello " & TextBox1.Text & " you selected: " & Calendar1.SelectedDate
End Sub

</script>
<html>
<head>
</head>
<body>
<form runat="server">
<p>
<asp:Label id="Label1" runat="server">Label</asp:Label>
</p>
<p>
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
</p>
<p>
<asp:Button id="Button1" onclick="Button1_Click" runat="server" Text="Button"></asp:Button>
</p>
<!-- Insert content here -->
</form>
</body>
</html>


=======================================END CODE==========
Please help
MikeDo you have ASP.NET installed on the server? Have you named the page with an .aspx extension?
Yes. the page is named with an .aspx extension.

I am using the same machine to test as I am to write the code. I have the .Net v 1.1 Framework installed on this same machine. I was under the impression that all I need to start is the .Netv1.1 and I am using the webmatrix to develop with.

Could it be something with the virtual path created in the Webmatrix that does not have the proper ASPNET permissions?
OK. This is an error in the browser, correct? If you look in th source code (View/Source) is the script block in the rendered HTML? If so, then ASP.NET is not registered correctly in the folder where you are running from.

Is the folder registered in IIS?
Yes, you can see the <SCRIPT> blocks as you see the code as in my first post!

In IIS there is a virtual folder called "Testing." from which my newfile.aspx is located.
Properties of Testing are:
Virtual Directory properties are to a path on my local machine.
D&S/A/My Docs/... with Read/Log/& index. Execute Permissions = Scripts only

When I look at the config button for the app mappings, I only see asp.dll . Is there not an aspx.dll or something similar? I bet this is my problem. Why not installed when I either installed .NETv1.1 or webmatrix? This should be easy.
Again, I am not sure what you mean by registered in IIS. Is there a .dll that may not be registered, or configured in IIS? How can I check to see if IIS installation will process .NETv1.1 correctly.

Again, the error occures at the browser stating - Expected ";" at any <SCRIPT runat="server"> line.

Thanks Again. Mike
You need to go to the IIS application (Control Panel/Administrative Tools/Internet Information Services or similar) and make sure that the folder you are using is set up as a virtual directory.
See below==============from prior post.
In IIS there is a virtual folder called "Testing." from which my newfile.aspx is located.
Properties of Testing are:
Virtual Directory properties are to a path on my local machine.
D&S/A/My Docs/... with Read/Log/& index. Execute Permissions = Scripts only

If I click on the Configuration button, and on the App Mappings tab, I do not see a .dll for ASP.NET like I do for the old asp (asp.dll)

Is there suppost to be a aspx.dll (or some .Net dll to drive an .aspx web site)? And if so, should it show up in this location...
After much research, I have discovered what the issue was.

In IIS under the Virtural Directory properties page:

and after clicking on the configuration button, I discovered that there were was not a setting for .aspx extension. I added the aspnet_isapi.dll to the list and once I ran the test page it worked!

Wow, I cannot belive that I was the only one to have this problem. I have not read anywhere that a user would have to manually apply this .dll to the app mappings tab in order to display an .aspx page!

Thank You.
Mike Griggs
You would virtually never manually add the DLL (and this likely will not completely fix all problems - if you only associated ASPX, ASMX files (Web Services) will likely not work.

Commonly, running aspnet_regiis -i is what folks do to get the folder set up correctly. This often is caused by installing IIS after installing ASP.NET.
I think what may have happened is that I tried to install the dotnetfx.exe file BEFORE installing the .NET Framework. I did uninstall and then reinstall each componet:

.NET Framework v1.1 then
.NET Framework Version 1.1 Redistributable Package

I did notice that during the redist process that aspnet_regiis -i did run. However, I manually added the DLL prior to re-running the redist package. (However, I did not check this prior to uninstalling the two) I dont know if the package added the DLL to the configuration tab or not. I think that I am good on this issue for now...I am now able to run my simple Hello World aspx after hours of trying...

Now I am ready to get started. Watch Out...Mike

Please Help - WEB Application

Hi Everyone,

I have a VB script (.aspx) project that needs to produce nine unique,
randomly generated numbers that uses all nine of the numbers. I will greatly
appreciate either a recommendation of where to look on the web for my
answer, or your direct response.

Thanks a 1,000,000 for your ideas.
ChuckChuck Insight wrote:
> Hi Everyone,
> I have a VB script (.aspx) project that needs to produce nine unique,
> randomly generated numbers that uses all nine of the numbers. I will greatly
> appreciate either a recommendation of where to look on the web for my
> answer, or your direct response.
> Thanks a 1,000,000 for your ideas.
> Chuck

If I understand correctly, you want to generate a nine-digit
"random" code that uses all of the digits in 123456789.
(what about "0"?)

What you can do is
1) start with "123456789"
2) generate two random numbers from 0 to 8 (inclusive)
3) exchange the digits at those positions
4) repeat steps 2) and 3) a dozen times.

To generate a random number, see the System.Random class
(create *one* instance, then repeatedly get random numbers
from that class)

To generate nine of these codes, use this repeatedly
but check if you already have this particular code. If
yes, discard this code and generate again.

--
Hans Kesting

Saturday, March 24, 2012

Please Help - WEB Application

Hi Everyone,
I have a VB script (.aspx) project that needs to produce nine unique,
randomly generated numbers that uses all nine of the numbers. I will greatly
appreciate either a recommendation of where to look on the web for my
answer, or your direct response.
Thanks a 1,000,000 for your ideas.
ChuckChuck Insight wrote:
> Hi Everyone,
> I have a VB script (.aspx) project that needs to produce nine unique,
> randomly generated numbers that uses all nine of the numbers. I will great
ly
> appreciate either a recommendation of where to look on the web for my
> answer, or your direct response.
> Thanks a 1,000,000 for your ideas.
> Chuck
>
If I understand correctly, you want to generate a nine-digit
"random" code that uses all of the digits in 123456789.
(what about "0"?)
What you can do is
1) start with "123456789"
2) generate two random numbers from 0 to 8 (inclusive)
3) exchange the digits at those positions
4) repeat steps 2) and 3) a dozen times.
To generate a random number, see the System.Random class
(create *one* instance, then repeatedly get random numbers
from that class)
To generate nine of these codes, use this repeatedly
but check if you already have this particular code. If
yes, discard this code and generate again.
Hans Kesting

please help .. with Microsoft webcontrols ..

I downloaded the IE Web controls package and as instructed ran the Build file which does create the build folder with a subfolder called runtime but I do not see any Microsoft.Web.UI.WebControls.dll being created anywhere in this folder. What is going on ?Open up your build.bat with notepad and make sure the path to
csc.exe is valid. see below example.

c:\windows\microsoft.net\framework\v1.1.4322\csc.exe

Also run build.bat from the DOS shell not the Run menu so you can see what is happening.
I downloaded the IE Web controls package

For the love of our lord Jesus Christ, why?

and as instructed ran the Build file which does create the build folder with a subfolder called runtime but I do not see any Microsoft.Web.UI.WebControls.dll being created anywhere in this folder. What is going on ?

Are you building through commandline, and when building, did you resolve the first 'error'? (THis might be entirely based on experience, but there is usually one error to resolve when you try to build it the first time
hey what do you have against the iewebcontrols... the tabstrip + multipage works ok. Do you know of any other tabbing control that's free that's better. It would make my life a lot easier.
Free? No.

Better? All of them.

The IE Web Controls are the equivalent of Windows Millennium. It works, but it really isn't that good. If I had been a little more dishonest, I could have given you my version of the same controls I wrote for my previous company... those controls are probably on sale somewhere right now. :(

Please help ?

Hi,

We have complete ASP.net application in our local web server which was created on vb.net.

Now we want to make this application work in different server , basically hand over this application to another company ?

I am planning to ZIP the folder where my application contains, which includes BIN folder also. And also WEB.CONFIG file.

So, my question is , what are the things i should ask them, whether they have all these ??

As of i know, they should have W2K / XP, IIS , .NET framework .

Please advice me !

Thanks,

NicolRather than thinking along the lines of a "hand over", you might be better considering this a "deployment" of your ASP.NET application.

With that in mind,this MSDN article walks through the deployment of an ASP.NET app to a new server.

This MSDN article talks about deploying and distributing an application.

From a business point of view, you might want to refrain from saying to either your client or the other development company, "This is what you need." If you are wrong (and there are LOTS of things to consider), then they might come back to you and argue, "Yousaid that this is all we need, but it's not!"

You might be better served listing how you developed your application (eg, framework version, language, IIS version and configuration, development environment, database, commercial or free components you used ... that sort of thing). You can tell them, quite honestly, that there is no single "right configuration or environment" they need. Just illustrate what setup *you* used and state, quite reasonably, that you cannot guarantee it will work automatically on any other setup.

As to what you put on the CD, give them everything except any components you purchased. Give them one folder called "WORKING" with all your .vb components before compilation and unflattened photoshop files and so on, and another folder called "AS DEPLOYED" that you simply copy from your Inetpub/wwwroot folder (or wherever the real directory is).

One thing to consider, and I wouldn't presume to advise you on this ... but what about the rights to use the code? If you developed, say, an email component, are you able to use the same code for your next application? Can you use code for "common components" that are not "application-specific"?

Some things to think about, anyway ...

Please help a wannabe programmer...

I could really use some advice on where to start.

First off, i've been doing web development for quite some time, basically everything is WYSIWYG. Mainly using Dreamweaver and HTML coding. I have very little knowlege in programming. I took VB in highschool, but have lost all of it since i've been out of school for 8+ years.

One of my goals is to be able to create a SQL database with a web interface that can querry, add, modify and display the data in IE. I am finding it difficult to figure out where to start. I'm confused about the difference between ASP and ASP.NET, can someone please clarify? For a very beginner with no usable programming background, where should I START? VB? C++, ASP? Since my major goal is to fuse databases with web interfaces, should ASP be where I begin?

I know everyone has their personal opinions on where to start, so feel free to school me.

Thanks,
Mike> i've been doing web development for quite some time

no, you've been doing web layout. not development. you could call it web design if you like, but it AIN'T development if you're just slapping together HTML in a WYSIWYG editor. sorry. I started out that way and never claimed to be a developer until I really started doing server-side AND client-side code. up till then I was a "web designer". then I became a junior web programmer (a company euphemism for HTML coder), THEN a web developer. That was, oh, five years ago. Now I call myself a web developer for real.

ASP is a good way to start. it's simpler than ASP.NET to learn, since ASP.NET is, really, an enterprise-ready framework. ASP is far simpler. try www.asp101.com and www.4guysfromrolla.com. also my site and www.webmonkey.com

some zealots on this site will tell you ASP is dead, but they're just zealots. In another world they'd be handing out religious leaflets on a street corner. ASP is still a very viable framework and is a lot easier to get started with than ASP.NET. FACT.

once you have a basic idea of ASP, then ASP.NET will be conceptually easier to grasp. I won't deny that ASP.NET is a more desirable skill commercially, but hey, pragmatism wins here, and ASP.NET is a far richer, more strict and trickier framework.
Hello Mike,

I'm probably the last person that should be responding to this since I'm a wannabe programmer as well but...

For starters I would use the Tutorials listed at the top of this page (one of the tabs). This helped me TREMENDOUSLY. At home I use the Web Matrix with MS Access DB and at work I use VS.NET 2003 with SQL Server 2000. The tutorial section as well as this messageboard have helped me out with all those applications. Usually I don't even need to post any questions in the messageboards, I just do a search because I'm 100% sure the question I have has already been asked by somebody else and there's usually an answer already there.

I also bought a book (ASP.NET for Begginers using VB.NET (I think that's what it's called, I'm at work right now and can't check)) and it was pretty good at teaching me the 'way' ASP works and how the asp controls work, great book to get started.

And after all that, if you still have questions then this messageboard is the place I've found to get answers. If another ASP.NET user can't help you then I think I've seen posts from ASP "gurus" or MS people (I think?) and they usually have the answer as well.

I hope I have been somewhat helpful.

EYZAE

Please help DEPERATE page randomly stops loading

Hi

I am getting pretty frustrated here.
I have a simple page architecture that consists of a header web user
control, the main page content and a footer web user control

Every so often that page loads the header content and just stops. If I click
view source, I see that all the content has been pushed to the client. It
just doesn't render!!

This happens at random points often when doing postbacks. I am not using
smartnavigation.

Has anyone else seen anything similar?

Thanks,

SBad HTML is the problem.
You did not close the tag or the quotes.
Sometimes IE can recover sometimes not.

George.

"SamIAm" <samuel@.rubbachicken.com> wrote in message
news:%23ouR1T4$DHA.2348@.TK2MSFTNGP09.phx.gbl...
> Hi
> I am getting pretty frustrated here.
> I have a simple page architecture that consists of a header web user
> control, the main page content and a footer web user control
> Every so often that page loads the header content and just stops. If I
click
> view source, I see that all the content has been pushed to the client. It
> just doesn't render!!
> This happens at random points often when doing postbacks. I am not using
> smartnavigation.
> Has anyone else seen anything similar?
> Thanks,
> S

Wednesday, March 21, 2012

please help Im a designer not a network guy

I'm trying to edit a share point services site in front page but it won't let me use any of the web parts on the server. When I try to add a webpart or open a page with webparts added through the browserI keep getting this message:

A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe.

When I click on details it further explains:

soap:Server Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown. A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered as safe on this site. You may not be able to open this page in an HTML editor that is compatible with Microsoft Windows SharePoint Services, such as Microsoft Office FrontPage. To fix this page, contact the site administrator to have the Web Part or Web Form Control configured as safe. You can also remove the Web Part or Web Form Control from the page by using the Web Parts Maintenance Page. If you have the necessary permissions, you can use this page to disable Web Parts temporarily or remove personal settings. For more information, contact your site administrator.

I contacted my site administrator and she doesn't want to help me so I figure if I can tell her exactly how to fix the problem she might be more inclined to hear me out. I might need it explained as simply as possible because I'm not a networking genius and I don't think our systems administrator is either.You may want to hit up a Sharepoint site for more help... but it sounds like the new webpart you have (I'm assuming you wrote it?) isn't added into Sharepoint... not sure how to do it personally but I would think a post to a Sharepoint site/newsgroup/forum may get you better/more results.

Please help me

My codebehind file (.aspx.cs) will not load. When I post my web application everything works except the actual code in the .cs file. I mean that when tou press the button it will not execute the code.

If anyone can help me, please do!

Thanks!

the button have runat=server?

Hello,

Is the page being refreshed (postback)?

If yes then go to your code and double click on the button to create the event handler again, then recompile.

If not then tell me to help you sorting that out.

regards


fastlearner wrote:

My codebehind file (.aspx.cs) will not load. When I post my web application everything works except the actual code in the .cs file. I mean that when tou press the button it will not execute the code.

If anyone can help me, please do!

Thanks!

Have you fully compiled your project and deployed the bin directory to your web server?


The page is not beeing refreshed!

The .cs file is probably not beeing loaded at all by the compiler, or second .dll doesn't inherit from the first.

Thanks.


Hello,

1) Try to run your application in different browser (FireFox)

2) execute this C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -c

regards


Thanks for all your help.

It seems my problem was an improper configuration of the IIS to use ASP.net

Regards


What was the problem? and what you did to solve it?

regards

Please Help me

I am getting the following error.
I Created a Web Project
then added upload.aspx
Then I got this error.
I keep aspx controls i am geeting this error.
I have xp pro with IIS Installed
then i installed .net
then i repaired IIS.
Again i installed FrameWork 1.1
I dont know what was the problem.
Please help me.
Thanks

Server Error in '/Inguva' Application.
-----------------------
--

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'upload'.

Source Error:

Line 1: <%@dotnet.itags.org. Page Language="vb" AutoEventWireup="true"
Codebehind="upload.aspx.vb" Inherits="upload" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML
Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1

-----------------------
--

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573You need to upload the DLL that was compiled when you compiled your project.
Your codebehind gets compiled into a DLL.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> I am getting the following error.
> I Created a Web Project
> then added upload.aspx
> Then I got this error.
> I keep aspx controls i am geeting this error.
> I have xp pro with IIS Installed
> then i installed .net
> then i repaired IIS.
> Again i installed FrameWork 1.1
> I dont know what was the problem.
> Please help me.
> Thanks
> Server Error in '/Inguva' Application.
> -----------------------
--
> --
> Parser Error
> Description: An error occurred during the parsing of a resource required
to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
> Parser Error Message: Could not load type 'upload'.
> Source Error:
>
> Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> Codebehind="upload.aspx.vb" Inherits="upload" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
>
> Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
>
> -----------------------
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
> Version:1.1.4322.573
You need to upload the DLL that was compiled when you compiled your project.
Your codebehind gets compiled into a DLL.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> I am getting the following error.
> I Created a Web Project
> then added upload.aspx
> Then I got this error.
> I keep aspx controls i am geeting this error.
> I have xp pro with IIS Installed
> then i installed .net
> then i repaired IIS.
> Again i installed FrameWork 1.1
> I dont know what was the problem.
> Please help me.
> Thanks
> Server Error in '/Inguva' Application.
> -----------------------
--
> --
> Parser Error
> Description: An error occurred during the parsing of a resource required
to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
> Parser Error Message: Could not load type 'upload'.
> Source Error:
>
> Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> Codebehind="upload.aspx.vb" Inherits="upload" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
>
> Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
>
> -----------------------
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
> Version:1.1.4322.573
Where i have to upload?
Right now my code in default path

C:\Inetpub\wwwroot\Inguva
and my dlls are in
C:\Inetpub\wwwroot\Inguva\bin\debug

Is there any specified place i have to upload my dlls?

Thank you
for your response
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> You need to upload the DLL that was compiled when you compiled your
project.
> Your codebehind gets compiled into a DLL.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > I am getting the following error.
> > I Created a Web Project
> > then added upload.aspx
> > Then I got this error.
> > I keep aspx controls i am geeting this error.
> > I have xp pro with IIS Installed
> > then i installed .net
> > then i repaired IIS.
> > Again i installed FrameWork 1.1
> > I dont know what was the problem.
> > Please help me.
> > Thanks
> > Server Error in '/Inguva' Application.
> -----------------------
> --
> > --
> > Parser Error
> > Description: An error occurred during the parsing of a resource required
> to
> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> > Parser Error Message: Could not load type 'upload'.
> > Source Error:
> > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > Line 3: <HTML>
> > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> -----------------------
> --
> > --
> > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> > Version:1.1.4322.573
Where i have to upload?
Right now my code in default path

C:\Inetpub\wwwroot\Inguva
and my dlls are in
C:\Inetpub\wwwroot\Inguva\bin\debug

Is there any specified place i have to upload my dlls?

Thank you
for your response
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> You need to upload the DLL that was compiled when you compiled your
project.
> Your codebehind gets compiled into a DLL.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > I am getting the following error.
> > I Created a Web Project
> > then added upload.aspx
> > Then I got this error.
> > I keep aspx controls i am geeting this error.
> > I have xp pro with IIS Installed
> > then i installed .net
> > then i repaired IIS.
> > Again i installed FrameWork 1.1
> > I dont know what was the problem.
> > Please help me.
> > Thanks
> > Server Error in '/Inguva' Application.
> -----------------------
> --
> > --
> > Parser Error
> > Description: An error occurred during the parsing of a resource required
> to
> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> > Parser Error Message: Could not load type 'upload'.
> > Source Error:
> > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > Line 3: <HTML>
> > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> -----------------------
> --
> > --
> > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> > Version:1.1.4322.573
They should be in the bin directory, not the bin/debug directory.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> Where i have to upload?
> Right now my code in default path
> C:\Inetpub\wwwroot\Inguva
> and my dlls are in
> C:\Inetpub\wwwroot\Inguva\bin\debug
> Is there any specified place i have to upload my dlls?
> Thank you
> for your response
> "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > You need to upload the DLL that was compiled when you compiled your
> project.
> > Your codebehind gets compiled into a DLL.
> > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > I am getting the following error.
> > > I Created a Web Project
> > > then added upload.aspx
> > > Then I got this error.
> > > I keep aspx controls i am geeting this error.
> > > I have xp pro with IIS Installed
> > > then i installed .net
> > > then i repaired IIS.
> > > Again i installed FrameWork 1.1
> > > I dont know what was the problem.
> > > Please help me.
> > > Thanks
> > > > Server Error in '/Inguva' Application.
> -----------------------
> > --
> > > --
> > > > Parser Error
> > > Description: An error occurred during the parsing of a resource
required
> > to
> > > service this request. Please review the following specific parse error
> > > details and modify your source file appropriately.
> > > > Parser Error Message: Could not load type 'upload'.
> > > > Source Error:
> > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
> > > Line 3: <HTML>
> > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > -----------------------
> > --
> > > --
> > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > ASP.NET
> > > Version:1.1.4322.573
> >
They should be in the bin directory, not the bin/debug directory.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> Where i have to upload?
> Right now my code in default path
> C:\Inetpub\wwwroot\Inguva
> and my dlls are in
> C:\Inetpub\wwwroot\Inguva\bin\debug
> Is there any specified place i have to upload my dlls?
> Thank you
> for your response
> "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > You need to upload the DLL that was compiled when you compiled your
> project.
> > Your codebehind gets compiled into a DLL.
> > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > I am getting the following error.
> > > I Created a Web Project
> > > then added upload.aspx
> > > Then I got this error.
> > > I keep aspx controls i am geeting this error.
> > > I have xp pro with IIS Installed
> > > then i installed .net
> > > then i repaired IIS.
> > > Again i installed FrameWork 1.1
> > > I dont know what was the problem.
> > > Please help me.
> > > Thanks
> > > > Server Error in '/Inguva' Application.
> -----------------------
> > --
> > > --
> > > > Parser Error
> > > Description: An error occurred during the parsing of a resource
required
> > to
> > > service this request. Please review the following specific parse error
> > > details and modify your source file appropriately.
> > > > Parser Error Message: Could not load type 'upload'.
> > > > Source Error:
> > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
> > > Line 3: <HTML>
> > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > -----------------------
> > --
> > > --
> > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > ASP.NET
> > > Version:1.1.4322.573
> >
Perfect... It is working
Thank You very much for your help .
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:uuH4j$hSDHA.2188@.TK2MSFTNGP10.phx.gbl...
> They should be in the bin directory, not the bin/debug directory.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> > Where i have to upload?
> > Right now my code in default path
> > C:\Inetpub\wwwroot\Inguva
> > and my dlls are in
> > C:\Inetpub\wwwroot\Inguva\bin\debug
> > Is there any specified place i have to upload my dlls?
> > Thank you
> > for your response
> > "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> > news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > > You need to upload the DLL that was compiled when you compiled your
> > project.
> > > Your codebehind gets compiled into a DLL.
> > > > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > > I am getting the following error.
> > > > I Created a Web Project
> > > > then added upload.aspx
> > > > Then I got this error.
> > > > I keep aspx controls i am geeting this error.
> > > > I have xp pro with IIS Installed
> > > > then i installed .net
> > > > then i repaired IIS.
> > > > Again i installed FrameWork 1.1
> > > > I dont know what was the problem.
> > > > Please help me.
> > > > Thanks
> > > > > > Server Error in '/Inguva' Application.
> > -----------------------
> > > --
> > > > --
> > > > > > Parser Error
> > > > Description: An error occurred during the parsing of a resource
> required
> > > to
> > > > service this request. Please review the following specific parse
error
> > > > details and modify your source file appropriately.
> > > > > > Parser Error Message: Could not load type 'upload'.
> > > > > > Source Error:
> > > > > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN">
> > > > Line 3: <HTML>
> > > > > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > > > > > -----------------------
> > > --
> > > > --
> > > > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > > ASP.NET
> > > > Version:1.1.4322.573
> > > > > >
Perfect... It is working
Thank You very much for your help .
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:uuH4j$hSDHA.2188@.TK2MSFTNGP10.phx.gbl...
> They should be in the bin directory, not the bin/debug directory.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> > Where i have to upload?
> > Right now my code in default path
> > C:\Inetpub\wwwroot\Inguva
> > and my dlls are in
> > C:\Inetpub\wwwroot\Inguva\bin\debug
> > Is there any specified place i have to upload my dlls?
> > Thank you
> > for your response
> > "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> > news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > > You need to upload the DLL that was compiled when you compiled your
> > project.
> > > Your codebehind gets compiled into a DLL.
> > > > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > > I am getting the following error.
> > > > I Created a Web Project
> > > > then added upload.aspx
> > > > Then I got this error.
> > > > I keep aspx controls i am geeting this error.
> > > > I have xp pro with IIS Installed
> > > > then i installed .net
> > > > then i repaired IIS.
> > > > Again i installed FrameWork 1.1
> > > > I dont know what was the problem.
> > > > Please help me.
> > > > Thanks
> > > > > > Server Error in '/Inguva' Application.
> > -----------------------
> > > --
> > > > --
> > > > > > Parser Error
> > > > Description: An error occurred during the parsing of a resource
> required
> > > to
> > > > service this request. Please review the following specific parse
error
> > > > details and modify your source file appropriately.
> > > > > > Parser Error Message: Could not load type 'upload'.
> > > > > > Source Error:
> > > > > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN">
> > > > Line 3: <HTML>
> > > > > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > > > > > -----------------------
> > > --
> > > > --
> > > > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > > ASP.NET
> > > > Version:1.1.4322.573
> > > > > >