Posts

asp.net - IIS Timeout, pooled connections were in use and max pool size was reached -

timeout expired. timeout period elapsed prior obtaining connection pool. may have occurred because pooled connections in use , max pool size reached. on iis deployed site, error occur above, while performing database modification on submit button of asp.net web-form on server. i pasted my solution file project , run code ,but no error occur, i have test pooling on iis connection string deployed site, same error occur. suggestion appreciated.

Common C++ code for iOS and Android - HelloWorld example? -

i have been trying develop simple "helloworld" app ios , android mobile platforms. have common c++ code (say "helloworld" string of now). have goggled lot , read many articles/forums writing common c++ code both ios , android platforms, did not find simple example demonstrates using common c++ code , using common c++ code developing ios & android app. can point me towards ? or share sample addresses above use-case? lot.

android - handler, I want to run periodically -

using handler wants run periodically count 0, if countis 1, else please fix code. mrunnable = new runnable(){ @override public void run() { if(count == 0){ setimage(); count = 1; } else{ weather = mcontentresolver.gettype(muri); setweather(weather); count = 0; } } }; mhandler = new handler(); mhandler.postdelayed(mrunnable, 3000); try below m_handler = new handler(); mrunnable = new runnable(){ @override public void run() { if(count == 0){ // count = 1; } else if (count==1){ // count = 0; } m_handler.postdelayed(mrunnable, 3000);// move inside run method } }; mrunnable.run(); // missing also check this android thread timer

java - myfaces.sourceforge.net/tld/myfaces_ext_0_9.tld -

i'm using myfaces.sourceforge.net/tld/myfaces_ext_0_9.tld in jsp jsf 1.1 version. want migrate jsf 1.1 jsf 2.0. , im using jsps frontend in application. when replace jsp in jsf2.0 im getting canot find tag library exception myfaces.sourceforge.net/tld/myfaces_ext_0_9.tld tag. kindly, me. replaced other taglib or there other taglib in jsf2.0? jsf 2.0 supports xhtml page declaration language. use instead <?xml version="1.0" encoding="iso-8859-1" ?> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">

javascript - In alert it is showing the data but not in home screen -

i using phonegap sqlite, , facing problem data not displaying. alert(scripts) showing data there, not showing on home screen. me figure out mistake have done in code. thanks in advance. in jquery: function get_emp_list() { $("#employee").empty(); $(location).attr('href', '#emp1'); $.support.cors = true; $.ajax({ type: "get", url: "one.html", contenttype: "text/xml", datatype: "xml", data: "", crossdomain:true, success: function (data) { $(data).find("employee").each(function () { var emp_id = $(this).find('id').text(); var emp_name = $(this).find('short_name').text(); db.transaction(...

iOS: Facebook chat heads behaviour and animations -

this question little out of date, i've been using new facebook ios "chat heads" feature (with chat heads present within app), , wondering how facebook went implementing this? e.g. how did handle drag animations chat heads, , (when clicking on chat head) how did manage overlay uitableview on top of "base" uiviews in background? is part of uikit, or did create own classes handle this? to answer @stuartm's question in comments, in last couple of months i've had bit more experience uikit, , think have rough idea on how implement if going it. what chat head, create styled uibutton , add subview main window. dragging, add gesture recognizer uibutton respond drags, , "snapping edges" use ios 7's new uikit dynamics ( http://www.raywenderlich.com/50197/uikit-dynamics-tutorial ). as showing uitableview overlay chat history, use child view controller ( https://developer.apple.com/library/ios/featuredarticles/viewcontrollerpgfori...

Is it possible to have multiple panels with varying widths in jQuery Mobile? -

i have requirement support push-style , overlay panels variable widths in desktop webapp , jquery mobile comes close, except lack of variable panel widths. i have seen various answers on stackoverflow explaining how override css properties change width globally panels, need specify different width individual panels. is possible in jquery mobile? if not, interested know if issue jqm or technical limitation in general related way css transitions work maybe? at point not possible, @ least not easily, need heavily modify css make work. ask question can have panels varying width. if need example leave me comment , make one. or if want wait bit, next jquery mobile version 1.4 have default. unfortunately alpha 1.4 come out in next few days, stable version come in 1-1-5 months. if not ready wait create working example jquery mobile 1.3.2. edit : my bad, 1.4 alpha out: http://jquerymobile.com/blog/2013/07/25/announcing-jquery-mobile-1-4-0-alpha/