Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion
Viewing all 14291 articles
Browse latest View live

CFPDF not working

$
0
0

Hello, i am trying to use cfpdf and i keep getting the following error:

 

String index out of range: -1

 

I don't know why i keep getting that, i'm running coldfusion 11 on debian linux


<CFIF FileExists("#getDirectoryFromPath(getCurrentTemplatePath())#REPORT.pdf")>
<cfpdfform action="read" source="#getDirectoryFromPath(getCurrentTemplatePath())#REPORT.pdf" xmldata="x" result="r">
</cfpdfform>
<cfdump var="#x#" label="XMLData">
<cfdump var="#r#" label="Result"
<CFELSE>
  File doesn't exist
</CFIF>
                  

Thank you


Coldfusion 9 ODBC Agent & ODBC Server not starting

$
0
0

Hello !

 

I currently have Coldfusion 9 Enterprise Edition 64 bit installed on a Windows 2008 R2 64 bit server.  I did not notice this before but on this server, both the Coldfusion 9 ODBC Agent & Server services will not start.  I have tried starting them but they start for a second and then stop.  A dialog box then gets displayed which says "The Coldfusion 9 ODBC Agent service on Local Computer started and then stopped.  Some services stop automatically if they are not in use by other services or programs".  I have checked the event viewer on the server and I am seeing the following messages on the enterprise edition server.

 

The description for Event ID 0 from source ColdFusion 9 ODBC Agent cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

ColdFusion 9 ODBC Agent@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.

 

The description for Event ID 0 from source ColdFusion 9 ODBC Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

ColdFusion 9 ODBC Server@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.

 

 

The strange this is that I have Coldfusion 9 Standard Edition 64 bit also installed on another Windows 2008 R2 64 bit server and both of the ODBC services on that machine are starting fine.  I have checked the account these services are running under on both servers and both services on both machines are running under the local system account so I am not sure if it is permission related or not.

 

 

I would appreciate it if some could assist me in getting these services started and what I need to do.

 

Thank you.

 

Ed

coldfusion 11 I've installed it - how do I get to cfadmin?

CFGRID passing wrong update IDs

$
0
0

I have a CFGRID in a small app that is passing wrong update information.  This is causing the updates to happen in the wrong rows in the data table. 

 

Anyone have any ideas what could cause this?

 

EXAMPLE:

Grid has 300+ rows

Select item with ID 103 and edit a value withing the data (happens to be decimal(8,2) in SQLServer

Select and edit ID 104

On submit of changes, the data getting updated in the table is row 104 and row 108 !!!

The ID row is set as primary key

I have used cfgrid in other scenarios without issue.

Version is CF10

Same happens whether I use CFGRIDUPDATE or use the passed form fields and update via SQL.

 

Any thoughts?  Ideas?  This is very frustrating.

 

Thanks in advance.

 

Pete

installing coldfusion builder 3

$
0
0

Trying it install coldfusion builder 3 as an upgrade on a new computer but when I put in the previosu serial number for cfb1 its saying its not valid. However it is a valid key.

peer not authenticated error CFHTTP

$
0
0

Hi

 

I'm trying to call a web page using cfhttp. The url works fine and returns XML when called directly from the browser (any browser) but fails with the following error message when called from a .cfm file using cfhttp:

 

struct
Charset[empty string]
ErrorDetailI/O Exception: peer not authenticated
FilecontentConnection Failure
Header[empty string]
MimetypeUnable to determine MIME type of file.
Responseheader
struct [empty]
StatuscodeConnection Failure. Status code unavailable.
TextYES

 

Symptoms:

It's a secured url (https) so I've attempted using the port 443 (which I verified with the vendor) and a plethora of other combinations of parameters.

I was reviewing past errors like this via Google searches on different CF forums where they stated that the solution was either a bug fix from Adobe or that you needed to download the security certificate onto your own server, but all of those references were to CF9, and I'm running CF10. I've been able to use CFHTTP on other SSL protected sites and the response comes back just fine, just this particular URL. Why would this URL fail with this message and not others? And why would the url display without error from a call from a browser but not CF10?

I was also able to make the call to the page successfully using the command line tool curl.

 

What do I need to do with ColdFusion10 to get my CFHTTP requests to work?

 

Thanks in advance,

 

Rich

cfmail glitches in ColdFusion 9 (not sending, but says sent)

$
0
0

I'm seeing the strange behavior with basic cfmail sends in CF9.  CF9 has an entry in the mailsent log  that is was successfully sent but on the MailEnable logs (Mailenable exists on the same server as CF and CF sends all it's l through it) there wasn't even a connection attempt.  Now  this is a my bulk  mail server and I'm probably averaging about 70,000 e-mails a day from that server and most mails go through just fine.

 

 

