467,102 Members | 1,141 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,102 developers. It's quick & easy.

ASP circular dependency

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.

Jul 19 '05 #1
  • viewed: 2499
Share:
4 Replies
What's on line 3 in OuvreConnexion.asp?

Ray at work

"Evelyne" <ge*****@agf.fr> wrote in message
news:2a*****************************@phx.gbl...
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.

Jul 19 '05 #2
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
--

"Evelyne" <ge*****@agf.fr> a écrit dans le message de
news:2a*****************************@phx.gbl...
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.

Jul 19 '05 #3

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!
Jul 19 '05 #4
Your file is trying to include itself:

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

Ray at work
"Evelyne Germain" <ge*****@agf.fr> wrote in message
news:eI**************@TK2MSFTNGP09.phx.gbl...

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!

Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Henry Miller | last post: by
2 posts views Thread by ernesto basc?n pantoja | last post: by
1 post views Thread by ChrisB | last post: by
4 posts views Thread by Henke | last post: by
2 posts views Thread by Rimma Meital via .NET 247 | last post: by
3 posts views Thread by Rob Clark | last post: by
7 posts views Thread by barias@axiscode.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.