ColdFusion .Net add new site in IIS integration

2012-10-18 Thread Akos Fortagh
Wondering if anyone might be able to help with this. We have created an application that adds a new site (and does other stuff too) into IIS on a remote server. Our function worked 100% perfectly and adding a site to IIS was a success until we moved to a new datacentre. As far as we know

Re: ColdFusion .Net add new site in IIS integration

2012-10-18 Thread Russ Michaels
could be many things. off the top of my head Have you checked the permissions for app pools and scripts have you checked the .net trust mode Have you tried running the script locally rather than remotely If you are using IIS6 compatibility mode have you checked this is actually installed Are you

Re: ColdFusion .Net add new site in IIS integration

2012-10-18 Thread Akos Fortagh
thanks Russ, we believe we have tried all that on your list and still getting the same error. We must be overlooking something obvious, but if you have any other suggestions we'd appreciate it. thanks again ~| Order the Adobe

Re: ColdFusion .Net add new site in IIS integration

2012-10-18 Thread Russ Michaels
does it actually work when running locally on the same server rather than remotely though ? On Thu, Oct 18, 2012 at 12:56 PM, Akos Fortagh akos.fort...@yahoo.comwrote: thanks Russ, we believe we have tried all that on your list and still getting the same error. We must be overlooking

Disable Jrun isapi mapping on Virt directory

2012-10-18 Thread Alex DeMarco
We have an IIS 7.5 with both CFMX 9 and Weblogic AppServer plugin. When I call www.myurl.com/myappvirtualdirectory/somefile.jsp the Jrun Server is trying to process the requset instead of letting WebLogic do it. ANyone know how on a virtual directoy level to stop Jrun from processing

Re: Disable Jrun isapi mapping on Virt directory

2012-10-18 Thread Russ Michaels
what you need to do is remove the ColdFusion WILDCARD handler, as this is what is processing your jsp pages and overriding your weblogic JSP handler. just use a standard handler for .cfm pages On Thu, Oct 18, 2012 at 2:14 PM, Alex DeMarco alex.dema...@suny.edu wrote: We have an IIS 7.5 with

RE: Disable Jrun isapi mapping on Virt directory

2012-10-18 Thread DeMarco, Alex
Thanks for the quick reply... Is it as simple and just going in and pointing to jrun_iis.dll for all the entries that use the wildcard one? - Alex -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Thursday, October 18, 2012 9:20 AM To: cf-talk Subject: Re:

Re: Disable Jrun isapi mapping on Virt directory

2012-10-18 Thread Russ Michaels
no you need to actually remove the WILDCARD handler completely otherwise this will still process JSP pages. If you are using a bog standard install, then you will have 2 type sof handlers setup. the wildcard handler, which points to jrun_iis6_wildcard.dll, this processes every single request to

strip ntext chars

2012-10-18 Thread John M Bliss
Hi. I have a database column that is (for now) of type text. (For now) I cannot change it to ntext. What's the best way to use CF to strip out (or replace) characters that require ntext prior to inserting the text. Here's my first attempt which did not seem to work: cfloop index=charcounter

RE: Disable Jrun isapi mapping on Virt directory

2012-10-18 Thread DeMarco, Alex
Understood! Thanks! -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Thursday, October 18, 2012 9:36 AM To: cf-talk Subject: Re: Disable Jrun isapi mapping on Virt directory no you need to actually remove the WILDCARD handler completely otherwise this will

Ensuring a section of code completes

2012-10-18 Thread Robert Harrison
I have some secure pages that use session vars to allow assess. If the vars are set, they get in. This always works. The session vars expire after some time X. I also allow users to store a 'keep me logged-in' cookie. If the cookies is found, a lookup is done and the vars are set. This works

RE: Ensuring a section of code completes

2012-10-18 Thread Robert Harrison
If I wrap the code that reads the cookie and sets the session vars in cflock, like below, should that solve the problem If my session vars are NOT set cflock scope=Application timeout=10 type=Exclusive Check for the cookie Lookup the values

Re: Ensuring a section of code completes

2012-10-18 Thread Russ Michaels
it would only work like that if you are doing all of this client side. If you are doing it in CF, then the page is loaded at all until it is sent to the client, which doesn't happen until the all the cfml has been processed on the server. If ColdFusion ran line 500 before it ran line 30 then you

