XML Parsing Error: no element found?
<p>I have a question about IIS and ASP.Net.</p>

<p>I migrated to a new server, in wich I have to run an Upload/Download Application. This application was running good in an old server, now I´m getting some parsing error, that I don´t get it where it comes.
It works when I try to donwload some files, also I have a connection and the login system works.But if I try to upload some files, then come this parsing error. At the beginning I was thinking it have to be some permissions issues, but after I added some user privileges it doesn´t make some sense.</p>

<p>XML Parsing Error: </p>

<blockquote>
  <p>no element found Location: <a href="http://www.mywebsite.com/DownloadManager/DMUpload.aspx?folderId=22767&amp;guid=271334658&amp;cancel=1" rel="nofollow">http://www.mywebsite.com/DownloadManager/DMUpload.aspx?folderId=22767&amp;guid=271334658&amp;cancel=1</a> Line Number 1, Column 1:</p>
</blockquote>

<p>And this is my upload.aspx file:</p>

<pre><code>&lt;%@ Page language="c#" Codebehind="DMUpload.aspx.cs" AutoEventWireup="false" Inherits="DownloadManager.DMUpload" EnableSessionState="ReadOnly"%&gt;
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" &gt;
&lt;HTML&gt;
  &lt;HEAD&gt;
        &lt;title&gt;DMUpload&lt;/title&gt;
        &lt;meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"&gt;
        &lt;meta content="C#" name="CODE_LANGUAGE"&gt;
        &lt;meta content="JavaScript" name="vs_defaultClientScript"&gt;
        &lt;meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"&gt;
        &lt;LINK href="StyleSheet.css" type="text/css" rel="stylesheet"&gt;
  &lt;/HEAD&gt;
    &lt;body MS_POSITIONING="GridLayout"&gt;
        &lt;form id="Form1" onsubmit="uploadpop(this);" method="post" encType="multipart/form-data"
            runat="server"&gt;
            &lt;TABLE class="navigation" id="tbNavigation" cellSpacing="0" cellPadding="0" width="100%"
                border="0"&gt;
                &lt;TR&gt;
                    &lt;TD align="right"&gt;&lt;asp:panel id="Panel4" runat="server" CssClass="panelButtons" Width="800px"&gt;
&lt;asp:button id=btSave tabIndex=3 runat="server" CssClass="butt" Text="Speichern"&gt;&lt;/asp:button&gt;
&lt;asp:button id=btBack tabIndex=3 runat="server" CssClass="butt" Text="Zurück"&gt;&lt;/asp:button&gt;
&lt;asp:button id=btLogout tabIndex=3 runat="server" CssClass="butt" Text="Logout"&gt;&lt;/asp:button&gt;
                        &lt;/asp:panel&gt;&lt;/TD&gt;
                &lt;/TR&gt;
                &lt;tr&gt;
                    &lt;TD align="left"&gt;&lt;asp:panel id="Panel1" runat="server" CssClass="panelBreadcrumb"&gt;&lt;/asp:panel&gt;&lt;asp:label id="lbBreadCrumb" runat="server" Font-Bold="True"&gt;&lt;/asp:label&gt;&lt;/TD&gt;
                &lt;/tr&gt;
            &lt;/TABLE&gt;
            &amp;nbsp;
            &lt;asp:label id="lbWarten" style="Z-INDEX: 103; LEFT: 24px; POSITION: absolute; TOP: 248px" runat="server"
                Height="40px" ForeColor="Red" Font-Size="Medium" Width="536px"&gt;bitte warten...&lt;/asp:label&gt;&lt;asp:panel id="panelUpload" style="Z-INDEX: 104; LEFT: 24px; POSITION: absolute; TOP: 96px"
                runat="server" Height="104px" Width="528px"&gt;
&lt;asp:label id=Label1 runat="server" Width="304px"&gt;Dateiauswahl:&lt;/asp:label&gt;&lt;INPUT 
id=uploadFile1 style="WIDTH: 536px; HEIGHT: 22px" type=file size=70 
runat="server"&gt; &lt;INPUT id=uploadFile2 style="WIDTH: 536px; HEIGHT: 22px" 
type=file size=70 runat="server"&gt; &lt;INPUT id=uploadFile3 
style="WIDTH: 536px; HEIGHT: 22px" type=file size=70 runat="server"&gt; &lt;INPUT 
id=uploadFile4 style="WIDTH: 536px; HEIGHT: 22px" type=file size=70 
runat="server"&gt; &lt;INPUT id=uploadFile5 style="WIDTH: 536px; HEIGHT: 22px" 
type=file size=70 runat="server"&gt;
            &lt;/asp:panel&gt;&lt;/form&gt;
        &lt;script language="javascript"&gt;

            document.getElementById("lbWarten").style.visibility = "hidden";

            function uploadpop(inForm)
            {
                document.getElementById("lbWarten").style.visibility = "visible";

                if(inForm.uploadFile1 != null)
                {
                    if(    inForm.uploadFile1.value !="" 
                        || inForm.uploadFile2.value !="" 
                        || inForm.uploadFile3.value !="" 
                        || inForm.uploadFile4.value !="" 
                        || inForm.uploadFile5.value !="")
                    {
                        strUniqueID = Math.floor(Math.random() * 1000000) * ((new Date()).getTime() % 1000);                
                        thePos = inForm.action.indexOf("?");
/*
                        if (thePos &gt;= 0)
                            inForm.action = inForm.action.substring(0, thePos);
                        inForm.action += "?guid=" + strUniqueID + "&amp;cancel=1";
*/
                        if (thePos &gt;= 0)
                            inForm.action += "&amp;guid=" + strUniqueID + "&amp;cancel=1";
                        else
                            inForm.action += "?guid=" + strUniqueID + "&amp;cancel=1";

                        window.open("DMProgressBar.aspx?guid=" + strUniqueID,"","toolbar=0,scrollbars=0,location=0,status=0,menubar=0,resizable=0,height=275,width=600,top=70,left=100");
                    }
                }               
                inForm.submit();
                return true;
            }

            function ClearInput()
            {
                node = document.getElementById("panelUpload");
                if(node != null)
                {
//                  node.removeNode(true);
                    node.parentNode.removeChild(node);
                }
                return true;
            }

        &lt;/script&gt;
    &lt;/body&gt;
&lt;/HTML&gt;
</code></pre>

<p>I really don´t get, why it doesn´t work.</p>

<p>The aspx upload have to send the file in to a temporary folder called uploads and after the file is uploaded, it have to be sended in to an oder folder wich is reserved depending of the user permissions. I noticed that the file is uploaded and save it just in the temporary folder, but then it nothing happends and I recive, like I say, a parsing error.</p>

<p>I don't know what could be the problem, I really need some help here.</p>

<p>Just an extra thing, if I try to run the aplication under localhost, i get nothing just the Homepage of the website. </p>
