Moving VS Pages from Development to Production

T

tshad

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
 
T

Teemu Keiski

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.
 
T

tshad

Teemu Keiski said:
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
 
S

sloan

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.

...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top