473,663 Members | 2,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deploy web app from VS ExpressEdition to production server? Is it possible ...

ivo
Hi everyone

I am having trouble with deploying VS 2005 Express Edition web app to
real server on the net.

Since VS 2005 ExpressEdition is free - is it for that reason unpossible
to do deployment ...

What do I need to copy to remote server ...

Thank you

Jul 23 '06 #1
7 1310
You shouldn't have a problem deploying the site.

Try copying all the files and folders to the server and see what happens?

"ivo" <iv**********@b j.htnet.hrwrote in message
news:11******** *************@m 73g2000cwd.goog legroups.com...
Hi everyone

I am having trouble with deploying VS 2005 Express Edition web app to
real server on the net.

Since VS 2005 ExpressEdition is free - is it for that reason unpossible
to do deployment ...

What do I need to copy to remote server ...

Thank you

Jul 23 '06 #2
ivo
Hi

Maybe I am missing something ... here is link:
http://www.bet-live.ba/x_test/Default.aspx
I am moving 3 files to x_temp server directory ... I have a feeling
there are more files needed to be copied ... but for now I copy these 3
(this is hello world example)

1. Default.aspx
2. Default.aspx.cs
3. Web.Config

Does anybody have a clue what might be wrong here?!?

Thank you for help!
:-)

Greetings

---------------
And here is content of all 3 files:

--------------
Default.aspx
--------------
<%@ Page Language="C#" AutoEventWireup ="true"
CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server"
Text="Label"></asp:Label></div>
</form>
</body>
</html>
--------------
Default.aspx.cs
--------------
using System;
using System.Data;
using System.Configur ation;
using System.Web;
using System.Web.Secu rity;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.W ebControls.WebP arts;
using System.Web.UI.H tmlControls;

public partial class _Default : System.Web.UI.P age
{
protected void Page_Load(objec t sender, EventArgs e)
{
this.Label1.Tex t = System.DateTime .Now.ToLongTime String();
}
}

-------------
Web.Config
I did one change here ... <compilation debug="true"/to <compilation
debug="false"/>
-------------

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config. comments usually located in
\Windows\Micros oft.Net\Framewo rk\v2.x\Config
-->
<configuratio n>
<appSettings/>
<connectionStri ngs/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false"/>
<!--
The <authentication section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authenticati on mode="Windows"/>
<!--
The <customErrorsse ction enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnl y"
defaultRedirect ="GenericErrorP age.htm">
<error statusCode="403 " redirect="NoAcc ess.htm" />
<error statusCode="404 " redirect="FileN otFound.htm" />
</customErrors>
-->
</system.web>
</configuration>

Jul 24 '06 #3
In your web.config file, make sure customErrors is set like this:

<customErrors mode="Off"/>

and upload it to the server again?

That way, we can see what's not working..

Ken
"ivo" <iv**********@b j.htnet.hrwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
Hi

Maybe I am missing something ... here is link:
http://www.bet-live.ba/x_test/Default.aspx
I am moving 3 files to x_temp server directory ... I have a feeling
there are more files needed to be copied ... but for now I copy these 3
(this is hello world example)

1. Default.aspx
2. Default.aspx.cs
3. Web.Config

Does anybody have a clue what might be wrong here?!?

Thank you for help!
:-)

Greetings

---------------
And here is content of all 3 files:

--------------
Default.aspx
--------------
<%@ Page Language="C#" AutoEventWireup ="true"
CodeFile="Defau lt.aspx.cs" Inherits="_Defa ult" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitl ed Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="Label1" runat="server"
Text="Label"></asp:Label></div>
</form>
</body>
</html>
--------------
Default.aspx.cs
--------------
using System;
using System.Data;
using System.Configur ation;
using System.Web;
using System.Web.Secu rity;
using System.Web.UI;
using System.Web.UI.W ebControls;
using System.Web.UI.W ebControls.WebP arts;
using System.Web.UI.H tmlControls;

public partial class _Default : System.Web.UI.P age
{
protected void Page_Load(objec t sender, EventArgs e)
{
this.Label1.Tex t = System.DateTime .Now.ToLongTime String();
}
}

-------------
Web.Config
I did one change here ... <compilation debug="true"/to <compilation
debug="false"/>
-------------

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config. comments usually located in
\Windows\Micros oft.Net\Framewo rk\v2.x\Config
-->
<configuratio n>
<appSettings/>
<connectionStri ngs/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false"/>
<!--
The <authentication section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authenticati on mode="Windows"/>
<!--
The <customErrorsse ction enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnl y"
defaultRedirect ="GenericErrorP age.htm">
<error statusCode="403 " redirect="NoAcc ess.htm" />
<error statusCode="404 " redirect="FileN otFound.htm" />
</customErrors>
-->
</system.web>
</configuration>

Jul 24 '06 #4
ivo
Hi

I did it like this ... still same result ...
:-|

Added extra tag ... with atribute mode set to "Off"

<customErrors mode="Off"/>

However, I am wondering ... could it be possible that .Net 1.1
Framework causes this error ... if I try to run 2.0 app ...

Cheers
Ivan
--------------------
Here is new Web.Config

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config. comments usually located in
\Windows\Micros oft.Net\Framewo rk\v2.x\Config
-->
<configuratio n>
<appSettings/>
<connectionStri ngs/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false"/>
<!--
The <authentication section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authenticati on mode="Windows"/>
<customErrors mode="Off"/>
<!--
The <customErrorsse ction enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnl y"
defaultRedirect ="GenericErrorP age.htm">
<error statusCode="403 " redirect="NoAcc ess.htm" />
<error statusCode="404 " redirect="FileN otFound.htm" />
</customErrors>
-->
</system.web>
</configuration>