What i've discovered about the few that don't is they have a few things in common. Anything that goes out with a "mailworker" thread works 100% of the time.  Mail that goes out as a "scheduler" thread seems to be 50/50".   There is no spam filter involved here.  I'm just checking logs from the CF side and from the mailenable side.  CF says is was sent....mailenable doesn't ever see an attempt at that time. I've seen this on another of my CF9 servers that relays through our ISP's SMTP server.  CF send it was sent in the mail sent log, but ISP has to record of a conenction attempt let alone a full message at that time.  I think there is a CF9 cfmail bug,  I never had an issue with this on CF8 (or cf7 for that matter).  The setup was exactly the same.  These problems just started a couple mounth ago when we upgraded to CF9.

 

Anyone have any ideas, or if other people think this sounds like a bug how I can prove it to Adobe?

 

-Dan

Web Connector Settings

$
0
0

I am reviewing the ColdFusion Web Connector settings in workers.properties to hopefully address a sporadic response time issue.

 

I've been advised to inspect the output from the metrics.log file (CF Admin > Debugging & Logging > Debug Output Settings > Enable Metric Logging) and use this to inform the adjustments to the settings max_reuse_connections, connection_pool_size and connection_pool_timeout.

 

My question is: How do I interpret the metrics.log output to help with the choice of setting values? Is there any documentation that can guide me?

 

Examples from over a 120 hour period:

 

95% of entries -

"Information","scheduler-2","06/16/14","08:09:04",,"Max threads: 150 Current thread count: 4 Current thread busy: 0 Max processing time: 83425 Request count: 9072 Error count: 72 Bytes received: 1649 Bytes sent: 22768583 Free memory: 124252584 Total memory: 1055326208 Active Sessions: 1396"

 

Occurred once -

"Information","scheduler-2","06/13/14","14:20:22",,"Max threads: 150 Current thread count: 10 Current thread busy: 5 Max processing time: 2338 Request count: 21 Error count: 4 Bytes received: 155 Bytes sent: 139798 Free memory: 114920208 Total memory: 1053097984 Active Sessions: 6899"

 

Environment:

- 3 x Windows 2008 R2 (hardware load balanced)

- ColdFusion 10 (update 12)

- Apache 2.2.21


cfspreadsheet 400000 lines

$
0
0

How to read an Excel file ".xlsx" of 420 000 lines ?

I used cfspreadsheet but,

over 4000 lines  it fails, saying nothing.

 

I tried the CFC (custom tag) : POIutility.cfc from Ben Nadel.

but it seems it does not work with xlsx,

does work fine with ".xls" , I can read 65 000 lines

because ".xls" it limited to 65 000 lines.

 

so I have no solution to read 400 000 :lines.

 

Thanks for help. ideas ?

Pierre.

Multiserver Monitor Permission Denied...

$
0
0

So I've been dealing with this for years now, since version 8 and now with version 9 of

Coldfusion.  I can't ever get my multi-server monitor to monitor more than the local server from which I run the multiserfver monit

or.  I've edited the multiservermonitor-access-policy.xml to use the following line:

 

<allow-access-from domain="*" />

 

However, that doesn't work even after restarting Coldfusion.

 

Does anyone have this working?  I think I'm about to buy fusion-reactor so I can actually monitor my servers but it's always frustrating when something that should be pretty simple just doesn't work right.  Thanks in advance for any input.

 

...Brad

ColdFusion 11: custom serialisers. More questions than answers

