473,480 Members | 2,157 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Moving VS Pages from Development to Production

I normally build my site with DW and used VS 2003 to build a Web page to
call my web service.

I now want to move the file over to my production system, but don't know
which files I need.

I assume I need the .aspx and .aspx.cs, but do I need the .dll file it
created or the .aspx.resx file?

Thanks,

Tom
Feb 27 '06 #1
3 1735
With VS2003 you'd deploy .aspx and .dll (probably also want web.config and
global.asax). .cs is compiled to the dll, so therefore .cs not needed.

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"tshad" <ts**********@ftsolutions.com> wrote in message
news:On****************@TK2MSFTNGP11.phx.gbl...
I normally build my site with DW and used VS 2003 to build a Web page to
call my web service.

I now want to move the file over to my production system, but don't know
which files I need.

I assume I need the .aspx and .aspx.cs, but do I need the .dll file it
created or the .aspx.resx file?

Thanks,

Tom

Feb 27 '06 #2
"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:O6**************@TK2MSFTNGP11.phx.gbl...
With VS2003 you'd deploy .aspx and .dll (probably also want web.config and
global.asax). .cs is compiled to the dll, so therefore .cs not needed.
What about the web references?

Since I had created the project on my local host - it has localhost as the
URL (http://localhost:8080/x.aspx). When I move this to my Production
server, it says that there is no such service (which is on my local
machine).

I then tried to create a project using my IP address (10.0.0.5) and it
creates the project fine, but I can't seem to get it to debug.

I get the message: "Unable to start Debugging on the Web Server. You don't
have permission to debug the Application. The URL is in the Internet Zone."

I then tried to add the site to my Intranet sites (http://10.0.0.5), but it
still won't let me debug.

How do I get this to work?

Thanks,

Tom
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke
"tshad" <ts**********@ftsolutions.com> wrote in message
news:On****************@TK2MSFTNGP11.phx.gbl...
I normally build my site with DW and used VS 2003 to build a Web page to
call my web service.

I now want to move the file over to my production system, but don't know
which files I need.

I assume I need the .aspx and .aspx.cs, but do I need the .dll file it
created or the .aspx.resx file?

Thanks,

Tom


Feb 27 '06 #3


2 files.

1 is a bat.

MyBuild.BAT

the content are ... (do not include this line)

:The recompile of your solution.
:You will need to rename MyDotNetSolution.sln to your .sln name
:Notice that this file will be in the same directory AS THE SOLUTION (.sln)
file
"C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe"
MYSOLUTION.sln /rebuild Release /out BuildDefaultResultsRelease.txt

:Xcopy the germane items
:The directory c:\wutemp\MySolution_Deploy\ should already exist (you can
name it anything)
:and it should be empty (or you get a bunch of "Overwrite file?" messages
:Also notice it uses the file XCopyExcludes.txt (which should also be in the
same directory as the .sln file)
xcopy *.* c:\wutemp\MYSOLUTIONXCOPY\*.* /E /R /EXCLUDE:.\XCopyExcludes.txt
2nd is an text file called: XCopyExclude.txt

the content are ... (do not include this line)
..vbproj
..csproj
..scc
..resx
..vb
..cs
..snk
..pdb
..xsx
..xsd
..sln
..vssscc
..bat
XCopyExcludes.txt
BuildDefaultResultsRelease.txt


For 2.0, you need to delete .cs and .vb from the exclude file. (which
means..they WILL be copied to the temp directory)
...

This gets you a build, RELEASE version, and only needed files copied in the
wutemp folder.

...
Put those files in your Presentation Layer folder.
Make sure the path to the devenv.exe is correct.

Run the batch.

...
"tshad" <ts**********@ftsolutions.com> wrote in message
news:On****************@TK2MSFTNGP11.phx.gbl...
I normally build my site with DW and used VS 2003 to build a Web page to
call my web service.

I now want to move the file over to my production system, but don't know
which files I need.

I assume I need the .aspx and .aspx.cs, but do I need the .dll file it
created or the .aspx.resx file?

Thanks,

Tom

Feb 27 '06 #4

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

Similar topics

1
1366
by: Sergio Lombardo | last post by:
reshello everyone! as mentioned above, I just completed a website in visual studio .Net. which consists of several ASP pages. This website is currently sitting on my development machine (and it...
1
1412
by: Mike D | last post by:
Hi, I have a form that has a number of validator controls. Everything works fine in my development environment. When I move the application to my production server, all validator controls...
5
1409
by: Tom | last post by:
We have an ASP web site done with VB.NET. This website is also checked into SourceSafe. Now we need to move/copy this web site over to a different server - a QA and/or Production server. I am...
1
256
by: Sergio Lombardo | last post by:
reshello everyone! as mentioned above, I just completed a website in visual studio .Net. which consists of several ASP pages. This website is currently sitting on my development machine (and it...
0
7055
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6920
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
7060
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,...
0
7022
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...
0
5365
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,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3004
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1311
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
572
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.