G
Guest
Hello, I am new to asp.net.
I want to write an asp file that sends a gif image to my client img tag
as follows:
<img src=img_script.asp>Hello</img>
In my img_script.asp file I therefore need to open the image
with binary reader like so:
Imports System.IO
Dim fs As FileStream = New FileStream("c:\data.txt", FileMode.Open)
Dim r As BinaryReader = New BinaryReader(fs)
I received the following error:
Technical Information (for support personnel)
a.. Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="VB" AutoEventWireup="false"
CodeFile="Default.aspx.vb" Inherits="_Default" ' option is unknown or
invalid.
/t.asp, line 1
Thank you in advance for any assistance in solving this problem.
I want to write an asp file that sends a gif image to my client img tag
as follows:
<img src=img_script.asp>Hello</img>
In my img_script.asp file I therefore need to open the image
with binary reader like so:
Imports System.IO
Dim fs As FileStream = New FileStream("c:\data.txt", FileMode.Open)
Dim r As BinaryReader = New BinaryReader(fs)
I received the following error:
Technical Information (for support personnel)
a.. Error Type:
Active Server Pages, ASP 0221 (0x80004005)
The specified 'Page Language="VB" AutoEventWireup="false"
CodeFile="Default.aspx.vb" Inherits="_Default" ' option is unknown or
invalid.
/t.asp, line 1
Thank you in advance for any assistance in solving this problem.