Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

hosting problem on webserver

Posted on 2009-04-02
9
Medium Priority
?
277 Views
Last Modified: 2013-11-26
hi
my web application suppose tesst working fine on localstation. but when i upload it into webserver then it creates error.
u can see it at
http://www.supplydirectinc.com/tesst/tesst/new.aspx
Thanks
.aspx code
 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NEW.aspx.cs" Inherits="runtimelinkbutton.NEW" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    
    </div>
    </form>
</body>
</html>
 
 
 
 
.cs file code
 
 
using System;
using System.Collections;
using System.Configuration;
using System.Data;
 
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
 
 
namespace runtimelinkbutton
{
    public partial class NEW : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           //Response.Redirect("~/viewstate.aspx");
        }
 
        protected void Button1_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/viewstate.aspx");
        }
 
       
    }
}

Open in new window

0
Comment
Question by:psaini172000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 9

Accepted Solution

by:
vavjeeva earned 300 total points
ID: 24047877
did you deploy your application properly on the server..

check this link for deployment options..

http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP.NET.aspx ..

use Publish Web site option to generate the compiled code and move that into server.. hope this helps u
0
 
LVL 6

Assisted Solution

by:HarryNS
HarryNS earned 300 total points
ID: 24049874
Go to the design view of the form check in button properties -> Events, this event is mapped or not.
0
 

Author Comment

by:psaini172000
ID: 24057456
hi
yes i hav checked out. it is mapped
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:psaini172000
ID: 24067028
hi
pls have a look on my above question.
 i did not find any solution till the date.
pls arrange a solution.
ur help will be appricated.
Thanks
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 150 total points
ID: 24091657
Did you upload the .aspx.cs file along with the .aspx files to the host server?
0
 

Author Comment

by:psaini172000
ID: 24094178
hi
Yes ofcourse
both files are upload together.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question