Forums

This topic is locked

ASP.Net Upload Error

Posted 30 Oct 2005 19:13:53
1
has voted
30 Oct 2005 19:13:53 Sam Bisignano posted:
<b>At the following DMXZone link you discussed </b>
"Pure ASP.NET Upload - Upload to variable folder"

www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=5239&LinkFile=tutorials/variable_folder/index.htm

<b>My userID login is micromuni</b>

<b>I used your example and the first part of my asp.net page is:</b>

&lt;%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %&gt;

&lt;%@ Register TagPrefix="DMXzone" NameSpace="PureUpload" Assembly="PureUpload" %&gt;

&lt;%
session.Contents("Login"="micromuni"
session.Contents("FileUploaded" = ""
%&gt;

&lt;DMXzone<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>ureFileUpload runat="server" id="pfu" ThePath="Upload/".$HTTP_SESSION_VARS['Login'] Redirect="MM_Upload_2.aspx" StoreType="file" TimeOut="600" SizeLimit="300" Extensions="" NameConflict="over" MaxHeight="" MinHeight="" RequireUpload="true" MinWidth="" MaxWidth="" SaveWidth="" SaveHeight="" FormName="form1" ProgressBar="" ProgressWidth="300" ProgressHeight="100" TheVersion="2.0.2" /&gt;


<b>I get the following server error:</b>

Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The server tag is not well formed.

Source Error:

Line 10: %&gt;
Line 11:

<font color=red>Line 12: &lt;DMXzone<img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>ureFileUpload runat="server" id="pfu" ThePath="Upload/".$HTTP_SESSION_VARS['Login'] Redirect="MM_Upload_2.aspx" StoreType="file" TimeOut="600" SizeLimit="300" Extensions="" NameConflict="over" MaxHeight="" MinHeight="" RequireUpload="true" MinWidth="" MaxWidth="" SaveWidth="" SaveHeight="" FormName="form1" ProgressBar="" ProgressWidth="300" ProgressHeight="100" TheVersion="2.0.2" /&gt;</font id=red>

Line 13: &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
Line 14:


<font color=red>Source File: D:\Webs\microm\2005\MM_Upload.aspx Line: 12 </font id=red>


<b>Can you tell me what I am doing wrong.</b>

Thanks.

micromuni


Reply to this topic