Multimobile Development: Building Applications for any Smartphone
Problem when deploying with xcopy
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.aspnet.


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...
Vote that this is a GOOD answer...
 
Really good experience at the Apple Store
MonoDroid – looking *awesome*
 
    
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...
Vote that this is a GOOD answer...
 
First volume of Multimobile Development nearly ready to go to press
A mention on Developing for the iPhone and Android: The pros and cons
 
    
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...
Vote that this is a GOOD answer...
 
 
    
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...
Vote that this is a GOOD answer...
 
First chapters of Multimobile Development book now available on Apress Alpha program
iPad
 
    
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...
Vote that this is a GOOD answer...
 
New book project – Multimobile Development: Building Applications for any Smartphone
Dive into HTML5
 
    
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...
Vote that this is a GOOD answer...
 
 
    
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...
Vote that this is a GOOD answer...
 
Steve Jobs’ thoughtful/thought provoking Thoughts on Flash…
Handy list of countries in CSV format
 
    
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...
Vote that this is a GOOD answer...
 
Really good experience at the Apple Store
MonoDroid – looking *awesome*
 
 
System.CodeDom.CodeCompileUnit
System.CodeDom.Compiler.CodeDomProvider
System.CodeDom.Compiler.CompilerResults
System.IO.FileShare
System.Web.HttpCompileException
System.Web.UI.TemplateParser




Ad
BootFX
Reliable and powerful .NET application framework.
iOS, Android and Windows Phone Development Training and Consultancy
Hosted by RackSRV Communications
 
Multimobile Development: Building Applications for any Smartphone
Copyright © AMX Software Ltd 2008-2010. Portions copyright © Matthew Baxter-Reynolds 2001-2010. All rights reserved.
Contact Us - Terms of Use - Privacy Policy - 4.0.30129.1734