Problem when deploying with xcopy

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default 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


    Cristian Suazo Guest

  2. Similar Questions and Discussions

    1. Problem Deploying
      Hi! I've had trouble deploying quite a complex Cairngorm solution so I created a mere Hello World application and tried to deploy that ~...
    2. Problem deploying to remote host
      I'm having trouble deploying a flex beta 3 project - which works fine locally - to a remote host I am putting myProject.html and myProject.swf in...
    3. Problem deploying ColdFusion on Weblogic
      Hi, I have bea Weblogic 8.1 installed on Window Server 2003. I followed this...
    4. xcopy
      i want to copy all files in c drive to other drive in dos.what command is appropriate to use.i used copy *.* but its not copying files in directory...
    5. Problem deploying web service
      Hello, I am trying to deploy a web service on a remote server. I have been able to develop the web service on my development machine using...
  3. #2

    Default Re: Problem when deploying with xcopy

    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" <gengoj@krause.com> wrote in message
    news:vhbg7nc0t7br38@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:
    > [url]www.aboutfortunate.com[/url]
    >
    > "Out of chaos comes order."
    > Nietzche
    >
    >
    > "Cristian Suazo" <crillus7@hotmail.com> wrote in message
    > news:egzqLh9SDHA.2004@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
    > >
    > >
    >
    >

    Cristian Suazo Guest

  4. #3

    Default Problem when deploying with xcopy

    Ask the Messiah
    >-----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
    >
    >
    >.
    >
    the Dude Guest

  5. #4

    Default Problem when deploying with xcopy

    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
    >
    >
    >.
    >
    the Messiah Guest

  6. #5

    Default Re: Problem when deploying with xcopy

    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" <theMessia@nospam.com> wrote in message
    news:056001c34be2$aab42290$a101280a@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
    > >
    > >
    > >.
    > >

    Cristian Suazo Guest

  7. #6

    Default Re: Problem when deploying with xcopy

    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. 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:
    >[url]www.aboutfortunate.com[/url]
    >
    >"Out of chaos comes order."
    > Nietzche
    >
    >
    >"Cristian Suazo" <crillus7@hotmail.com> wrote in message
    >news:egzqLh9SDHA.2004@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.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
    >>
    >>
    >
    >
    >.
    >
    the Dude Guest

  8. #7

    Default Re: Problem when deploying with xcopy

    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. 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:
    >[url]www.aboutfortunate.com[/url]
    >
    >"Out of chaos comes order."
    > Nietzche
    >
    >
    >"Cristian Suazo" <crillus7@hotmail.com> wrote in message
    >news:egzqLh9SDHA.2004@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.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
    >>
    >>
    >
    >
    >.
    >
    the Dude Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139