473,378 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Problem when deploying with xcopy

Hi,

I deployed my application but got a strange error when doing the deployment
using the xcopy method. A strange thing is that when I try to do the same
steps on another machine that has the same configuration (it should have it
atleast) it works perfectly. After been testing a while I found out that
everything worked if I first put the folder with the web application as a
readonly first (applying it to all the subitems) and then removing the
readonly (also this time to all the subitems). Does anybody have the same
problem or have an answer. Could it be that the VSS does something to the
files or have I done something strange to the server? The error I got is the
one below:

Error: System.Web.HttpCompileException: External component has thrown an
exception.
at System.Web.Compilation.BaseCompiler.ThrowIfCompile rErrors(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String
sourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.UserControlParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()

Thanks for an answer
Cristian
Nov 17 '05 #1
6 2159
This is exactly the same thing I thought but I didn't work. This is the
approach I am using currently. Other suggestions?`
"S. Justin Gengo" <ge****@krause.com> wrote in message
news:vh************@corp.supernews.com...
Cristian,

You shouldn't deploy the site with any of the source safe files included. If you're going to deploy using xcopy you may want to first do a "CopyProject" from the project menu of Visual Studio.Net (use the following settings: Web access method - FileShare, Copy - Only files needed to run this application.
This will make a copy of the web site that doesn't have any unnecessary
files in it. Then you can xcopy from there.
--
S. Justin Gengo, MCP
Web Developer / Programmer

Free Code Library At:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Cristian Suazo" <cr******@hotmail.com> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl...
Hi,

I deployed my application but got a strange error when doing the

deployment
using the xcopy method. A strange thing is that when I try to do the same steps on another machine that has the same configuration (it should have

it
atleast) it works perfectly. After been testing a while I found out that
everything worked if I first put the folder with the web application as a readonly first (applying it to all the subitems) and then removing the
readonly (also this time to all the subitems). Does anybody have the same problem or have an answer. Could it be that the VSS does something to the files or have I done something strange to the server? The error I got is

the
one below:

Error: System.Web.HttpCompileException: External component has thrown an
exception.
at

System.Web.Compilation.BaseCompiler.ThrowIfCompile rErrors(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String sourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.UserControlParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()

Thanks for an answer
Cristian


Nov 17 '05 #2
Ask the Messiah
-----Original Message-----
Hi,

I deployed my application but got a strange error when doing the deploymentusing the xcopy method. A strange thing is that when I try to do the samesteps on another machine that has the same configuration (it should have itatleast) it works perfectly. After been testing a while I found out thateverything worked if I first put the folder with the web application as areadonly first (applying it to all the subitems) and then removing thereadonly (also this time to all the subitems). Does anybody have the sameproblem or have an answer. Could it be that the VSS does something to thefiles or have I done something strange to the server? The error I got is theone below:

Error: System.Web.HttpCompileException: External component has thrown anexception.
at System.Web.Compilation.BaseCompiler.ThrowIfCompile rErrors
(CompilerResultsresults, CodeDomProvider codeProvider, CodeCompileUnit sourceData, StringsourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.UserControlParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompi
lation()
Thanks for an answer
Cristian
.

Nov 17 '05 #3
Dear Cristian,
I think it could be an .net framework installation issue.
Does the thing you experienced happen on other boxes with
same software installations?
-----Original Message-----
Hi,

I deployed my application but got a strange error when doing the deploymentusing the xcopy method. A strange thing is that when I try to do the samesteps on another machine that has the same configuration (it should have itatleast) it works perfectly. After been testing a while I found out thateverything worked if I first put the folder with the web application as areadonly first (applying it to all the subitems) and then removing thereadonly (also this time to all the subitems). Does anybody have the sameproblem or have an answer. Could it be that the VSS does something to thefiles or have I done something strange to the server? The error I got is theone below:

Error: System.Web.HttpCompileException: External component has thrown anexception.
at System.Web.Compilation.BaseCompiler.ThrowIfCompile rErrors
(CompilerResultsresults, CodeDomProvider codeProvider, CodeCompileUnit sourceData, StringsourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.UserControlParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompi
lation()
Thanks for an answer
Cristian
.

Nov 17 '05 #4
This is want I think to. Should I reinstall the framework? Could there be
some other way to do this. There is one more machine that has the same
configuration but it works....

"the Messiah" <th*******@nospam.com> wrote in message
news:05****************************@phx.gbl...
Dear Cristian,
I think it could be an .net framework installation issue.
Does the thing you experienced happen on other boxes with
same software installations?
-----Original Message-----
Hi,

I deployed my application but got a strange error when

doing the deployment
using the xcopy method. A strange thing is that when I

try to do the same
steps on another machine that has the same configuration

(it should have it
atleast) it works perfectly. After been testing a while I

found out that
everything worked if I first put the folder with the web

application as a
readonly first (applying it to all the subitems) and then

removing the
readonly (also this time to all the subitems). Does

anybody have the same
problem or have an answer. Could it be that the VSS does

something to the
files or have I done something strange to the server? The

error I got is the
one below:

Error: System.Web.HttpCompileException: External

component has thrown an
exception.
at

System.Web.Compilation.BaseCompiler.ThrowIfCompile rErrors
(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit

sourceData, String
sourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.UserControlParser.CompileIntoType()
at

System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompi
lation()

Thanks for an answer
Cristian
.

Nov 17 '05 #5
My God, Justin
don't use Nietzche words
under a newbie answer like this

the Dude
-----Original Message-----
Cristian,

You shouldn't deploy the site with any of the source safe files included. Ifyou're going to deploy using xcopy you may want to first do a "CopyProject"from the project menu of Visual Studio.Net (use the following settings: Webaccess method - FileShare, Copy - Only files needed to run this application.
This will make a copy of the web site that doesn't have any unnecessaryfiles in it. Then you can xcopy from there.
--
S. Justin Gengo, MCP
Web Developer / Programmer

Free Code Library At:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Cristian Suazo" <cr******@hotmail.com> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl...
Hi,

I deployed my application but got a strange error when doing the
deployment
using the xcopy method. A strange thing is that when I
try to do the same steps on another machine that has the same configuration (it should haveit
atleast) it works perfectly. After been testing a while
I found out that everything worked if I first put the folder with the web application as a readonly first (applying it to all the subitems) and then removing the readonly (also this time to all the subitems). Does anybody have the same problem or have an answer. Could it be that the VSS does something to the files or have I done something strange to the server? The error I got isthe
one below:

Error: System.Web.HttpCompileException: External

component has thrown an exception.
at

System.Web.Compilation.BaseCompiler.ThrowIfCompil erErrors

(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String sourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.UserControlParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompi
lation()
Thanks for an answer
Cristian

.

Nov 17 '05 #6
My god Justin,

I just checked out your site....

Please in the code library put also how it is possible to
catch parameters sent by a HTML form method="GET"!!!!!
-----Original Message-----
Cristian,

You shouldn't deploy the site with any of the source safe files included. Ifyou're going to deploy using xcopy you may want to first do a "CopyProject"from the project menu of Visual Studio.Net (use the following settings: Webaccess method - FileShare, Copy - Only files needed to run this application.
This will make a copy of the web site that doesn't have any unnecessaryfiles in it. Then you can xcopy from there.
--
S. Justin Gengo, MCP
Web Developer / Programmer

Free Code Library At:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
"Cristian Suazo" <cr******@hotmail.com> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl...
Hi,

I deployed my application but got a strange error when doing the
deployment
using the xcopy method. A strange thing is that when I
try to do the same steps on another machine that has the same configuration (it should haveit
atleast) it works perfectly. After been testing a while
I found out that everything worked if I first put the folder with the web application as a readonly first (applying it to all the subitems) and then removing the readonly (also this time to all the subitems). Does anybody have the same problem or have an answer. Could it be that the VSS does something to the files or have I done something strange to the server? The error I got isthe
one below:

Error: System.Web.HttpCompileException: External

component has thrown an exception.
at

System.Web.Compilation.BaseCompiler.ThrowIfCompil erErrors

(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String sourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledTyp e()
at System.Web.UI.UserControlParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompi
lation()
Thanks for an answer
Cristian

.

Nov 17 '05 #7

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

Similar topics

2
by: Matias | last post by:
Hi!, I'm having a strange issue while deploying a web site with Validator controls. In my development machine the Validators function perfecly and also when I deploy using XCOPY to a web...
7
by: Egghead | last post by:
Hi all, Is there a way to deploy a web application to a live server without using the windows installer (not following the "Walkthrough: Deploying a Web Solution" in the VS.net's help). The...
2
by: Grigs | last post by:
Hello, I am attempting to write a Web Method in my Web Service that starts a process that runs the XCOPY command with passed in parameters. It is failing on me through code. However, if I take...
2
by: Kilo Bravo | last post by:
When you finally move your web application from the developement server to the production server what files should you actually upload? Are the source files necessary? Or just the dll. Why did...
3
by: rodchar | last post by:
hey all, i'm using XCOPY to deploy to files to production. 1 copies (the .dll) and the other one doesn't(default.aspx) it says access denied on the latter one. I've assigned NETWORK SERVICE...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
1
by: Larry | last post by:
I know that you can xcopy a DotNet client server application to your local hard drive and run the application with no problems. I would like to xcopy the application to a file server and then...
1
by: =?Utf-8?B?U3FsQmVnaW5uZXI=?= | last post by:
Hi I am writing batch files to deploy the .NET 2.0 application. I use xcopy commads and list out all those file extensions which are needed. Normally till .NET framework 1.1 it used to work for...
1
by: Dave | last post by:
I'm trying to do the following xcopy from my Windows installer and it doesn't work. I even tried running the installer as user with credentials instead of LocalService. I'm running in 2003Server,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.