Jul 24 '06 #5
You have to be running .NET 2.0 for the Web if your code is for 2.0.

"ivo" <iv**********@b j.htnet.hrwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
Hi

I did it like this ... still same result ...
:-|

Added extra tag ... with atribute mode set to "Off"

<customErrors mode="Off"/>

However, I am wondering ... could it be possible that .Net 1.1
Framework causes this error ... if I try to run 2.0 app ...

Cheers
Ivan
--------------------
Here is new Web.Config

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config. comments usually located in
\Windows\Micros oft.Net\Framewo rk\v2.x\Config
-->
<configuratio n>
<appSettings/>
<connectionStri ngs/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false"/>
<!--
The <authentication section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authenticati on mode="Windows"/>
<customErrors mode="Off"/>
<!--
The <customErrorsse ction enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnl y"
defaultRedirect ="GenericErrorP age.htm">
<error statusCode="403 " redirect="NoAcc ess.htm" />
<error statusCode="404 " redirect="FileN otFound.htm" />
</customErrors>
-->
</system.web>
</configuration>

Jul 24 '06 #6
ivo
:-)

I know ...

But I dont have clear info on .Net version ... still waiting for
hosting company to tell me what version is running ...

http://www.utic-hosting.ba/bos/hosti...ex.php?paket=5

They state that ASP.NET is running ... but no version info ...

I saw that hosting company is also using aspx pages ...
https://winhost1.utic.net.ba/admin/l...2fDefault.aspx

So I took a peek to HTML source ...
.... to see is there any "signature" of .Net 2.0 or 1.1 ...

And this is what I have found ...
:
<meta name="GENERATOR " Content="Micros oft Visual Studio 7.0">
:

This 7.0 would be VS 2003 (I have 8.0 for VS 2005) ... and it looks
like (to my missfortune) probably .Net Fw 1.1 is running ...

Thanks for help ...

Much appreciated!
:-)

Cheers
Ivan

Jul 24 '06 #7
ivo
Just used free hosting
http://imarenic-1.at.vwdhosting.net/

and it works just fine ...

Old framework made problems ...

Thank you for help!

:-)

Jul 24 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1744
by: Flip | last post by:
What is the proper/suggested/best way to deploy a webapp to a Win2K3 Server running IIS6? I am coming from the j2ee world (easy on the flames please, I'm moving to ..NET remember :>), and I've created a solution that has my four web apps contained in their own projects (correct me if that's not the proper way, but that's an easy way to manage webapps in JBuilder), and I was hoping I could create another project (?) to copy the files over...
3
2977
by: Tim_Mac | last post by:
hi, see quote below from http://groups.google.ie/groups?hl=en&lr=&th=36c5d2df211a4d78&seekm=00480961-660F-462D-BBD4-455C8DA26C38%40microsoft.com&frame=off According to the book: "Deploying .NET Applications Lifecycle Guide" published in Microsoft Press: "Web setup projects allow you to specify which port to install the application on, they do not currently support deployment of a Web application to a site differentiated by host...
1
1671
by: Steve Franks | last post by:
Can someone please let me know what's required to deploy an ASP.NET 2.0 site to a production server? I'm not referring to "Copy Web Site" or how to move the files over, but rather asking about what supporting framework/technology needs to be installed on the production server. For instance, I currently have a production web server running IIS 6 on Win2K3 with old ASP all set up. On my dev box I've been building a new site with ASP.NET...
0
877
by: Fan | last post by:
Dear all, Now I am experiencing problems in deploying .Net web services to production servers. We have multiple web services which share some of the common libraries (.Net assemblies and .Net COM objects). These common assemblies are put in "Common" directory. The structure looks like: c:\inetpub\wwwroot -------- WS1
4
7984
by: dev648237923 | last post by:
I develop my application on my dev server and then I deploy it to a customer's production server. I store the db connection string in web.config (is this best practice?). When I deploy I have to open the production web.config and change the connection string to the correct one for production. Now I want my customer to keep their sql server username/password secret. They are unable/unwilling to change the web.config each time I make an...
5
2901
by: Mahernoz | last post by:
Hi Everyone! I have a problem here. I have used the latest asp.net membership & profiles functionality in my site. I have 2 roles admin and user. I also have a user named admin. Now, my website is running perfectly, but i want to deploy it.
2
1522
by: DR | last post by:
easiest way to upload a C# class library to a SQL server 2005 and deploy as CLR function Do I have to upload the .dll and then run sql command to load it into sql server, or is there a more integrated way to do this in visual studio 2005 with a SQL Server Project? or do i have to manualu upload the DLL in all cases? Any tutorial on CLR with Visual Studio 2005 IDE to Sql Server 2005?
1
2940
by: =?Utf-8?B?aGZkZXY=?= | last post by:
Hello, I have a web application that makes use of the SQL Membership and Role providers. My app has admin screens to manage users (membership), roles, and supplementary user data. I have just deployed the application to a production server. My Question: How do I create the initial Admin role and user in the clean/unpopulated database that has the Membership and Role schema on this production server?
1
6108
by: abhitripathi | last post by:
Hi, I am a Java developer and know nothing about ColdFusion. I need help from you all CF experts. here is the situation: I created a workspace in Eclipse 3 by getting the code from repository (CVS). Now I want to deploy this application on Tomcat server. (Anything other Open Source server would be fine too)
0
8858
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8771
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8634
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4182
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4349
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.