|
I don't think it's possible through webserice.Connecting through webservice is stateless, ie you can not get multiple response from single request.
So why dont you make multiple request to service ie for every object, there is one request. But obiously this is not good approach.
|
|
|
|
|
Hi,
I have to validate the control in server side and have to find which control value is wrong. Ex: im passing user name and password. if password is wrong it should find only the password is wrong, (normally it shows Username or Password is wrong).. Please help me..
|
|
|
|
|
U should 1st check if UserName exists in DB if no then return error accordingly.
If UserName exists then check for the authenticity of the password for that particular user.
U can write a stored proc to check for these conditions
Tej Aj,
http://opexsolution.com/forum/
Fan of:
http://www.abtstudioz.com/
|
|
|
|
|
Gobi.madura wrote: im passing user name and password. if password is wrong it should find only the password is wrong, (normally it shows Username or Password is wrong)..
Normally, most of the sites doesn't say whether any specific (username/ password is wrong. They show one of it wrong, might be for hiding the identity. if some hacker try to login with the credential, s/he would not come to know, what is wrong Username or Password.
But if you want to implement, then you can implement as Tej suggested.
|
|
|
|
|
Ya Thank you. I understood the security problem but the requirement is the following :
Tej said checking username and then password, I hope it makes 2 round trip to verify the username and password.
So that i created a array list and added the username and password in it
And concadinated those two values seperated by comma and stored in a string vriable and passed the string to the DB(For avoiding multiple round trip). It works perfectly for the username and password verfication.
But the requirement is to validate multiple text box in server side, When i go for the same approach for this DB doesn't know Which control holds what value and while returning back am facing control mapping problems.
Please do the needful
|
|
|
|
|
Gobi.madura wrote: But the requirement is to validate multiple text box in server side, When i go for the same approach for this DB doesn't know Which control holds what value and while returning back am facing control mapping problems.
See, you have to validate the multiple textboxes, So you have to have some mapping between the textboxes and the data in DB. I didn't get without this mapping how are you validating it( Might be I didn't get your requirement fully).
Just have some data in some pair ( like tb1,tb1data) to map the textbox and data and according validate and populate.
|
|
|
|
|
Ya i am facing the problem in mapping the control with its value only.
But do you think what am trying to do is good and will it be secure and efficeint.
Because if i do server side validation it makes round trip as well as security problem as u said.
I need some suggestion regarding my requirment and the approach.
|
|
|
|
|
Hi All,
I have a web service whose url contains https (https://tserver.perfectcompliance.com/wsdl.xml). When I try to Web Reference this Web Service, the reference is getting added but I am getting following error "this webpage contains content that will not be delivered using a secure https connection".
What is this error how can I avoid getting this warning or error message. I want to use this service in my application and I have to write test methods for that Web application as well. Is there any way to get rid of this problem and connect that web service in my application.
And I am getting following errors
"Unable to automatically step into the server. Connecting to the server machine 'tserver.perfectcompliance.com' failed. Invalid access to memory location." - This error at the time of debugging, when my application calls the web service method, I am getting this error.
This is another error message I am getting - The Internet Connection Firewall on the remote machine is not set up to allow remote debugging. For managed or native remote debugging with the default transport, the TCP 135 port must be opened for DCOM traffic, file and printer sharing must be enabled, and Msvsmon.exe must be added to the exceptions list. Opening some IPSEC ports may be necessary as well.
Please help me by giving the advice that what sort of problem it is. I need some ones help pls give me. I am struck here.
Thanks in advance.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
modified on Wednesday, October 6, 2010 4:05 PM
|
|
|
|
|
|
Yes. But sorry, now I should be ready to hear the ppls voice here like Christian Grauss or some other old friends of me. I am quite old to the forum but this time voilated the rules. Sorry all of you guys, once again I did foul play.
Pls. sorry
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
I wasn't doing the "repost" thing! This is probably a legitimate 2nd question.
Hope you find your answer!
|
|
|
|
|
Hi Keith,
Can you please help me by looking in to those errors above. You can just tell me in one word also what are things that I should have to test my component which is internally calling my web service. Is this problem because of https in the url. Can you please help.
Thanks in advance.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
indian143 wrote: this webpage contains content that will not be delivered using a secure https connection
A quick Google search for this yields this[^].It answers how to fix that question.
indian143 wrote: "Unable to automatically step into the server. Connecting to the server machine 'tserver.perfectcompliance.com' failed. Invalid access to memory location." - This error at the time of debugging, when my application calls the web service method, I am getting this error.
Of course you are getting this error, the service is live on the Internet, so the company has naturally secured it. The last thing they want is for some dev (or worse) coming in and playing with/breaking their system. This also is the reason for your final error.
If you navigate to https://tserver.perfectcompliance.com/wsdl.xml[^] you get the full WSDL, so you can generate the proxy. If you are having problems getting the proxy to communicate with the system, it is a much better idea to contact the company who runs the service, they will be able to provide you with full details as they know their setup better than anyone else (Hopefully ).
|
|
|
|
|
I have in my site a div with a back-image and position:absolute, a-index:1 style properties.
I do that because I want to have my site's logo always on the front.
When I run it with internet explorer it goes well and the site looks OK, but when I try Firefox browser, the alignment of the website's control looks like it is totally ruined up.
you can see the web page here: http://avangard.more-web.co.il/he/menu/default.aspx[^]
To be sure that the problem is with the logo div, I have deleted it and checked the site and it looked OK.
|
|
|
|
|
I tried the link but it didn't work.
One thing a-index:1 should be z-index:1 , I'd check your code if I were you, just in case!
|
|
|
|
|
I have been using the charting controls for ASP that are described in this link:
ASP Charting. It works correctly in VS 2008. However, it is not installing in VS 2010, nor is the ASP project running. (The error on installation is "The Toolbox Controls Installer must be installed before running this installer".)
Is this incompatible with 2010? If so, is there an alternative that I am missing (I am still unfamiliar with 2010)..?
Thank you.
|
|
|
|
|
|
Yes, As you already know. It's in-built in .Net 4.0, for .Net 3.5, yes you need to install.
|
|
|
|
|
i got the same error when i shifted my application to a win2008 server and was installing MSChart_VisualStudioAddOn.exe. Why this message 'The toolbox controls installer must be installed before running this installer..' is coming and what's the solution. pls help.
|
|
|
|
|
Hi Friends,
I have upload image to server. its stored both database(using conversion) and physical copy of image.
so which one is best for reduced space and security ?
Apart from this technique any new feature is there ?
Please share your valuable knowledge to all.
Yours,
Kan
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
Check this[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
what is best, saving images as BLOBS in db or as file on disk, depends on the situation, but I prefer to save it in db, since a)you get a clear connection between the image and data, b)makes things easier to backup,mirror and migrate c) makes it easier to search, sort, and so on, the images.
when it comes to reducing the image size when saving there is some steps you can take:
1) automatic convert the image to a lighter format (eksample: jpg or png) before saving them on the server
2) automatic resize them before saving them to the server
3) re-encode the images with poorer quality but better compression.
If you need to save the images as high quality, high res images in an heavy format like bmp or raw (maybe the spec specifies the quality and size of images or some thing), you could take a look at the System.IO.compression namespace or the zipsharp library.
|
|
|
|
|
can anybody provide me the software s which are being updated continuously(their new versions are being launched frequently)but their original documentation got outdated
|
|
|
|
|
The questionis incomprehensible.
Read the guidelines, stating something is urgent is rude, everyone here is a volunteer.
Also in the guidlines, asking for code / software, without really have a question like "How do start to write software x" or "I've tried to do x but I'm having a problem" will meet with a reply like mine, or something sarcastic.
|
|
|
|
|
Oh my goodness - I'll drop everything to help you.
So what you need is me to send you every piece of software currently out in the field and keep providing you with every update that happens for those applications when the documentation is outdated?
Q1. Would it help if I were to write an application to check all published documentation for the software against the current working version of said softyware and then create some update routine to send it to you?
Q2. Would you like me to come over and install all the updates for you so you don't have to do anything at all?
Q3. Would it be possible for you to get some spellchecking software to ensure that your posting is grammatically correct?
Q4. Do you have a boxing glove? If so, the next time you look in your mirror please hit yourself with it for being such an arse.
He took it all too far, but boy could he play guitar!
|
|
|
|