Class not found in the specified assembly list.

2010-12-24 Thread Nicholas Stein
I run the following code and get an error. !---THIS WORKS--- cffunction name=Ping returntype=string output=false cfargument name=host type=string required=yes !--- Local variables --- cfset var pingClass= cfset var pingReply= !--- Get Ping class --- cfobject

Re: Looking for the right SMTP server

2010-09-30 Thread Nicholas Stein
I just got an email from MarshallSoft on their new api program. http://www.marshallsoft.com/mcm.htm Client Mailer Features •Uses macro substitution to personalize outgoing letters. •Can send text or HTML letters. •Supports multiple attachments. •Can handle arbitrarily large lists of

Re: Looking for the right SMTP server

2010-09-29 Thread Nicholas Stein
SendGrid is a third part smtp host. They provied the analytics, deliverance, tracking and increasing your deliverablity. They do not have connectors to CRM. If you want that, take a look at SalesFusion which goes to both Dynamics and Salesforce. http://sendgrid.com/

Re: CRUD screens...

2010-04-22 Thread Nicholas Stein
I have been very pleased with CodeSmith. I wrote a template that dives into a database and creates the 4 CRUD statements for every table in the database. I am using SQL Server 2008, but it works with 2005 as well. I would be glad to share the templates with you should you decide to use

Re: return recordset from stored procedure

2010-04-05 Thread Nicholas Stein
Yes, the NOCOUNT may give you trouble. However, I noticed something else in your sample code. You are using #request.datasources# as your datasource for the query. If you are referring to the http request, you could run into a problem if you decide to put your function into a cfc. The cfc,

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Nicholas Stein
Maybe I am missing something. Why not just to it this way... cfset rNum = 0 cfoutput query=searchresults cfset rNum = rNum + 1 trcfif rNum MOD 2 EQ 0 class=alternaterow/cfif ...display td/td /tr /cfoutput Nick ~| Want to

Re: passing coldfusion variable to javascript

2009-11-07 Thread Nicholas Stein
html !--- assume the javascript file my_own.js contains the following script. You could have put it in a script tag on the page. The web server will deliver the src file as though it were included on the page. So anything that appears in the src file will be available to the browser.

Form in CFWINDOW - currently CHEATING to get parent to refresh...

2009-08-02 Thread Nicholas Stein
I think I am hearing that you get a record set on the parent page and loop through it showing the rows in a table. Then the user clicks a link for a record and it opens a new window which edits that record, saves the result back to the data store and then closes, updating the record on teh

Re: using my injected bean within a CFC

2009-07-26 Thread Nicholas Stein
Is it possible your are running on Linux and case sensitivity is an issue? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: Application.cfc question

2008-11-22 Thread Nicholas Stein
I ran into the same problem. I assign datasource in the application.cfm and then lose the connection string in the cfc. I believe the problem is that a cfc is intended to run in a different machine as thought it were a web service. As a result Cold Fusion does not carry the application state

Re: HTTP401.2 - Access denied by ACL on resource

2008-10-03 Thread Nicholas Stein
While it is a bit extreme, I would give Everyone full control on the folder where the docs resides. Short of that try giving the account that the CF services run under full control. I remember that there are a couple of wierdnesses when you run IIS 5 on XP. You might want to put the docs

Re: SQL Weirdness on text file query

2008-05-19 Thread Nicholas Stein
James, I had the same problem. I was picking up a phone number from a flat file and getting a float out of it. Most annoying. I ended up with a function in TSQL. You can modify this to use simialar padding on the area code as I did on the number.

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Nicholas Stein
I have had the exact same problem. My Active Directory is inside the firewall and accesable with .net code from my dev machine. Here is the salient C#. public static bool UserExists(string UserName) { //create an instance of the DirectoryEntry DirectoryEntry de =

Re: CFLDAP finds cn but can't find password or certain attributes

2008-03-11 Thread Nicholas Stein
OK, I got it to work. It was the user name. It is wierd. My login account is nstein, but cn is Nick Stein, so I have to use the latter in my CFLDAP. Here is the code that works: cfldap action=QUERY name=GetUserInfo attributes=givenName,sn,cn,name,dn start=DC=codagenomics,DC=net

Re: cfc and saas

2008-03-07 Thread Nicholas Stein
Thanks you all. I got it. Here it is, and it is vey cl! Create this cfc on one machine with database access. The output=No is important. The access=remote is important. The returntype=query is important Save it as Vendors.cfc !--- Vendors.cfc --- cfcomponent displayname=Vendors

Re: cf8 ajax checkbox example?

2008-03-06 Thread Nicholas Stein
Here is an example for a dropdown list box. Checkbox should follow easily enough. !--- VendorSelectBox.cfm --- html xmlns=http://www.w3.org/1999/xhtml; head titlecfdiv Example/title /head body cfinvoke component=Vendor method=getVendor returnvariable=qVendors cfinvokeargument

cfc and saas

2008-03-06 Thread Nicholas Stein
Anyone know how to call a cfc function on another machine? Suppose I have a cfc in a file called vendor.cfc. When it resides on the same machine as the web server, it is a piece of cake to call... cfinvoke component=Vendor method=getVendor returnvariable=qVendor cfinvokeargument

Re: Need query help

2008-03-04 Thread Nicholas Stein
This should work and is much clearer that your original statement. SELECT t.groupid, t.groupimage, t.groupname, t.groupcity, t.state, t.voicingid, t.groupcontactperson, t.country, t.region, x.groupid,

Re: I ma stuck here . In coldfusion query

2008-02-20 Thread Nicholas Stein
Yes your problem is definitely a string to integer problem. When you select foundOn from dbo.menu where menuId=#form.selTopLevel2# you are getting back a string. So when the rest of the statement is compiled it would be as though you were doing this... select menuId, label, foundOn

Re: CFC, Custom tag, or something for tedious SQL Queries?

2008-01-11 Thread Nicholas Stein
Since I am also a C# programmer, I wrote some templates in CodeSmith. I would be happy to share. They might be a good starting point for you. Here are the templates I have so far. 1. StoredProcedures.cst - Look at a MSSqlServer table and generate CRUD stored procs. 2.