Problem when deploying with xcopy
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.aspnet.

Post a new message to this list...

Cristian Suazo
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.ThrowIfCompilerErrors(CompilerResults
results, CodeDomProvider codeProvider, CodeCompileUnit sourceData, String
sourceFile, String sourceString)
at System.Web.Compilation.BaseCompiler.GetCompiledType()
at System.Web.UI.UserControlParser.CompileIntoType()
at System.Web.UI.TemplateParser.GetParserCacheItemThroughCompilation()

Thanks for an answer
Cristian

Reply to this message...
 
    
the Dude
Ask the Messiah

[Original message clipped]

(CompilerResults
>results, CodeDomProvider codeProvider, CodeCompileUnit
sourceData, String
[Original message clipped]

lation()
[Original message clipped]

Reply to this message...
 
    
the Messiah
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 clipped]

(CompilerResults
>results, CodeDomProvider codeProvider, CodeCompileUnit
sourceData, String
[Original message clipped]

lation()
[Original message clipped]

Reply to this message...
 
    
Cristian Suazo
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" <Click here to reveal e-mail address> wrote in message
news:056001c34be2$aab42290$Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
S. Justin Gengo
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" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
the Dude
My God, Justin
don't use Nietzche words
under a newbie answer like this

the Dude
[Original message clipped]

lation()
[Original message clipped]

Reply to this message...
 
    
the Dude
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 clipped]

lation()
[Original message clipped]

Reply to this message...
 
    
Cristian Suazo
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" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
 
System.CodeDom.CodeCompileUnit
System.CodeDom.Compiler.CodeDomProvider
System.CodeDom.Compiler.CompilerResults
System.IO.FileShare
System.Web.HttpCompileException
System.Web.UI.TemplateParser




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com