View Complete Post
I'm trying to test calling a webservice, I've found several free ones on http://webserviceshare.com, but none of them work for me. Some of them give example calling code in C# which I've translated to VB.NET, they're typically just two to four lines, I don't think I've translated them incorrectly.
On that I've tried is US Zip Validator. I added a Service Reference to http://www.webservicemart.com/uszip.asmx?WSDL, called ZipService.
I then call it like so:
Dim myZipService As ZipService.USZipSoapClient = New ZipService.USZipSoapClient() Dim myCity As String = myZipService.ValidateZip("27707")
I get the following error on the first line of code:
"An endpoint configuration section for contract 'ZipService.USZipSoap' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name."
A page with information on this web service (including C# source code) is at:
I my application i have generated dynamic rows that contains some textbox values, i need to take those values and display in
reports. I am storing that dynamically added values in another table. please help me.
ADO.NET 2.0 will streamline your data access development efforts. Its new features let you work better with XML and SQL Server, and they offer lots of other improvements as well. This article takes a detailed look at some of the more interesting enhancements and focuses on performance and flexibility.
MSDN Magazine April 2005
I have some logging that has to be done, which are some database update or inserts.
However this logging is of no importance to the user, so I only want to process the data/logs after the page is completed for the user.As of now, if I process the data while the page is loading, I go from 1.4 to 2.0 speed (server side time processing of code), which is quite a bit comparing it is of no use to the user.
So I want this code only executed after that the page is complete.
I've been checking out Ajax, async pages etc, but the problem is it still gets executed before the page is rendered to the client, which means the client will have to wait longer then it is not being processed.
I've been checking out Threadpool.queueBackgroundWorker, however if I get it correct, this will still be executed before the page is shown to the user, as it has to complete before the prerender.
Then I thought about creating a new thread, and do the processing there, which would not have my page waiting to complete the data/logging.However when I have 100 or 200 users loading pages at the same time, then that would mean I would be creating 200 threads on those loads, which I doubt will be good for performance. So if I want to solve this, I would have to create my own threadpool and only assign for example a max of 40 threads to it which can pr
This problem just started happening in my entire site collection. Anytime I associate a workflow to any list or doc lib the Workflow column that shows the status and links to the history is not beind added to the list or any views and is nowhere to
be found. Here's exactly what I'm doing:
1. Go the List settings -> workflow settings -> add a workflow (for this example the OOB approval workflow)
2. After adding I go to the List, the workflow column doesn't exist.
3. I go to "modify view", and the workflow column is not listed in the available columns.
Any help is greatly appreciated.
I have a user who receives the error 'This form requires connections to data sources when it is loaded. At least one of these connections is not available. As specified by the form designer, this form will not open' when trying to Submit an infopath form
located on a WSS2.0 site.
The user has been having this issue since upgrading to Office 2007 and IE7. I have had the user run an Office Diagnostics but this has not resolved the issue.
I am not aware of any other users experiencing this issue.
Any ideas please?
I'm trying to put a registration page together in Visual Web Designer.
I would like to send a confirmation Email after someone is leaving his registration data and pressing the INSERT button.
The key fields in my database are: Email, Name, Surname, Address
Before I send the confirmation Email I would like to check if the email value entered in the form is realy added to the database.
Please for help in this matter. I was copy past already some C code in my page, therefore it will be fine if the code can be in C.
Again, I need help to:
- checking if record is realy added to database after pressing INSERT button
- setup the confirmation Email
Thank you in advance.
1. May be it loading page either from History or Chache memory.2. When anonymous user open about-us page or Home page then we display only 4 menus. And immediatly Normal user logs in and open about-us page or Home page it again display only 4 menus instead displaying all menus available for registered user. I have used the PartialView and render it in Master page(use the code Html.RenderPartial("Menus")) see the following code...<%@ Control Language="VB" Inherits="System.Web.Mvc.ViewUserControl" %><%: ""%><div id="menucontainer"> <ul id="menu"> <% If Request.IsAuthenticated = False Then%> <li><%= Html.ActionLink("Home", "Index", "Home")%></li> <li><%= Html.ActionLink("Register", "Register", "Account")%></li>
I have added .CSS file in Resources folder of the project.In the same way i can add Images or any other files.But i am unable to use those files in Server Control Project.How to apply CssClass property to any predefined server control to the css file that is stored in the Resources folder ?
Please guide how to use those Resource files .