473,480 Members | 1,774 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

The best way to update a site?

Hello!

I currently have a site online. I added more features to my datagrid page,
so users can update and stuff. I though I could just copy the aspx, aspx.vb
and the server page including the web config, and paste then on the server.
At c:\intepub\wwwroot\website.
But now I get a runtime error when I go to that page. What is the best way
to update a site after maiking modifications on the developer machine?

TIA

Rudy
Nov 19 '05 #1
5 1284
"Rudy" <Ru**@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
I currently have a site online. I added more features to my datagrid
page,
so users can update and stuff. I though I could just copy the aspx,
aspx.vb
and the server page including the web config, and paste then on the
server.
At c:\intepub\wwwroot\website.
But now I get a runtime error when I go to that page. What is the best
way
to update a site after maiking modifications on the developer machine?


1) What exactly do you mean by "the server page"?

2) Why are you trying to copy the .vb files?

3) Are you using Visual Studio.NET?
Nov 19 '05 #2
Typically, you do not have to move the files containing source code to the
web server (eg .cs, .vb, etc.), you only need to move the content files
(.aspx, .htm, .css, .config, etc.).

When you make updates to the code, you need to rebuild the project and then
copy the content files and the new dll over to the webserver. When you build
the project, your "code files" are compiled into the dll
(yourapp/bin/youapp.dll).

Hope this helps. You may also try google to get a better understanding of
the deployment process and why certain files are needed on the webserver and
others are not.

"Rudy" wrote:
Hello!

I currently have a site online. I added more features to my datagrid page,
so users can update and stuff. I though I could just copy the aspx, aspx.vb
and the server page including the web config, and paste then on the server.
At c:\intepub\wwwroot\website.
But now I get a runtime error when I go to that page. What is the best way
to update a site after maiking modifications on the developer machine?

TIA

Rudy

Nov 19 '05 #3
> But now I get a runtime error when I go to that page. What is the best
way
to update a site after maiking modifications on the developer machine?


Sounds like you are using VS.net and, as such, you are likely compiling all
your vb pages into a DLL before uploading.

So, if that is the case, you don't want to upload your .vb files, but,
rather, recompile the project, upload your ASPX pages, and then upload your
project's dll file (in the BIN folder).

-Darrel
Nov 19 '05 #4
As a result of what everyone has suggested, please note that re-deploying
your website will cause all session state information to be lost (that is if
you do use In-process state). So, if this is a very busy website, I
wouldn't want to tick your user's off by killing their session information
when you update. So, do you updates at a time when it is not that busy

"Rudy" <Ru**@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
Hello!

I currently have a site online. I added more features to my datagrid
page,
so users can update and stuff. I though I could just copy the aspx,
aspx.vb
and the server page including the web config, and paste then on the
server.
At c:\intepub\wwwroot\website.
But now I get a runtime error when I go to that page. What is the best
way
to update a site after maiking modifications on the developer machine?

TIA

Rudy

Nov 19 '05 #5
Thank you all who replied! I got my site up and running. I forgot about the
dll, and just put the vb files because i thought it couldn't hurt. But is
there harm put those files in, they are not very big.
Anyway, I dumped my entire site and just loaded in a new one. When I moved
the project file from my home to my office developer computer, and named the
project diffrent, off by one letter. So my new project was a little diffrent
then what I had on the server. It's a intranet site, so I just sent a memo
about the new name. Not sure how that happened, but I do remember I had a
heck of a time moving the project over and getting it to work again. Thanks
again!

Rudy

"Tampa.NET Koder" wrote:
As a result of what everyone has suggested, please note that re-deploying
your website will cause all session state information to be lost (that is if
you do use In-process state). So, if this is a very busy website, I
wouldn't want to tick your user's off by killing their session information
when you update. So, do you updates at a time when it is not that busy

"Rudy" <Ru**@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
Hello!

I currently have a site online. I added more features to my datagrid
page,
so users can update and stuff. I though I could just copy the aspx,
aspx.vb
and the server page including the web config, and paste then on the
server.
At c:\intepub\wwwroot\website.
But now I get a runtime error when I go to that page. What is the best
way
to update a site after maiking modifications on the developer machine?

TIA

Rudy


Nov 19 '05 #6

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

Similar topics

1
1453
by: peter walker | last post by:
What is considered the best website for visual basic information and knowledge. A couple of years ago I was directed to a site that had a forum and I believe was based out of the UK that was very...
24
5231
by: delerious | last post by:
Hi, I am designing a web site that will that showcase a bunch of vacation pictures. It will have a banner and a navigation menu (consisting of 13 rectangular images that can be clicked). I am...
0
758
by: Chad Beckner | last post by:
Hey everyone! I need to come up with a way to template a site, which has multiple applications in it. For example, I have an ASP setup which uses a ISAPI Filter to send certain files (i.e....
4
298
by: Edward Bird | last post by:
I'm a relative newbie to VB.NET. Does anyone have recommendations for the best web site on it for the following categories? 1. Example code 2. Tutorials 3. Discussion forums Thanks
8
2755
by: robert | last post by:
Hello, I want to put (incrementally) changed/new files from a big file tree "directly,compressed and password-only-encrypted" to a remote backup server incrementally via FTP,SFTP or DAV.... At...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7080
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...
0
5326
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,...
0
4476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2992
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...
0
2977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1296
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 ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
176
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...

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.