473,245 Members | 1,519 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,245 software developers and data experts.

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
4 2794
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Henry Miller | last post by:
I have the following code (much simplified for this post). Note that SessionKey uses DataAccess, and DataAccess requires SessionKey in it's constructor. Public Class SessionKey Public...
2
by: ernesto basc?n pantoja | last post by:
Hi everybody: I'm implementing a general C++ framework and I have a basic question about circular dependencies: I am creating a base class Object, my Object class has a method defined as:...
4
by: ro86 | last post by:
Hello everyone! I am a newbie to C++ (~1 Week experience) and I have a few months of experience with object-oriented languages (Objective-C). I am currently working just for fun on a particle...
1
by: ChrisB | last post by:
Hello: I have created several components that have the following dependency relationships: Assembly1 references assemblies A, B, and C. Assembly2 references assemblies A, B When attempting...
4
by: Henke | last post by:
I have this scenario. public class A { public int numbers; public class A() { }
2
by: Rimma Meital via .NET 247 | last post by:
(Type your message here) -------------------------------- From: Rimma Meital I have 2 DLLs (Class Libraries). Both defines single-ton objects - logger object (writes to logger) and...
3
by: Rob Clark | last post by:
Hi, I have an issue which is the ordinary and always recurring circular dependency - but I do not know how to resolve it :-( The usual forward declaration does not help... I have a client...
7
by: barias | last post by:
Although circular dependencies are something developers should normally avoid, unfortunately they are very easy to create accidentally between classes in a VS project (i.e. circular compile-time...
3
by: donnyma | last post by:
I have a problem that looks like it has not been discussed before in these groups. I have a simple SQLAgent job that runs sp_who (could be anything, but let's just say sp_who for this example). ...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.