Recreate DB with ORM?

2012-10-18 Thread Don Drewson
I have a client who sent me an old site where they no longer have any remnants of the database and they want to get the site up and running. I was wondering if I can use the CF ORM with the create option to build it. Is this possible? Would be using CF 9.01. Thanks, Don

Re: Recreate DB with ORM?

2012-10-18 Thread Matt Quackenbush
If you are asking whether or not CF ORM can create a database for you, then the answer is yes, absolutely. If you are asking if CF ORM will recreate the database in exactly the same way as some old database was built, then the answer is almost assuredly no way. Sent from my Samsung Galaxy SII On

Re: Recreate DB with ORM?

2012-10-18 Thread Russ Michaels
Don, You can use ORM to create databases sure, but nothing will not just magically re-create a missing database for you, how would it know the field names, the data types, triggers, cascades, primary keys, foreign keys, the relationships between the different tables, stored procedure code etc.

Problem with CFX_Zip and page loading

2012-10-18 Thread Ethan Webb
I'm currently trying to diagnose a problem for a client and I'm running across the following issue. Client creates a large report then exports it to CSV. The CSV file is created and then the CFX_Zip tag comes in and zips it up. When the user clicks to export the report to CSV a popup comes

RE: Problem with CFX_Zip and page loading

2012-10-18 Thread Ben Forta
I'd not make them wait. If you have a long running process like this, fire off an asynchronous request and have it run out of process, tell the user you'll notify them when it's done, and then have that process send them a notification (perhaps email) with any follow-up. --- Ben

RE: Ensuring a section of code completes

2012-10-18 Thread Robert Harrison
Found the problem. It was not the session vars like I first thought, it was processing order. The session vars were being set correctly all along, someone put a permissions lookup in above setting the session vars, thus they did not have permission until they refreshed with the new session

Re: strip ntext chars

2012-10-18 Thread John M Bliss
Is this a stumper? Or a stupid question? :-) On Thu, Oct 18, 2012 at 8:42 AM, John M Bliss bliss.j...@gmail.com wrote: Hi. I have a database column that is (for now) of type text. (For now) I cannot change it to ntext. What's the best way to use CF to strip out (or replace) characters that

RE: strip ntext chars

2012-10-18 Thread Robert Harrison
You're converting from Ntext to Text? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788 T 631.231.6600 X 119   F 631.434.7022   http://www.austin-williams.com Blog:

Re: Recreate DB with ORM?

2012-10-18 Thread Don Drewson
Thanks guys. I understand it is not going to magically recreate the DB as it once was, just give me the tables and columns that are in the queries in the code is all. Basically looking for it to do the grunt works. After that, I will go in and finish designing it to add PK's, FK's, etc. Thanks,

RE: strip ntext chars

2012-10-18 Thread Robert Harrison
Reread your post. You may want to look at Ben Nadel's blog: http://www.bennadel.com/blog/1155-Cleaning-High-Ascii-Values-For-Web-Safeness-In-ColdFusion.htm Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct   125 Kennedy Drive,  Suite

Re: strip ntext chars

2012-10-18 Thread John M Bliss
Oh, sweet! Thanks! (I owe Ben SO MANY BEERS. And, of course, Ray.) On Thu, Oct 18, 2012 at 12:34 PM, Robert Harrison rob...@austin-williams.com wrote: Reread your post. You may want to look at Ben Nadel's blog:

Re: Problem with CFX_Zip and page loading

2012-10-18 Thread Ethan Webb
What I don't understand is why the form isn't redirecting the user to the next page once the CFX_Zip tag is done. Large reports getting zipped may take about 10 seconds but it seems to not recognize the form tag after a certain period of time. However with a small report which zips in less

CF 9 Updates

2012-10-18 Thread Steve LaBadie
I have installed CF 9 version 9,0,0,251028 standard on a windows 2008 with IIS 7. Are there any none issues with updates 1 and 2 and hotfixes and patches? Steve LaBadie, Web Manager East Stroudsburg University 570-422-3999 slaba...@esu.edumailto:slaba...@esu.edu

Re: CF 9 Updates

2012-10-18 Thread Pete Freitag
The hotfixes and updates will fix many more issues than they will create. The only issue that seams to bite some folks is the session fixation patch, which should only cause a problem if you have multiple CF applications running on the same domain with different application names and using