$
0
0

G'day:

I am reposting this from my blog ("ColdFusion 11: custom serialisers. More questions than answers") at the suggestion of Adobe support:

 

 

This particular question is not regarding <cfclient>, hence posting it on the regular forum, not on the mobile-specific one as Anit suggested. I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it.

 

G'day:
I've been wanting to write an article about the new custom serialiser one can have in ColdFusion 11, but having looked at it I have more questions than I have answers, so I have put it off. But, equally, I have no place to ask the questions, so I'm stymied. So I figured I'd write an article covering my initial questions. Maybe someone can answer then.

 

 

ColdFusion 11 has added the notion of a custom serialiser a website can have (docs: "Support for pluggable serializer and deserializer"). The idea is that whilst Adobe can dictate the serialisation rules for its own data types, it cannot sensibly infer how a CFC instance might get serialised: as each CFC represents a different data "schema", there is no "one size fits all" approach to handling it. So this is where the custom serialiser comes in. Kind of. If it wasn't a bit rubbish. Here's my exploration thusfar.

 

One can specify a custom serialiser by adding a setting to Application.cfc:

 

 

component {     this.name = "serialiser01";     this.customSerializer="Serialiser"; } 


In this case the value - Serialiser - is the name of a CFC, eg:

 

 

// Serialiser.cfccomponent {     public function canSerialize(){         logArgs(args=arguments, from=getFunctionCalledName());         return true;     }     public function canDeserialize(){         logArgs(args=arguments, from=getFunctionCalledName());         return true;     }     public function serialize(){         logArgs(args=arguments, from=getFunctionCalledName());         return "SERIALISED";     }     public function deserialize(){         logArgs(args=arguments, from=getFunctionCalledName());         return "DESERIALISED";     }     private function logArgs(required struct args, required string from){         var dumpFile = getDirectoryFromPath(getCurrentTemplatePath()) & "dump_#from#.html";         if (fileExists(dumpFile)){             fileDelete(dumpFile);         }         writeDump(var=args, label=from, output=dumpFile, format="html");     } } 


This CFC needs to implement four methods:

  • canSerialize() - indicates whether something can be serialised by the serialiser;
  • canDeserialize() - indicates whether something can be deserialised by the serialiser;
  • serialize() - the function used to serialise something
  • deserialize() - the function used to deserialise something

I'm being purposely vague on those functions for a reason. I'll get to that.

 

