Anonymous access and authentication

2003-11-26 Thread Allan Clarke
Hello everybody, 

I'm trying to call a .asp file from my coldfusion page

using cfhttp. When I browse the the cfm file in the
browser, I see this message displayed on the browser:

You are not authorized to view this page 
You do not have permission to view this directory or
page using the credentials you supplied. 

HTTP 401.2 - Unauthorized: Logon failed due to server
configuration Internet Information Services

Now here is the code in the asp file (user.asp)

<%

Set ADSys = CreateObject("ADSystemInfo")

response.write "User=" & ADSys.UserName

%>

Here is the code in the coldfusion file
(getuserdetails.cfm)


timeout="30"/>
#CFHTTP.FileContent#

As you can see, I'm trying to get the user information
from the active directory. To get round the error
message I described above, I went to the webserver IIS
Management Console, right clicked on the file
user.asp, hit the "File Security" tab, hit the "Edit"
button under "Anonymous access and authentication
control" and ticked the "Annoymous access" check box.

Now that anonymous access permissions are set on the
file, when I call this file with the cfhttp tag, I
don't see the error I was getting earlier (HTTP 401.2
-
Unauthorized: Logon failed due to server configuration
Internet Information Services), but I get an asp error
(error '80070534') and I know I get this error because
active directory does not know who to look for because
anonymous access permissions are set on the file. I
don't know what to do from this point, was hoping
somebody might know or have a solution to this
problem.

Best Regards
cf coder

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




help with div's and form fields

2003-11-21 Thread Allan Clarke
Hi Everybody,
I really need a second opinion from someone on using
DIV's. My page has a form with two div's, the first
div, has two text fields and a button with a onClick
event. When the user hits the button, the second div
is displayed. Here's my code:



    DIV Example


.normal{position:absolute;top:100px;left:100px;display:inline;}
.hidden{position:absolute;top:-200px;left:-200px;display:none;}

function pressedGo(){
    if (document.getElementById("superDiv1").className
== "hidden"){
   document.getElementById("superDiv1").className =
"normal";
   document.getElementById("superDiv").className =
"hidden";
 }
}
  
                Enter user name name="userName"> or area       >                          name="txtField1"> name="txtField2"> name="txtField3"> name="txtField4">     The code above is fairly st8forward, I hope. What I want it to actually do is pass the usename form field value from div 1 and pass the value to a query in div 2 and display the user details in the div 2 text fields without actually submitting the form. Is this possible? Is there any other way at all to do this sort of a thing? Many Thanks CF Developer __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

form variables not passed to action page - please help!

2003-11-03 Thread Allan Clarke
Hi Guys,
Am really hoping for someone to help me. I have this
problem and can't find a solution. I have a form with
two buttons with an onClick event each. Each button
calls a _javascript_ function. When the user clicks on
the button, I'm assigning all form field values to
hidden variables. When I dump the form values on the
action page,
I see the form field values (including hidden form
field values) for button 1, but don't see the same
when button 2 is clicked. Here is my code



  function rentSubmit()
  {
 with (document.the_form) {
FirstName_hid.value = FirstName.value;
  LastName_hid.value = LastName.value;
    }
    document.the_form.action = "">     document.the_form.submit();
  }

  function orderSubmit()
  {
  with (document.the_form) {
  FirstName_hid.value = FirstName.value;
    LastName_hid.value = LastName.value;
  }
    document.the_form.action = "">     document.the_form.submit();
  }
  
   value="" size="56"> value="" size="56">         > > When I click on the "Rent" button, I am taken to RentalForm.cfm. In this file, I have a It dumps all the form variables as I expect it to. But when I click on the "Order" button, I get directed to OrderForm.cfm but the cfdump on that page displays nothing. I don't understand why I don't see the form variables? Can somebody show/tell me how to fix this problem. Many Thanks, Allan __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

cfhttp returns nothing

2003-10-27 Thread Allan Clarke
Hi Everybody,

I am trying to invoke a .asp file using the cfhttp
tag. 


method="GET"/>

Here is my asp code:

<[EMAIL PROTECTED]"VBSCRIPT"%>
<%
	Dim userEmail
	userEmail = session("user.email")
	Response.Write userEmail
	response.write request.Cookies("user.email")
%>

When I dump the responseheader cfhttp attribute
, this is what
gets returned

Cache-control private 
Connection close 
Content-Length 0 
Content-Type text/html 
Date Mon, 27 Oct 2003 14:29:50 GMT
Explanation OK 
Http_Version HTTP/1.1 
Server Microsoft-IIS/5.0 
Set-Cookie struct 
1 user%2Eemail=; path=/ 
2 ASPSESSIONIDCAACRDRT=MCFBGIHCKINECGDGCJHAHDPL;
path=/ 

 
Status_Code 200 

cfhttp.filecontent returns nothing. I can't understand
why the session and cookie scope variables are not
returned. I am using coldfion mx, I don't have a
application.cfm file, all the session and cookie
variables are declared and set in the asp global.asa
file. Please can somebody help me

Many Thanks
Allan

__
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Hidden variables and passing data from one page to another

