Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Re: The directive 'Import' is unknown?


Message #1 by inferno@a... on Thu, 23 Aug 2001 13:08:04
> When i run an aspx file, i get this error message:

> 

> The directive 'Import' is unknown.

> 

> Source Line of this error:

> 

> Line 1:  <%@ Import Namespace="System.IO" %>

> 

> What can i do about this?

> 

> 

>  

Try 'import' instead of "Import"!!! 

It works...

Message #2 by formulasfatal@y... on Thu, 30 Aug 2001 14:43:21
When i'm trying to run asp.net quickstart tutorials' web services topic, i 

get this error, (Writing simple web service), MathService.asmx...since 

there is no import statement on this file, why i'm getting this msg? 

Thanx...



The directive 'Import' is unknown. 

Description: An unhandled exception occurred during the execution of the 

current web request. Please review the stack trace for more information 

about the error and where it originated in the code. 



Exception Details: System.Web.HttpException: The directive 'Import' is 

unknown.



Source Error: 



An unhandled exception was generated during the execution of the current 

web request. Information regarding the origin and location of the 

exception can be identifed using the exception stack trace below.  




  Return to Index