469,950 Members | 2,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

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 2051
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Matias | last post: by
7 posts views Thread by Egghead | last post: by
2 posts views Thread by Grigs | last post: by
2 posts views Thread by Kilo Bravo | last post: by
3 posts views Thread by rodchar | last post: by
10 posts views Thread by Bryan Dickerson | last post: by
1 post views Thread by =?Utf-8?B?U3FsQmVnaW5uZXI=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.