2003-10-23 Thread Allan Clarke
Hello Everybody, I desperately need someone to help
me. I am working on a Order Form, users can rent or
buy desktops. I have a form with a couple of text
fields and drop downs common to users renting and
ordering desktops. There are two submit
buttons "rent" and "buy". The user fills in the
textboxes and select boxes and hits on "rent" or
"buy".  The form method is "post".
If the user hits the "rent" button, I want the user to
be taken to another page "rent.html" passing all the
form field values in hidden variables,
similarly when the user hits on "buy" button, I want
the user to be taken to "buy.html" passsing all the
form field values in hidden variables. I don't 
know how to pass hidden variables to the action page
and retreive their values in the action page. Can
somebody please show me
how to do this. I am not using any server side
language, only _javascript_ and html. Is it possible to
do this in client side language? Please can somebody
show me how to do this.

Here is my form




  Order
Date
  
  
size="56">


  
height="22">Telephone Extension
  
  
size="56">



 
        Current_Affairs
        Finances
 




align="center">

    
name="rentsubmit" value="rent">
    
name="buysubmit" value="buy">




Many Thanks
Allan

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Form and hidden variable question

2003-10-20 Thread Allan Clarke
Hi Guys,

I desparately need somebody to help me. I have a form
which has hidden variable, a textarea and a submit
button. When the submit button is clicked a OnClick
event calls a function subme() method. Here is my code



 VALUE="Calculate">

rows="5">



Here is the javacript code:


function subme() {
method1();
document.frm.outputselection.value = PagecontentA +
PagecontentB + PagecontentC;
alert(document.frm.outputselection.value);
document.frm.submit();
}

function method1(){
PagecontentA ="Hello";
PagecontentB ="And";
PagecontentC ="Welcome";
}

When browsed in the browser on form submission the alert displays the value "Hello And Welcome" but for some reason when I view the source in the browser the value of the hidden variable "outputselection" is empty. I want to populate the textbox with the value in the hidden variable. I am struggling to do this. Can somebody please show me how to do this, I would really appreciate your help Best Regards, Allan __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

CFHTTP Question!

2003-10-17 Thread Allan Clarke
Hello everybody,

I'm trying to call a .asp file from my coldfusion page
using cfhttp and I keep getting errors. Both files are
on the same server, just different folders under the
site webroot.
This should explain it:

The ColdFusion file is in
C:\Inetpub\wwwroot\myProject\pages\folder1\searchreport.cfm

and the ASP file is in
C:\Inetpub\wwwroot\myProject\site\includes\topmenu\folder2\menu.asp.

Can somebody show me how to use cfhttp to call the asp
file (menu.asp) in my coldfusion file
(searchreport.cfm)

Many Thanks
Allan

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFFILE Question

2003-10-15 Thread Allan Clarke
Hello Everybody,

I want to see the contents of a directory on the
server. I know there is a function in CF to do this,
GetTemplatePath, cfdirectory or something (not sure).
The directory path will not change. I want to first
get to the directory and then find all log files in
the directory beginning with "SupportiSearches". There
are going to be more than one file with that name. The
idea is to append the contents of log files into one
log file. 

To give you a better understanding, take for instance
there are 2 log files under the directory called:
Support2003-09.log and Support2003-08.log. I want to
read the contents stored in these files, both files
are identical in that the content is comma separated
and both files have the same no of columns. I want to
read the contents of the files using cffile and append
the contents stored in the files in one file. I hope
this is making sense. Can somebody please show me how
to do this.

Best Regards
Allan

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SQL Statement help!

2003-10-10 Thread Allan Clarke
I was wondering if the SQL gurus out there could help.
I have this table that keps a log
of the user search activity. For ex, on the site
search page of the site, if a user searches for
a keyword "test", it gets stored on the database table
along with other details like the
username, date/time, search category and the results
found.
The columns are
DateTime, UserName, SearchKeyword, SearchCategory and
ResultsFound

I am displaying this information in a report to the
admin user.

It currently displays all the information using a
simple select statement. I want to
display all search keywords a user has searched for in
one row.
So instead of displaying the information like this
09/09/2003 17:41:26  powerpoint	testUser1
09/09/2003 18:42:26  word	testUser1
09/09/2003 19:44:26  excel	testUser1
09/09/2003 20:45:26  notepad	testUser1

I want to display it like this
In the last 7 days
powerpoint,word,excel,notepadtestUser1

Can somebody show me how to do this please
Best Regards
Allan

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SQL Help - Correct Post

2003-10-09 Thread Allan Clarke

  action="">

 
file="C:\Inetpub\wwwroot\logReport\dtSearchWeb2003-09.log"
  variable="fOutput">


QueryNew("DateTime,UserName,SearchString,IndexName,ResultsFound,Status")>

