Hi All/Alex,
I am getting Based 64 not encoded for PaReq although I am actually encodin it.
Please suggect some solution I know Alex asking same kind of question.
i am new to cocoa and objective-c and creating small application having few NStextFields on the window.I have create custom NSformatter to validate the inputs,at some instance i want to get the NStextField within my custom NSformatter to change its backcolor to red to notify user for wrong input value.I didn't getting how to get the currently selected/focused NStextfield for which i want to change backcolor.
How do I set a CLASSPATH variable during runtime while using IKVM?
I've been trying to do it by using:
java.lang.System.setProperty("java.class.path", "whatever");
The class I'm calling requires a configuration file in the classpath to work - and I keep getting errors that seem to indicate that it hasn't gotten its settings.
Is the way I'm trying to add variable incorrect?
I want to implement right-to-left and left-to-right gestures on a view that inherits from UITableViewController. I have the code for the gestures implemented in another view (UIViewController) and it works.
It does't seem like touchesBegan is even getting called.
Does anyone know know to do this?
Thanks
Hi,
I'm just wondering if anyone knows of any tool (apart from Visio) to generate visually nice looking website site maps or diagrams of a conceptual website.
We're wanting to present some nice diagrams to our client but we're unsure about where to get started - we're all coders, not designers.
Visio shapes or stencils are quite old. Just wondered what others in the industry are using!
In C++ I am able to get the current time when my application starts I can use
time_t appStartTime = time(null);
then to find the difference in seconds from when it started I can just do the same thing, then find the difference. It looks like I should be using "System.DateTime" in C# net, but the MSDN is confusing in its explanation.
How can I use System.DateTime to find the difference in time (in seconds) between when my application starts, and the current time?
Hi All,
I m web designer and getting problem in adjustment of light box. light box is not center aligned at any resolution. it should be center aligned at any resolution. and i used a black overlay for transparency in background but it shows scrollbars in light box so its not look good .... plz tell how could i center align a lightbox and hide a scrollbar ..........
Thanks Mayur
Hello, I use ASP.NET and have a label control on my page, which I fill with
the jQuery-Command
$('#<%= myLabel.ClientID %>').html(content);
.val() does not seem to work with this.
Somehow, I have Problems getting the content in code-behind. In the code, the myLabel.Text-Property is still empty.
I need to bind GridView, I am using this code:
ProductDBEntities db = new ProductPDBEntities();
var pro = from u in db.Products where u.PID == 1 select u;
if (pro != null)
{
GridView1.DataSource = pro;
GridView1.DataBind();
}
and getting this error.
System.InvalidOperationException:
Sequence contains more than one
element
Can somebody please tell me what am I doin wrong?
We are using a web scraper and have it set up to have a sleep function which has a random function set up (so that it isn't the same time between each scrape) but we are still getting blocked from Yahoo after 20-30 requests.
Does any one know if there is a limit (i.e: 20 requests per minutes, 200 an hour) Right now our average between each request is around 3-6 seconds. Thanks for any help
Hello friends, I heard from my peers that knowledge of sharepoint is going to be good for career. We do not use sharepoint at our office. So dont know how to get started. These are my sharepoint newbie questions
Is learning sharepoint worth the effort?
Where are the resources to learn sharepoint?
Is there any reference project I should considering aiming to develop?
Appreciate your inputs.
I have this code
class HNCS (ThreadingTCPServer):
def verify_request(self, request, client_address):
for key in connections:
if connections[key].client_address[0] == client_address[0]:
if client_address[0] != '127.0.0.1':
return False
return True
def welcome(self):
return '''______________________________________________________
------------------------------------------------------
%s
______________________________________________________
------------------------------------------------------
* Server started %s
* Waiting for connections on port %i
''' % (gpl, ctime(), PORT)
I only can't figure out the line where it says
if connections[key].client_address[0] == client_address[0]
how come we used client_address as an attribute after dictionary???
I just want to add 1 day to a DateTime. So I wrote:
DateTime date = new DateTime(2010, 4, 29, 10, 25, 00);
TimeSpan t = new TimeSpan(1, 0, 0, 0);
date.Add(t);
Console.WriteLine("A day after the day: " + date.ToString());
I tought the result would be: 2010 04 30- 10:25:00 but I'm still getting the initial date.
What's wrong?
I am new to RIA and have not been actively involved with this technology in my projects as we using server-side Java, but I want to gain some experience with RIA. My questions are:
How has RIA technology evolved and in your opinion?
What technology stack currently
rules this domain?
What are the recommended resources for learning RIA? In general what is the suggested approach for gettingstarted on the RIA journey?
Has accept_nested_attributes_for already works with Rails 2.3.5 and Ruby 1.9.1????
I keep getting this error
undefined method accept_nested_attributes_for' for #<Class:0x00000108da2140>
I have a WCF Web Service that my ASP.NET app uses. It has been working fine for quite some time.
I just added in a Dev Express Grid (and the Dev Express DLLs) and a new page that uses them and now I am getting parsing errors on the WSDL.
But the weird part is that it works fine on my machine but fails on the web server machine. (Both are connecting to the same web services WSDL.)
Here is the error message I am getting:
Server Error in '/MyWebAppWebDev' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Reference.svcmap: Failed to generate code for the service reference 'MyWebAppService'.
Cannot import wsdl:portType
Detail: An exception was thrown while running a WSDL import extension: System.ServiceModel.Description.DataContractSerializerMessageContractImporter
Error: Referenced type 'WebClientApp.MyWebAppService.ReferenceUpdatesDataContract, WebClientApp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' with data contract name 'ReferenceUpdatesDataContract' in namespace 'http://schemas.datacontract.org/2004/07/MyWebAppServiceLibrary.DataContracts' cannot be used since it does not match imported DataContract. Need to exclude this type from referenced types.
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IMyWebAppReferenceDataServiceLib']
Cannot import wsdl:binding
Detail: There was an error importing a wsdl:portType that the wsdl:binding is dependent on.
XPath to wsdl:portType: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:portType[@name='IMyWebAppReferenceDataServiceLib']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='MyWebAppServicesDefaultEndpoint']
Cannot import wsdl:port
Detail: There was an error importing a wsdl:binding that the wsdl:port is dependent on.
XPath to wsdl:binding: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='MyWebAppServicesDefaultEndpoint']
XPath to Error Source: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='MyWebAppReferenceDataServiceLib']/wsdl:port[@name='MyWebAppServicesDefaultEndpoint']
Source Error:
[No relevant source lines]
Source File: /MyWebAppWebDev/App_WebReferences/MyWebAppService/ Line: 1
I am completely stumped on this. I have checked my web.config endpoint address and it is spot on (and notably is not in the error message above).
Any ideas would be welcomed.
Things I have tried:
Giving permissions to C:\Windows\temp to my Website user name
Giving permissions to C:\Windows\temp to my App pool user name
Checking to see that none of my data contracts are generic and have IsReference=true in them.
Anyone succesfull tried to read the Catalog dictionary of a PDF document, using iPhone APIs? I'm not getting anything that makes sense: Most dictionaries inside the Catalog are empty.
hii i have set up virtual host in apache and and added relevent information in windows host file. it works fine for desktop browsers but i am not able to access this from android simulator's browser. as a example a i created a virtual host "testweb" i added this information in widows hosts file also
so in desktop browser it works fine with the url http://testweb/ but in android simulator browser it displays error tht page has been moved .... so plz give me solution what i shud do to work it and where i am getting wrong...plz help me
I have just started learning to write apps for android using Eclipse. Where can I find free source code that I can use during my learning experience? Thanks.
Hi ,
I am getting the following exception "org.hibernate.HibernateException: The database returned no natively generated identity value "while adding data into database i am using the following code.Please let me know what is wrong
Sesion session=HibernateUtil.getSession();
Transaction tx = session.beginTransaction();
session.save(user);
logger.info("Successfully data insert in database");
tx.commit();
isSaved=true;
Thankx
Hey i got small problem getting an unknown curl error from my script "curl_error(): 180 is not a valid cURL handle resource".
Im not able to find any recourses about that error so maybe anyone has any experience with this.
Thanks already.
heres the part which causes the error
$resp = curl_error($ch);
error_log(date('Y M D h:s:m '). ": $current error: " .curl_error($ch)."\n", 3, '../../usererrors/'.$username.'errors');
Hi all,
I have added a method to my stateless sessionBean (getFNEdetails) with one String parameter.
But I am getting this error when I try to test in weblogic10 server
java.rmi.UnmarshalException: Could not unmarshal method ID; nested exception is:
java.rmi.UnmarshalException: Method not found: 'getFNEdetails(ILjava.lang.String;)
Any one can help me out here...
Thanks in advance.
I have an installer which creates MSMQ message queues. During a major upgrade I am noticing that the queues are getting removed and reinstalled. Any suggestions to avoid this from happening?
I am currently scheduling remove existing products after InstallInitialize
<RemoveExistingProducts After="InstallInitialize"/>