Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 2nd, 2005, 02:19 PM
Authorized User
Join Date: Jan 2005
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anandham
Default HTML Import Errors:

  #1 Today, 11:49 PM

Registered User
   Join Date: Jan 2005
Location: Mumbai
Posts: 25
Time spent in forums: 5 h 42 m 30 sec
Reputation Power: 0

HTML Import Errors


Hi all,
I have a ASP with

"Response.ContentType ="application/vnd.ms-excel"

But when I try to open it I'm getting the following error.

HTML Import Errors:
Problems came up in the following areas during load:

Missing file "........./Include/Style.css"

But I have the Style sheet in the proper place. Even I tried the file in the root folder also. I'm getting the same error with the proper file path. Please help me..


Prem Anandh P.
Ambition Never comes to an End
Prem Anandh P.
Ambition Never comes to an End
Old December 4th, 2005, 05:26 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 308
Thanks: 0
Thanked 0 Times in 0 Posts

because the content type is essentially forcing a download, having a relative path to your css, such as
<link rel=stylesheet type=text/css href="yourstyle.css">
won't work becuase the Excel file is saving to the user's hard drive.
There's two options:
1) Use the complete url for the stylesheet, such as
<link rel=stylesheet type=text/css href="http://yourserver/yourstyle.css">
or, in case a user later views the file when they don't have a net connection, include (NOT import) the stylesheet, such as

I am a loud man with a very large hat. This means I am in charge

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to import data from html dude153 XSLT 1 December 7th, 2007 07:12 PM
html:errors and html:messages sparun1607 Struts 0 November 23rd, 2006 08:34 AM
import xls or html Nathalie Beginning VB 6 3 April 26th, 2006 11:48 AM
Can't get errors to display with <html:errors> michaeldill JSP Basics 0 August 2nd, 2004 01:47 PM
pass html:errors to one of the frames srivalli9 BOOK: Professional Jakarta Struts 1 May 18th, 2004 12:53 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.