delimiters="#Chr(10)#">

  
  tmp = QueryAddRow(qTmp,1);
  tmp=QuerySetCell(qTmp,"DateTime",
Replace(listGetAt(fileLine,1),,"","All"));
  tmp=QuerySetCell(qTmp,"UserName",
Replace(LCase(listGetAt(fileLine,2)),,"","All"));
  tmp=QuerySetCell(qTmp,"SearchString",
Replace(listGetAt(fileLine,3),,"","All"));
  tmp=QuerySetCell(qTmp,"IndexName",
Replace(ListLast(listGetAt(fileLine,4),'\'),,"","All"));
  tmp=QuerySetCell(qTmp,"ResultsFound",
Replace(listGetAt(fileLine,5),,"","All"));
  tmp=QuerySetCell(qTmp,"Status",
Replace(listGetAt(fileLine,6),,"","All"));
  



Hi Everybody,

The above code reads the log file and inserts the file
content in an empty query with a set of columns. 

The log file stores a log of what the user has been
searching on the site search. For example if the user
searches for the keyword "Fusion", the log file stores
the information like this:

Date/Time Keyword	Category		  Results Returned
Status	UserName

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SQL Help - Correct Post

2003-10-09 Thread Allan Clarke

  action="">

 
file="C:\Inetpub\wwwroot\logReport\dtSearchWeb2003-09.log"
  variable="fOutput">


QueryNew("DateTime,UserName,SearchString,IndexName,ResultsFound,Status")>

delimiters="#Chr(10)#">

  
  tmp = QueryAddRow(qTmp,1);
  tmp=QuerySetCell(qTmp,"DateTime",
Replace(listGetAt(fileLine,1),,"","All"));
  tmp=QuerySetCell(qTmp,"UserName",
Replace(LCase(listGetAt(fileLine,2)),,"","All"));
  tmp=QuerySetCell(qTmp,"SearchString",
Replace(listGetAt(fileLine,3),,"","All"));
  tmp=QuerySetCell(qTmp,"IndexName",
Replace(ListLast(listGetAt(fileLine,4),'\'),,"","All"));
  tmp=QuerySetCell(qTmp,"ResultsFound",
Replace(listGetAt(fileLine,5),,"","All"));
  tmp=QuerySetCell(qTmp,"Status",
Replace(listGetAt(fileLine,6),,"","All"));
  



Hi Everybody,

The above code reads the log file and inserts the file
content in an empty query with a set of columns. 

The log file stores a log of what the user has been
searching on the site search. For example if the user
searches for the keyword "Fusion", the log file stores
the information like this:

Date/Time Keyword	Category		  Results Returned
Status	UserName

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




SQL Help

2003-10-09 Thread Allan Clarke

  action="">

 
file="C:\Inetpub\wwwroot\logReport\dtSearchWeb2003-09.log"
  variable="fOutput">


QueryNew("DateTime,UserName,SearchString,IndexName,ResultsFound,Status")>

delimiters="#Chr(10)#">

  
  tmp = QueryAddRow(qTmp,1);
  tmp=QuerySetCell(qTmp,"DateTime",
Replace(listGetAt(fileLine,1),,"","All"));
  tmp=QuerySetCell(qTmp,"UserName",
Replace(LCase(listGetAt(fileLine,2)),,"","All"));
  tmp=QuerySetCell(qTmp,"SearchString",
Replace(listGetAt(fileLine,3),,"","All"));
  tmp=QuerySetCell(qTmp,"IndexName",
Replace(ListLast(listGetAt(fileLine,4),'\'),,"","All"));
  tmp=QuerySetCell(qTmp,"ResultsFound",
Replace(listGetAt(fileLine,5),,"","All"));
  tmp=QuerySetCell(qTmp,"Status",
Replace(listGetAt(fileLine,6),,"","All"));
  



Hi Everybody,

The above code reads the log file and inserts the file
content in an empty query with a set of columns. 

The log file stores a log of what the user has been
searching on the site search. For example if the user
searches
for the keyword "Fusion", the log file stores the
information like this:

Date/TimeKeyword	Category		  Results
Returned	Status	UserName

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Help with Regular Expressions

2003-10-08 Thread Allan Clarke
I want to use a regular _expression_ that 
finds any commas that are between quotation marks and
either escapes them or replaces them

Here is an my string.

2003/09/09 14:49:05, "TestUser1",
"/Doc/News/Budgeting,Forecasting & Reporting.doc",
"OK" 

As you can see "/Doc/News/Budgeting,Forecasting &
Reporting.doc" has a comma in it. The example above is
a list with 4 items:

2003/09/09 14:49:05
"TestUser1"
"/Doc/News/Budgeting,Forecasting & Reporting.doc"
"OK"

But because the string
("/Doc/News/Budgeting,Forecasting & Reporting.doc")
has
a comma the list len comes back with 5 items which is
wrong. Can you show me how to get around this? Many Thanks

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Looping through a list, setting each listItem to a column

2003-10-08 Thread Allan Clarke
Hello Everybody,

I am trying to read a log file and display the results
on a webpage.
Here is what the log file looks.

DateTime   User		Webpage Visited	   Status
2003/09/01 11:52:15, "User\testUser1",
"/wwwroot/code/article_1.shtml", "OK"
2003/09/01 11:53:35, "User\testUser2",
"/wwwroot/code/article_2.shtml", "OK"
2003/09/01 12:04:55, "User\testUser3",
"/wwwroot/code/article_3.shtml", "OK"
2003/09/01 12:04:58, "User\testUser4",
"/wwwroot/code/article_4.shtml", "OK"
2003/09/01 12:05:11, "User\testUser5",
"/wwwroot/code/article_5.shtml", "OK"

Here is the code to read the log file

	action="">
	file="C:\myLogFile.log" 
	variable="fOutput">

Take a look at the code below. As you can see I am
looping through the list, finding the Carriage Return
character.
This is all fine, what I want to be able to do is loop
through each individual row which is again a comma
seprated list 

(2003/09/01 11:52:15, "User\testUser1",
"/wwwroot/code/article_1.shtml", "OK") append each
list item in a temp table column.



delimiters="#Chr(10)#">
	
	
	
   
delimiters=",">
	
	tmp=QuerySetCell(qTmp,"DateTime", innerList);
	tmp=QuerySetCell(qTmp,"User", innerList);
	tmp=QuerySetCell(qTmp,"Document", innerList);
	tmp=QuerySetCell(qTmp,"Status", innerList);
	
	
   



	SELECT DISTINCT *
	FROM qTmp


The code above is not right, and I've tried hard to
figure out how to loop through the inner comma
separated list and assign the value to the query
column. Can somebody
please show me how to do this. I know my explaination
is not very clear but I hope you know what I'm trying
to do.
If you think there is an easier way to do this then
please let me know. Please can somebody help
Regards
John

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Error when trying to create a datasource from the CFMX Administrator

2003-09-03 Thread Allan Clarke
I get this error when I try to create a data source
from the CFMX Administrator.

Element ISJ2EE is undefined in DS.

The error occurred in
D:\CFusionMX\wwwroot\CFIDE\administrator\datasources\index.cfm:
line 448
Called from
D:\CFusionMX\wwwroot\CFIDE\administrator\datasources\index.cfm:
line 434
Called from
D:\CFusionMX\wwwroot\CFIDE\administrator\datasources\index.cfm:
line 371
Called from
D:\CFusionMX\wwwroot\CFIDE\administrator\datasources\index.cfm:
line 1

Can somebody please tell me how to correct this

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


CFCONTENT - CF5

2003-08-29 Thread Allan Clarke
Hello Everybody,

I'm trying to get ColdFusion to display unicode data
in a csv file. I'm using the CFCONTENT tag to open the
csv file passing it the content. When the data is
viewed in the csv file, the content with special
characters is not displayed in utf encoded format. Is
there any way to change the encoding format MS-Excel
uses from within the cfcontent tag?




__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Special Characters - Display Issue - CF 5

2003-08-28 Thread Allan Clarke
I don't know how to escape special characters and
display them in HTML Safe Format. This is a french
banking application and there are banks with funny
names, ex: Crédit France, Zürcher Kantonalbank, è,
Ä, acute and the like. The bank Crédit France gets
displayed like this on the browser: Crédit France.
Can somebody please show me how to display it
correctly. I've tried HTMLEditFormat() but it does
change anything.

Regards,
Allan 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


See a blank page when I run a .cfm file

2003-08-17 Thread Allan Clarke
I have this strange problem. I'm running coldfusion MX
on my Win2k server and IIS 5.0. For some reason when I
run a .cfm file on my localhost:
http://localhost/test.cfm, all I see is a BLANK Page.
When I view the source, I see this:






I can't run cf administrator or call any ColdFusion
File. I don't know what's happenning, it was all
working last week. I've checked the IIS App Mappings,
and I see the .cfm, .cfc, .cfml and .jsp application
mappings for my default website.

I can run a .html and a .asp file, its just
coldfusion.

Can somebody tell me how to fix this problem. I'm just
stranded and don't know what to do.

Cheers
Allan

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


calculating the date and time.

2003-07-30 Thread Allan Clarke
Hi All,

I was hoping somebody could help me. I'm trying to
display the date and time. This is how I want to
display it:

If the current time is 10:05, I want to display the
time in this format:

In the last hour (09:05 - 10:04)

If the current time is 10:05 and the date is 30.July,
I want to display the date time in this format:

In the last 24 hours (29 Jul 2003 10:00 - 30 Jul 2003
09:59)

If the current time is 10:05 and the date is 30.July,
I want to display the date time in this format:

In the last 7 days (23 Jul 2003 01:00 - 30 Jul 2003
00:59)

If the current time is 10:05 and the date is 30.July,
I want to display the date time in this format:

In the last 30 days (30 Jun 2003 01:00 - 30 Jul 2003
00:59)

Many thanks in advance.

Allan

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Trusted Cache Question

2003-07-24 Thread Allan Clarke
How can I not cache a coldfusion page even though the
"Trusted Cache" option is switched on in CF
Administrator. I'm working with CF5?


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



SiteMinder Service Status

2003-07-22 Thread Allan Clarke
Does anyone know how to programatically test if the
SiteMinder Authentication/Authorization service is
running. I'm currently using the cfauthenticate tag to
do this but even after stopping the services
ColdFusion thinks SiteMinder is still running, I guess
because coldfusion caches the SiteMinder policy.

I want my ColdFusion script to be able to correctly
display the SiteMinder service status. Is there a way
other than using the cfauthenticate tag to test if the
SiteMinder service is running. BTW I'm using CF5

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



How to Flush ColdFusion and Security Server Caches Programatically?

2003-07-21 Thread Allan Clarke
Hi all,

I'm using ColdFusion 5 and Advanced Security. I want
to be able to flush the SiteMinder Authorization and
Authentication Caches. The way I do it now is by going
to the CF Admin -> Security Configuration and then
click on the "Flush All" button.

I want to know if it is possible to use some
coldfusion tag to do this programatically. I'll
appreciate your help.

Regards
Allan

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



LDAP Monitoring Utility/Tool/CF Script

2003-07-15 Thread Allan Clarke
Hi,
I'm searching for a free LDAP monitoring utility/tool
or atleast a script. Basically I want to have an
update of the LDAP Server at all times. The
utility/script should alert me when something goes
wrong (service stops/fails). I am using Nagios. Nagios
is a feature-rich network monitoring package. It can
also be configured to send alerts and perform other
actions when problems are detected.

Is there anyone who can help me?
Thanks

Allan

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Coldfusion MX installer problem - Please help

2003-07-02 Thread Allan Clarke
Excellent! That worked, thanks for sending that link
Cheers
Allan

--- Christine Lawson <[EMAIL PROTECTED]> wrote:
> Hi Allan,
> Take a look at this article
>
http://www.macromedia.com/support/coldfusion/ts/documents/configure_web_server_option.htm
> and make the registry key change. You should then be
> prompted to co-exist.
> 
> Christine
> 
> 
> 
> -----Original Message-
> From: Allan Clarke
> [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 01, 2003 12:45 PM
> To: CF-Talk
> Subject: Coldfusion MX installer problem - Please
> help
> 
> 
> I have ColdFusion 5 installed on my machine. I ma
> now
> trying to install ColdFusion MX. When I run the CD,
> the install sheild window opens up, and I get the
> msg "Preparing to Install" and then I see the
> ColdFusion MX - Install Wizard, clickin on next
> takes me to the license agreement window. I have
> read in few articles that the MX installer detects
> the current version of ColdFusion on the machine and
> brings up a window with an option to co-exist with
> CF 5 or Update delete CF 5 and run on IIS.
> 
> For some reason I don't see these options during
> installation. I want to run ColdFusion MX on IIS
> deleting the existing CF 5. Can somebody please tell
> me what I should be doing to see this option during
> installation.
> 
> Regards
> Allan
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com 
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Coldfusion MX installer problem - Please help

2003-07-01 Thread Allan Clarke
I have ColdFusion 5 installed on my machine. I ma now
trying to install ColdFusion MX. When I run the CD,
the install sheild window opens up, and I get the msg
"Preparing to Install" and then I see the ColdFusion
MX - Install Wizard, clickin on next takes me to the
license agreement window. I have read in few articles
that the MX installer detects the current version of
ColdFusion on the machine and brings up a window with
an option to co-exist with CF 5 or Update delete CF 5
and run on IIS.

For some reason I don't see these options during
installation. I want to run ColdFusion MX on IIS
deleting the existing CF 5. Can somebody please tell
me what I should be doing to see this option during
installation.

Regards
Allan

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



How to edit User Directory (Advanced Security) details in ColdFusion MX

2003-06-18 Thread Allan Clarke
Hi Guys,

have a question for you all. I have recently migrated
from CF5 to MX and Spectra 1.5.2. My CF 5 application
uses Site Minder (Advanced Secuirty) to connect to an
LDAP Server.

I have four security contexts and 4 user directories.
So access to the site is restricted and only users
having proper permissions can login to the site.

Now then, when it came to migrating to MX and Spectra,
I first updated to Spectra 1.5.2 on CF5 from Spectra
1.5.1. Tested the site, and it all worked without any
errors.

Updated to MX on IIS. Ran the webtop, the spectra
configuration wizard opened up, was prompted to enter
the User Directory username and password for the 4
user directories. Clicked on next and then completed
the process, could login to the webtop, all worked
fine.

Later on I realised that I entered a wrong password
for one of the user directories. When I tried login in
to the site with a username under that user directory,
it failed. What I now want to know is if it is
possible in CFMX to edit the user directory details?

I'll appreciate your help.

Best Regards,
Allan

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Remoting - Access from Flash to web services - BabelFish

2003-06-16 Thread Allan Clarke
I did that, you probably didn't read my original
thread :). I now get an error,
'NetConnection.Call.BadVersion'. This is way out of my
hands, I have tried everything to fix this, but keep
getting a error.


--- Chris Kief <[EMAIL PROTECTED]> wrote:
> With Updater 3, Macromedia disabled the use of web
> services through the
> Flash Remoting gateway in CFMX. Remoting with CFCs
> works just fine
> still...just web services are off. You'll need to
> re-enable them...see this
> technote (watch for wrapping):
> 
>
http://www.macromedia.com/support/coldfusion/ts/documents/enable_flash_webse
> rvices.htm
> 
> Let me know how that goes for you...chris
> 
> 
> 
> >-Original Message-
> >From: Allan Clarke
> [mailto:[EMAIL PROTECTED]
> >Sent: Monday, June 16, 2003 9:11 AM
> >To: CF-Talk
> >Subject: RE: Remoting - Access from Flash to web
> services - BabelFish
> >
> >Yes I have Updater 3 installed
> >
> >--- Chris Kief <[EMAIL PROTECTED]> wrote:
> >> Are you running CFMX with Updater 3 installed?
> >>
> >> chris
> >>
> >>
> >>
> >> >-Original Message-
> >> >From: Allan Clarke
> >> [mailto:[EMAIL PROTECTED]
> >> >Sent: Monday, June 16, 2003 8:56 AM
> >> >To: CF-Talk
> >> >Subject: Remoting - Access from Flash to web
> >> services - BabelFish
> >> >
> >> >I downloaded the Babelfish sample application
> >> source
> >> >code from the macromedia website:
> >>
>
>>http://www.macromedia.com/support/flash/flashremoting/consuming_ws_using_c
> >f
> >> >mx/
> >> >
> >> >Extracted the code in my CFMX wwwroot folder.
> >> Opened
> >> >the file: Babelfish.fla in Flash MX, brought up
> the
> >> >NetConnectionDebugger and exported the flash
> movie.
> >> >For those of you who have downloaded this sample
> >> >application, when I click on the 'Translate'
> >> button, I
> >> >get the following error.
> >> >
> >> >DebugId: 0
> >> >EventType: "Status"
> >> >MovieUrl: "file:///D|/CFusionMX/wwwroot/Flash
> And
> >> >Remoting/cfmx_flashmx_webservice/babelfish.swf"
> >> >Protocol: "http"
> >> >Source: "Client"
> >> >Time: 1055776690024
> >> >Date (object #1)
> >> >."Mon Jun 16 16:18:10 GMT+0100 2003"
> >> >Status (object #2)
> >> >.code: "SERVER.PROCESSING"
> >> >.description: "Service threw an exception
> >> during
> >> >method invocation: No service named
> >>
>
>>http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> >> >is known to Flash Remoting MX."
> >> >.details:
> >> >"flashgateway.adapter.NoSuchServiceException: No
> >> >service named
> >>
>
>>http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> >> >is known to Flash Remoting MX.
> >> >at
> >>
>
>>flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:251)
> >> >at
> >>
>
>>flashgateway.filter.SecurityFilter.invoke(SecurityFilter.java:84)
> >> >at
> >>
>
>>flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:58)
> >> >at
> >>
>
>>flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:44)
> >> >at
> >>
>
>>flashgateway.filter.LogFilter.invoke(LogFilter.java:43)
> >> >at
> >>
>
>>flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
> >> >at
> >>
>
>>flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
> >> >at
> >>
>
>>flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:59
> >)
> >> >at flashgateway.Gateway.invoke(Gateway.java:194)
> >> >at
> >>
>
>>flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
> >> >at
> >>
>
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >> >at
> >>
>
>>jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> >> >at
> >>
>
>>jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> >> >at
> >>
>
>>jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
> >> >at
> >>

RE: MS AD

2003-06-16 Thread Allan Clarke
the 'port' attribute is missing. Adding this will fix
your problem

--- Marlon Moyer <[EMAIL PROTECTED]> wrote:
> Have you tried giving it a username and password?
> 
> 
> 
> -Original Message-
> From: Shahzad.Butt
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2003 10:54 AM
> To: CF-Talk
> Subject: MS AD
> 
> 
> How can I query MS Active Directory and get a list
> of all emails for
> users in AD?? My impression was that something like
> 
> server = "TestServer"
>action = "query"
>name = "results"
>start = "cn = shaz,c = US"
>filter = "(cn = shaz)"
>attributes =
> "cn,o,l,st,c,mail,telephonenumber"
>sort = "cn ASC">
> 
> 
> should work but its giving following error
> 
> "
> An error has occured while trying to execute query
> operation on the LDAP
> Server.
> One or more of the required attributes may be
> missing/incorrect or you
> do not have permissions to execute this operation on
> the server
> 
> "
> Thanks
> Shaz
> 
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Remoting - Access from Flash to web services - BabelFish

2003-06-16 Thread Allan Clarke
I don't agree with that. I can see the wsdl: 
http://www.xmethods.net/sd/2001/BabelFishService.wsdl

Cheers
Allan

--- Graham Pearson <[EMAIL PROTECTED]> wrote:
> I got the same error message and i have discovered
> it has to do with the
> WebService not being at the location on xmethods.net
> 
> --
>
===
> Graham Pearson, System Administrator / Certified
> Webmaster / Published
> Northern Indiana Educational Services Center
> Voice: (574) 254-0444 Ext 108 / (800) 326-5642 Fax:
> (574) 254-0148
> Http://www.niesc.k12.in.us  Email:
> [EMAIL PROTECTED]
>
=======
> 
> 
> 
> On Mon, 16 Jun 2003, Allan Clarke wrote:
> 
> > I downloaded the Babelfish sample application
> source
> > code from the macromedia website:
> >
>
http://www.macromedia.com/support/flash/flashremoting/consuming_ws_using_cfmx/
> >
> > Extracted the code in my CFMX wwwroot folder.
> Opened
> > the file: Babelfish.fla in Flash MX, brought up
> the
> > NetConnectionDebugger and exported the flash
> movie.
> > For those of you who have downloaded this sample
> > application, when I click on the 'Translate'
> button, I
> > get the following error.
> >
> > DebugId: 0
> > EventType: "Status"
> > MovieUrl: "file:///D|/CFusionMX/wwwroot/Flash And
> > Remoting/cfmx_flashmx_webservice/babelfish.swf"
> > Protocol: "http"
> > Source: "Client"
> > Time: 1055776690024
> > Date (object #1)
> > ."Mon Jun 16 16:18:10 GMT+0100 2003"
> > Status (object #2)
> > .code: "SERVER.PROCESSING"
> > .description: "Service threw an exception
> during
> > method invocation: No service named
> >
>
http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> > is known to Flash Remoting MX."
> > .details:
> > "flashgateway.adapter.NoSuchServiceException: No
> > service named
> >
>
http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> > is known to Flash Remoting MX.
> > at
> >
>
flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:251)
> > at
> >
>
flashgateway.filter.SecurityFilter.invoke(SecurityFilter.java:84)
> > at
> >
>
flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:58)
> > at
> >
>
flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:44)
> > at
> >
>
flashgateway.filter.LogFilter.invoke(LogFilter.java:43)
> > at
> >
>
flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
> > at
> >
>
flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
> > at
> >
>
flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:59)
> > at flashgateway.Gateway.invoke(Gateway.java:194)
> > at
> >
>
flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
>
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> > at
> >
>
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> > at
> >
>
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
> > at
> >
>
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> > at
> >
>
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
> > at
> >
>
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
> > at
> >
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
> > at
> >
>
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
> > at
> >
>
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> > "
> > .level: "error"
> > .type:
> > "flashgateway.adapter.NoSuchServiceException"
> >
> > The gateway connection is : myService =
> >
>
gateway_conn.getService("http://www.xmethods.net/sd/2001/BabelFishService.wsdl";;,
> > this);
> >
> > Its not just this example, any exmaple that uses a
> > wsdl to connect to webservice fails. I can however
> > connect to a webservice if I use a cfc, for ex:
> > googleService =
> >
>
gateway_conn.getService("google_search.googleService",
> > this);
> >
> > I read this article on the macromedia site:
> >
>
http://www.macromedia.com/support/coldfusion/

Re: Remoting - Access from Flash to web services - BabelFish

2003-06-16 Thread Allan Clarke
I don't agree with that. I can see the wsdl: 
http://www.xmethods.net/sd/2001/BabelFishService.wsdl

Cheers
Allan

--- Graham Pearson <[EMAIL PROTECTED]> wrote:
> I got the same error message and i have discovered
> it has to do with the
> WebService not being at the location on xmethods.net
> 
> --
>
===
> Graham Pearson, System Administrator / Certified
> Webmaster / Published
> Northern Indiana Educational Services Center
> Voice: (574) 254-0444 Ext 108 / (800) 326-5642 Fax:
> (574) 254-0148
> Http://www.niesc.k12.in.us  Email:
> [EMAIL PROTECTED]
>
=======
> 
> 
> 
> On Mon, 16 Jun 2003, Allan Clarke wrote:
> 
> > I downloaded the Babelfish sample application
> source
> > code from the macromedia website:
> >
>
http://www.macromedia.com/support/flash/flashremoting/consuming_ws_using_cfmx/
> >
> > Extracted the code in my CFMX wwwroot folder.
> Opened
> > the file: Babelfish.fla in Flash MX, brought up
> the
> > NetConnectionDebugger and exported the flash
> movie.
> > For those of you who have downloaded this sample
> > application, when I click on the 'Translate'
> button, I
> > get the following error.
> >
> > DebugId: 0
> > EventType: "Status"
> > MovieUrl: "file:///D|/CFusionMX/wwwroot/Flash And
> > Remoting/cfmx_flashmx_webservice/babelfish.swf"
> > Protocol: "http"
> > Source: "Client"
> > Time: 1055776690024
> > Date (object #1)
> > ."Mon Jun 16 16:18:10 GMT+0100 2003"
> > Status (object #2)
> > .code: "SERVER.PROCESSING"
> > .description: "Service threw an exception
> during
> > method invocation: No service named
> >
>
http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> > is known to Flash Remoting MX."
> > .details:
> > "flashgateway.adapter.NoSuchServiceException: No
> > service named
> >
>
http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> > is known to Flash Remoting MX.
> > at
> >
>
flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:251)
> > at
> >
>
flashgateway.filter.SecurityFilter.invoke(SecurityFilter.java:84)
> > at
> >
>
flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:58)
> > at
> >
>
flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:44)
> > at
> >
>
flashgateway.filter.LogFilter.invoke(LogFilter.java:43)
> > at
> >
>
flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
> > at
> >
>
flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
> > at
> >
>
flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:59)
> > at flashgateway.Gateway.invoke(Gateway.java:194)
> > at
> >
>
flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
> > at
> >
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > at
> >
>
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> > at
> >
>
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> > at
> >
>
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
> > at
> >
>
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> > at
> >
>
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
> > at
> >
>
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
> > at
> >
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
> > at
> >
>
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
> > at
> >
>
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> > "
> > .level: "error"
> > .type:
> > "flashgateway.adapter.NoSuchServiceException"
> >
> > The gateway connection is : myService =
> >
>
gateway_conn.getService("http://www.xmethods.net/sd/2001/BabelFishService.wsdl";;,
> > this);
> >
> > Its not just this example, any exmaple that uses a
> > wsdl to connect to webservice fails. I can however
> > connect to a webservice if I use a cfc, for ex:
> > googleService =
> >
>
gateway_conn.getService("google_search.googleService",
> > this);
> >
> > I read this article on the macromedia site:
> >
>
http://www.macromedia.com/support/coldfusion/

RE: Remoting - Access from Flash to web services - BabelFish

2003-06-16 Thread Allan Clarke
Yes I have Updater 3 installed

--- Chris Kief <[EMAIL PROTECTED]> wrote:
> Are you running CFMX with Updater 3 installed?
> 
> chris
> 
> 
> 
> >-Original Message-
> >From: Allan Clarke
> [mailto:[EMAIL PROTECTED]
> >Sent: Monday, June 16, 2003 8:56 AM
> >To: CF-Talk
> >Subject: Remoting - Access from Flash to web
> services - BabelFish
> >
> >I downloaded the Babelfish sample application
> source
> >code from the macromedia website:
>
>http://www.macromedia.com/support/flash/flashremoting/consuming_ws_using_cf
> >mx/
> >
> >Extracted the code in my CFMX wwwroot folder.
> Opened
> >the file: Babelfish.fla in Flash MX, brought up the
> >NetConnectionDebugger and exported the flash movie.
> >For those of you who have downloaded this sample
> >application, when I click on the 'Translate'
> button, I
> >get the following error.
> >
> >DebugId: 0
> >EventType: "Status"
> >MovieUrl: "file:///D|/CFusionMX/wwwroot/Flash And
> >Remoting/cfmx_flashmx_webservice/babelfish.swf"
> >Protocol: "http"
> >Source: "Client"
> >Time: 1055776690024
> >Date (object #1)
> >."Mon Jun 16 16:18:10 GMT+0100 2003"
> >Status (object #2)
> >.code: "SERVER.PROCESSING"
> >.description: "Service threw an exception
> during
> >method invocation: No service named
>
>http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> >is known to Flash Remoting MX."
> >.details:
> >"flashgateway.adapter.NoSuchServiceException: No
> >service named
>
>http://www.xmethods.net/sd/2001/BabelFishService.wsdl
> >is known to Flash Remoting MX.
> >at
>
>flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:251)
> >at
>
>flashgateway.filter.SecurityFilter.invoke(SecurityFilter.java:84)
> >at
>
>flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:58)
> >at
>
>flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:44)
> >at
>
>flashgateway.filter.LogFilter.invoke(LogFilter.java:43)
> >at
>
>flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
> >at
>
>flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
> >at
>
>flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:59)
> >at flashgateway.Gateway.invoke(Gateway.java:194)
> >at
>
>flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
> >at
>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >at
>
>jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> >at
>
>jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> >at
>
>jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
> >at
>
>jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> >at
>
>jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
> >at
>
>jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java
> >:348)
> >at
>
>jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:45
> >1)
> >at
>
>jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:2
> >94)
> >at
>
>jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> >"
> >.level: "error"
> >.type:
> >"flashgateway.adapter.NoSuchServiceException"
> >
> >The gateway connection is : myService =
>
>gateway_conn.getService("http://www.xmethods.net/sd/2001/BabelFishService.w
> >sdl";,
> >this);
> >
> >Its not just this example, any exmaple that uses a
> >wsdl to connect to webservice fails. I can however
> >connect to a webservice if I use a cfc, for ex:
> >googleService =
>
>gateway_conn.getService("google_search.googleService",
> >this);
> >
> >I read this article on the macromedia site:
>
>http://www.macromedia.com/support/coldfusion/ts/documents/enable_flash_webs
> >ervices.htm
> >
> >What is says is that by default access from
> Macromedia
> >Flash to web services using the Flash Gateway is
> >disabled by default in ColdFusion MX Updater 3. I
> did
> >exactly what it said in there to enable access and
> now
> >I get a different error:
> NetConnection.Call.BadVersion
> >error.
> >
> >I don't understand why this is disabled in the
> first
> >place. I have updater 3 installed and the webserver
> is
> >IIS on win2k
> >
> >I would appreciate your help
> >
> >Regards,
> >Allan
> >
> >__
> >Do you Yahoo!?
> >SBC Yahoo! DSL - Now only $29.95 per month!
> >http://sbc.yahoo.com
> >
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Remoting - Access from Flash to web services - BabelFish

2003-06-16 Thread Allan Clarke
I downloaded the Babelfish sample application source
code from the macromedia website:
http://www.macromedia.com/support/flash/flashremoting/consuming_ws_using_cfmx/

Extracted the code in my CFMX wwwroot folder. Opened
the file: Babelfish.fla in Flash MX, brought up the
NetConnectionDebugger and exported the flash movie.
For those of you who have downloaded this sample
application, when I click on the 'Translate' button, I
get the following error.

DebugId: 0
EventType: "Status"
MovieUrl: "file:///D|/CFusionMX/wwwroot/Flash And
Remoting/cfmx_flashmx_webservice/babelfish.swf"
Protocol: "http"
Source: "Client"
Time: 1055776690024
Date (object #1)
."Mon Jun 16 16:18:10 GMT+0100 2003"
Status (object #2)
.code: "SERVER.PROCESSING"
.description: "Service threw an exception during
method invocation: No service named
http://www.xmethods.net/sd/2001/BabelFishService.wsdl
is known to Flash Remoting MX."
.details:
"flashgateway.adapter.NoSuchServiceException: No
service named
http://www.xmethods.net/sd/2001/BabelFishService.wsdl
is known to Flash Remoting MX.
at
flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:251)
at
flashgateway.filter.SecurityFilter.invoke(SecurityFilter.java:84)
at
flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:58)
at
flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:44)
at
flashgateway.filter.LogFilter.invoke(LogFilter.java:43)
at
flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
at
flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
at
flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:59)
at flashgateway.Gateway.invoke(Gateway.java:194)
at
flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
"
.level: "error"
.type:
"flashgateway.adapter.NoSuchServiceException"

The gateway connection is : myService =
gateway_conn.getService("http://www.xmethods.net/sd/2001/BabelFishService.wsdl";;,
this);

Its not just this example, any exmaple that uses a
wsdl to connect to webservice fails. I can however
connect to a webservice if I use a cfc, for ex: 
googleService =
gateway_conn.getService("google_search.googleService",
this);

I read this article on the macromedia site:
http://www.macromedia.com/support/coldfusion/ts/documents/enable_flash_webservices.htm

What is says is that by default access from Macromedia
Flash to web services using the Flash Gateway is
disabled by default in ColdFusion MX Updater 3. I did
exactly what it said in there to enable access and now
I get a different error: NetConnection.Call.BadVersion
error. 

I don't understand why this is disabled in the first
place. I have updater 3 installed and the webserver is
IIS on win2k

I would appreciate your help

Regards,
Allan

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4