Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > BOOK: Beginning ASP 3.0
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 11th, 2005, 12:46 AM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error - "UNICODE ASP files are not supported"

When I run ExecuteTransfer.asp (Chapter 7 Page 284), I receive the following error :

Error Type:
Active Server Pages, ASP 0239 (0x80004005)
UNICODE ASP files are not supported.
/begasp/page1.html, line 1

The code is below:
<HTML>
<HEAD>
<TITLE>Transfer and Execute Example</TITLE>
</HEAD>
<BODY>

<%
  Response.Write "We're here on the original page"
  Server.Execute "page1.html"
  Response.Write "We're back again on the original page"
  Server.Transfer "page2.html"
  Response.Write "We're back again on the original page"

%>
</BODY>
</HTML>

The error happens on the " Server.Execute "page1.html" statement as I don't receive this error when I have only the first Response.Write in the code. (That's why I don't think it has anything to do with the format I save the file in.

Any help would be appreciated.


  #2 (permalink)  
Old February 11th, 2005, 03:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

maybe you have page1.html saved in a Unicode format?
  #3 (permalink)  
Old February 12th, 2005, 01:36 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

pgtips - thanks, that resolved it. The Page displays fine by itself, but not when it is called from an ASP page.

Thanks for the help.

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP files generate global.asa error ebenezer BOOK: Beginning ASP 3.0 3 November 24th, 2006 01:01 AM
error 'File format no longer supported' Kris DExelle VB Components 2 May 15th, 2006 05:10 PM
onkeypress not supported in asp.net 2.0 ?? savan_thakkar ASP.NET 2.0 Professional 1 March 19th, 2006 03:46 PM
Is Crystal Report 8.5 Unicode Supported ? hafizfarooq Crystal Reports 2 June 3rd, 2005 01:10 AM
Error "Unicode wrapper not found" malkav Crystal Reports 0 August 6th, 2004 02:50 PM



All times are GMT -4. The time now is 06:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.