ASP circular dependency

E

Evelyne

On a server W2K, IIS5, I have many messages from ASP :
cirdular dependency between types/modules. Which can be
the origin of the problem?
Example :
Event Type: Warning
Event Source: Active Server Pages
Event Category: None
Event ID: 9
Date: 09/07/2004
Time: 09:29:25
User: N/A
Computer: xxxxx
Description:
Warning: File /Include/Connexion/OuvreConnexion.asp Line 3
Circular dependency between types/modules.
.. .
For additional information specific to this message please
visit the Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.
Event Type: Warning
Event Source: Active Server Pages
Event Category: None
Event ID: 9
Date: 09/07/2004
Time: 09:29:08
User: N/A
Computer: xxxxx
Description:
Warning: File
d:\yyyy\INFODOC\CONSULTATION\ACCUEIL\../Include/Connexion/O
uvreConnexion.asp Line 3 Circular dependency between
types/modules.
.. .
For additional information specific to this message please
visit the Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp.
 
P

Patrice

Never saw this but you I would say you have something such as :
- a.asp includes b.asp
- b.asp includes a.asp
resulting in an endless reference "loop" (actually IIS detects this
situation).

Patrice
 
E

Evelyne Germain

Here is the content of OuvreConnexion.asp
<%
Dim Cnx
Set Cnx = Server.CreateObject("ADODB.Connection")

Cnx.ConnectionString = Session("Cnx")
Cnx.ConnectionTimeout = 60
Cnx.CommandTimeout = 60
Cnx.Open
%>
and the beginning of d:\yyyy\INFODOC\CONSULTATION\ACCUEIL\accueil.asp
<%Point="../"%>
<!-- #INCLUDE FILE="../Include/Session.asp" -->
<!-- #INCLUDE FILE="../Include/Connexion/OuvreConnexion.asp" -->
<!-- #INCLUDE FILE="../Include/Fonctions.asp" -->
<!-- #INCLUDE FILE="../Ergonomie/MenuStatique.asp" -->

Regards, Evelyne


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
R

Ray at

Your file is trying to include itself:

<!-- #INCLUDE FILE="../Include/Connexion/OuvreConnexion.asp" -->

Ray at work
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,814
Latest member
SpicetreeDigital

Latest Threads

Top