The first [issue] in the implementation here is that for the custom serialisation to work, all four of those methods must be implemented in the serisalisation CFC. So common sense would dictate that a way to enforce that would be to require the CFC to implement an interface. That's what interfaces are for. Now I know people will argue the merit of having interfaces in CFML, but I don't really give a [monkey's] about that: CFML has interfaces, and this is what they're for. So when one specifies the serialiser in Application.cfc and it doesn't fulfil the interface requirement, it should error. Right then. When one specifies the inappropriate tool for the job. What instead happens is if the functions are omitted, one will get erratic behaviour in the application, through to outright errors when ColdFusion goes to call the functions and cannot find it. EG: if I have canSerialize() but no serialize() method, CF will error when it comes to serialise something:

 

 

JSON serialization failure: Unable to serialize to JSON.

Reason : The method serialize was not found in component C:/wwwroot/scribble/shared/git/blogExamples/coldfusion/CF11/customerserialiser/Serialiser .cfc.
The error occurred inC:/wwwroot/scribble/shared/git/blogExamples/coldfusion/CF11/customerserialiser/testBasic.c fm: line 4
2 : o = new Basic();
3 :4 : serialised = serializeJson(o);5 : writeDump([serialised]);
6 : 


Note that the error comes when I go to serialise something, not when ColdFusion is told about the serialiser in the first place. This is just lazy/thoughtless implementation on the part of Adobe. It invites bugs, and is just sloppy.

 

The second [issue] follows immediately on from this.

 

Given my sample serialiser above, I then run this test code to examine some stuff:

 

 

o = new Basic(); serialised = serializeJson(o); writeDump([serialised]); deserialised = deserializeJson(serialised); writeDump([deserialised]); 


So all I'm doing is using (de)serializeJson() as a baseline to see how the functions work. here's Basic.cfc, btw:

 

 

component { } 


And the test output:

 

 

array
1SERIALISED
array
1DESERIALISED


This is as one would expect. OK, so that "works". But now... you'll've noted I am logging the arguments each of the serialisation methods receives, as I got.

 

Here's the arguments passed to canSerialize():

 

 

canSerialize - struct
1XML


My reaction to that is: "[WTH]?" Why is canSerialize() being passed the string "XML" when I'm trying to serialise an object of type Basic.cfc?

 

Here's the docs for canSerialize() (from the page I linked to earlier):

CanSerialize - Returns a boolean value and takes the "Accept Type" of the request as the argument. You can return true if you want the customserialzer to serialize the data to the passed argument type.

Again, back to "[WTH]?" What's the "Accept type" of the request? And what the hell has the request got to do with a call to serializeJson()? You might think that "Accept type" references some HTTP header or something, but there is no "Accept type" header in the HTTP spec (that I can find: "Hypertext Transfer Protocol -- HTTP/1.1: 14 Header Field Definitions"). There's an "Accept" header (in this case: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"), and other ones like "Accept-Encoding", "Accept-Language"... but none of which contain a value of "XML". Even if there was... how would it be relevant to the question as to whether a Basic.cfc instance can be serialised? Raised as bug: 3750730.

 

serialize() gets more sensible arguments:

 

 

serialize - struct
1
https://www.blogger.com/nullserialize - component scribble.shared.git.blogExamples.coldfusion.CF11.customerserialiser.Basic
2JSON


So the first is the object to serialise (which surely should be part of the question canSerialize() is supposed to ask, and the format to serialise to. Cool.

 

canDeserialize() is passed this:

 

 

canDeserialize - struct
1JSON


I guess it's because it's being called from deserializeJson(), so it's legit to expect the input value is indeed JSON. Fair enough. (Note: I'm not actually passing it JSON, but that's beside the point here).

 

And deserialize() is passed this:

 

 

deserialize - struct
1SERIALISED
2JSON
3[empty string]


The first argument is the value to work on, and the second is the type of deserialisation to do. I have no idea what the third argument is for, and it's not mentioned directly or indirectly on that docs page. So dunno what the story is there.

The next issue isn't a code-oriented one, but an implementation one: how the hell are we expected to work with this?

The only way to work here is for each function to have a long array of IF/ELSEIF statements which somehow identify each object type that is serialisable, and then return true from canSerialise(), or in the case of serialize(), go ahead and do the serialisation. So this means this one CFC needs to know about everything which can be serialised in the entire application. Talk about a failure in "separation of concerns".

You know the best way of determining if an object can be seriaslised? Ask it! Don't rely on something else needing to know. This can be achieved very easily in one of two ways:

  • Check to see if the object implements a "Serializable" interface, which requires a serialize() method to exist.
  • Or simply take the duck-typing approach: if a CFC implements a serialize() method: it can be serialised. By calling that method. Job done.

 

 

Either approach would work fine, keeps things nicely encapsulated, and I see merits in both. And either make far more sense than Adobe's approach. Which is like something from the "OO Failures Special Needs" class.

 

Deserialisation is trickier. Because it relies on somehow working out how to deserialise() an object. I'm not sure of the best approach here, but - again - how to deserialise something should be as close to the thing needing deserialisation as possible. IE: something in the serialised data itself which can be used to bootstrap the process.

 

This could simply be a matter of specifying a CFC type at a known place in the serialised data. EG: Adobe stipulates that if the serialised data is JSON, and at the top level of the JSON is a key eg: type, and the value is an extant CFC... use that CFC's deserialize() method. Or it could look for an object which contains a type and a method, or whatever. But Adobe can specify a contract there.

 

The only place I see a centralised CFC being relevant here is for a mechanism for handling serialised data that is neither a ColdFusion internal type, nor identifiable as above. In this case, perhaps they could provide a mechanism for a serialisation router, which basically has a bunch of routes (if/elseifs if need be) which contains logic as to how to work out how to deserialise the data. But it should not be the actual deserialiser, it should simply have the mechanism to find out how to do it. This is actually pretty much the same in operation as the deserialize() approach in the current implementation, but it doesn't need the canDeserialize() method (it can return false at the end of the routing), and it doesn't need to know about serialising. And also it's not the main mechanism to do the deserialisation, it's just the fall back if the prescribed approach hasn't been used.

 

TBH, this still sounds a bit jerry-built, and I'm open for better suggestions. This is probably a well-trod subject in other languages, so it might be worth looking at how the likes of Groovy, Ruby or even PHP (eek!) achieve this.

 

There's still another issue with the current approach. And this demonstrates that the Adobe guys don't actually work with either CFML applications or even modern websites. This approach only works for a single, stand-alone website (like how we might have done in 2001). What if I'm not in the business of building websites, but I build applications such as FW/1 or ColdBox or the like? Or any sort of "helper" application. They cannot use the current Adobe implementation of the customserializer. Why? Because the serialisation code needs to be in a website-specific CFC. There's no way for Luis to implement a custom serialiser in ColdBox (for example), and then have it work for someone using ColdBox. Because it relies on either editing Application.cfc to specify a different CFC, or editing the existing customSerializer CFC. Neither of which are very good solutions. This should have been immediately apparent to the Adobe engineer(s) implementing this stuff had they actually had any experience with modern web applications (which generally aren't just a single monolithic site, but an aggregation of various other sub applications). Equally, I know it's not a case of having thought about this and [I'm just missing something], because when I asked them the other day, at first they didn't even get what I was asking, but when I clarified were just like "oh yeah... um... err... yeah, you can't do that. We'll... have to... ah yeah". This has been raised as bug 3750731.

 

So I declare the intent here valid, but the implementation to be more alpha- / pre-release- quality, not release-ready.

 

Still: it could be easily deprecated and rework fairly easily. I've raised this as bug 3750732.

 

Or am I missing something?

 

--
Adam

Problem: Invalid content type: application/x-www-form-urlencoded.

$
0
0

I am running the code  below, but get the error "Invalid content type: application/x-www-form-urlencoded."   I don't know what this is telling me and how I can get the code to work.  It has worked in the past, but seems not to work now.

 

<CFFILE destination="#WritingSamplesInDirectory#"
        action="upload"
        nameconflict="MakeUnique"
        filefield="FileName"
        attribues="readONLY">

 

Any help greatly appreciated

Problem setting up CF10 and apache (mod_jk.so)

$
0
0

Hi there,

 

i am trying to set up CF10 parallel to CF9 with the apache webserver. I've tried it with the Beta of CF10 but it didn't works. Now we perchuased CF10 and the problem is still the same. We ar usiung a CentOS 5.7, and the apache server 2.2.3.

 

I installed CF10 with the server configuration, everything went fine. The first problem came up to, when i tried to start up the cfusion instance:

 

Running the ColdFusion 10 connector wizard

======================================================================

Configuring the web server connector (Launched on the first run of the ColdFusion 10 start script)

Running /etc/httpd/conf connector wizard...

=======================================

There was an error while running the connector wizard

Connector installation was not successful

=======================================

 

Well, then i've activated the build in webserver, and i was aviable to access to the admin site. I created a new instance a tried to connect it manually to the apache webserver with the follwoing tutorial: http://rob.brooks-bilson.com/index.cfm/2012/2/23/Configuring-Multiple-Instances-of-ColdFus ion-10-with-Apache-Virtual-Hosts/

 

I made a own vhost and tested the apache config with " apachectl configtest" and i got this error massage:

 

Cannot load /opt/coldfusion10/config/wsconfig/1/mod_jk.so into server: /opt/coldfusion10/config/wsconfig/1/mod_jk.so: undefined symbol: ap_get_server_description

 

What i tried/check:

  • Permissions and rights
  • compiled my own mod_jk.so

 

I really got stuck and don't know what to do... I would be really glad if somone could help me.

 

 

Yours Robert

Addressing security scan results

$
0
0

My office uses something called "IBM Security AppScan Standard" to scan web apps.  Two of the things it scans for (of course) are XSS and SQL injection.

 

One of my pages got flagged despite my use of cfqueryparam, isValid(), and htmleditformat().  What happens is if you intercept the post data from the form and append something like &foo to a numeric value, you get back a CF error page that looks something like this:

500 - Internal server error.

 

ROOT CAUSE:

java.lang.IllegalArgumentException

at coldfusion.filter.FormScope.parseQueryString(FormScope.java:349)

at coldfusion.filter.FormScope.parsePostData(FormScope.java:321)

at coldfusion.filter.FormScope.fillForm(FormScope.java:271)

at coldfusion.filter.FusionContext.SymTab_initForRequest(FusionContext.java:437)

at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:33)

at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126)

at coldfusion.CfmServlet.service(CfmServlet.java:175)

at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )

at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

at jrun.servlet.FilterChain.service(FilterChain.java:101)

at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

 

I've tried just about everything to get rid of this, including cftry/cfcatch, isvalid, replace(), and a few other things, but I still get the 500 error.

 

I'm pretty sure the error is what's triggering the security alert.  Any ideas on how to fix this?

HTTP Error 401.3 - Unauthorized You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

$
0
0

Hi,

 

I got this 401.3 error when running the http://127.0.0.1/CFIDE/administrator/index.cfm configuration page after installation of coldfusion 8 standard on win 2008 32bit server which has IIS7. Coldfusion 8 files are located on D drive instead of the default C drive. I already duplicate right access from C to D but still get the error. The IIS 7 error page shows that the logon account is Anomymous. I traced default web site authentication and it poited to NT Authority\IUSR account so I added this account full access to D:\inetpub\wwwroot but that didn't help either. Does anybody come across this problem? Any help is greatly appreciated.


CF 10 errors show Error 500 instead of normal error message

$
0
0

Hi,

 

Strangely, our CF 10 server has started to show "500 - Internal server error" whenever a CF error occurs, instead of the normal error message. The error is logged, but the front end shows the error 500 and nothing else. Normally, we'd see the error message and stack trace etc.

 

How would I troubleshoot that?

 

EDIT: This is a CF10 on IIS 8 Windows 2012 server, with update 11.

 

Regards,

Mark

 

Message was edited by: tribule

CFID and CFTOKEN still set when using J2EE sessions

$
0
0

I'm using CF10 and "Use J2EE session variables" is selected in the CF admin.

 

When I visit an application, I get the JSESSIONID cookie, but I also get the CFID and CFTOKEN persistent cookies. The app I'm working with is older and uses Application.cfm instead of Application.cfc, but the clientmanagement and setclientcookies application attributes are set to false.

 

I'm not sure why CFID and CFTOKEN are still set. Are they set regardless of the client and session management settings?

ClientAbortException

$
0
0

I have received this message several times through CFERROR.

 

The cause of this output exception was that: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error.

 

How can I fix this?

post parameters exceeds the maximum limit specified in the server

$
0
0

After ColdFusion security hotfix APSV12-06 was installed, we got this error "500...post parameters exceeds the maximum limit specified in the server..." on our dev and test areas. We changed parameter limit from 100 to 200 in CF Administrators and everything was ok. The error returned on the test machine but not the dev. The parameter limits are still 200.

 

What can be causing this problem ?

Coldfusion 11

$
0
0

I migrated to Coldfusion 11 and there is a problem with the cfgrid and bind.

 

<cfgrid name="theGrid"

     target="pbdetail"

     pagesize="3000"

     format="html"

     onload="load"

     bind="cfc:internal/p/_com/pblock.pblockData({cfgridpage},{cfgridpagesize},{cfgridsortcolu mn},{cfgridsortdirection},'#trim(url.varpblocknumber)#','#trim(url.varrefno)#')"

     bindonload="true"

     striperows="true"

     selectcolor="lightyellow"

     height="200">

 

This works on Coldfusion 10 but no longer works on Coldfusion 11. The loading spinner just spins and the grid never appears. Will this be patched anytime soon?

 

Thanks.

Viewing all 14291 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>