I have developed an application using Winforms that connects to the Database using WCF services. All the services are working fine except those that return huge amount of data from the database. I did increase the size of the maxReceivedMessageSize and maxBufferPoolSize to 9223372036854775807 in the Config file of the client which I believe is the largest but I still get the error message "The maximum message size quota for incoming messages (65536) has been exceeded". I am using visual studio 2010 with VB.Net programming language on the client side and C sharp on the server.
I also goggled but the nearest solution I got was to increase the maxReceivedMessageSize which I did but in vain. Below is the detail of the error: "The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
I built an asp.net application using web developer express 2008 and sql express2008. The live version hosted on Godaddy, for the most part is working well. However, occasionally the users are reporting an error when the user volume is high.
I have seen the other error pages work correctly and the error I am referring to above is the default error.It is possible that up to 10 users opening the same database table at the same time might be the problem? Would this be a potential cause of my unknown error? And if so what can I do about it?
I have forgotte password page in my application,page have one textbox to insert email address,when user click on submit button if inserted email address (i.e. abc@gmail.com) does not exits in DB it will give custome error message like "Email ID not available".after that suppose user will enter inproper email address (aaa#gmail.com) than client side validation for regular expression will file "Email id not valid",at same both message be on screen,now i want only one message at a time.so please can you help me for same
i am using create user wizard and capturing other information within content template when a new userregisters. Some of the textboxes are binded to required field validators.there is a validation control on the page and ShowMessage box is True.If they dont complete some of the text boxes then the message box pops Up with the error message.It does not however include information errors like "User already exists" or Email address already existsfrom the create user wizard membership UserName and Password Textboxesis it possilbe to hook all of these up so I get one message box with all errors including membership ones?
By default in login template, in case user key in the wrong user name or password, the literal message will show the default error message, "Your login attempt unsuccessful..."What i trying to do is, I have a function in my system to disapprove a member, after the member is disapproved, he/she will not allow to login anymore. When the user trying to login, the default literal msg will show out. Is there any way i can do it more specifically like if the user enter the wrong password only, the literal msg show: "Wrong password entered" insteaed of the default msg?
Same goes to the change password control, for any error msg it just show the long msg but does not tell user whats wrong with the entered valueim trying to do something like if the user enter the wrong password, the literal msg show the one i wan to show.
when I save the file that is returned by Handler and try to open it I get the following message:"The file you trying to open, 'Users.xls', is in a different format than specified by the file extension. Verify that the file is not corrupt and is from a trusted source before opening the file. Do you want to open the file now?" How to fix this? Here the code of the handler:
I need to get message integrity by encrypting the data while dataflow between Service <-> client (by directional). Below are the details.
Development Environment: .net framework 4.0; Windows 7, IIS7, VS2010. Production Environment: .net framework 4.0; Windows 2008, IIS7. Business Requirement:
I have an WCF Service hosted in IIS7. There are multiple Windows Forms Application as clients to my service. Services will be consumed via internet.User, Role information are stored in SQL Server 2008 database. Need to Authenticate and Authorize requests agains the SQL Server database. Dataflow is bi-directional. Clients will write data to service. And also Service will serve data to clients Data transfered in wires must be encrypted, in both directions. My approch to solution:
My assumption is that, client certificate is used for authentication. I am not using Certificates at Client side, becuase my client authentication will be done using UserNameValitions against the Database.
Am I write? Using only Server side Certificate, with negotiateServiceCredential="true".
Is it required is install Server certificate on client machines in this case? I am assuming Server Certificate details will be downloaded to client site during the first call.. <security mode="Message">, Assuming this setting takes care about the message security/encryption using the Server certificate, in both directions. As per my requirement, message must encryped on wire while tranfer between Server to client and while Client to Server.
Am I write? My Last question...How to ensure that messages are being encripted on both directions, from Testing point-of-view. I need to take test evidences out of it.
I have tried in many way but the error message for custom validator is not shown in validation summary but it(ValidationSummary) shows error message for every other type of validator.
I am trying to send the message(complex type) to the message queue.I am getting the error,ETravel.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.below lies the code for that.
public void QueueMessage(EmailMessage message) { Message msg = new Message(); msg.Body = message; [code]...
I have a web service running somewhere... I have added a reference of the same in my project. I had used SOAP UI to check the outgoing and incoming SOAP messages.
Now what i need is to MODIFY the SOAP message after it has been created (I wont be creating the soap message manually,) modify as in, I mean to insert some element into the header (such as public key etc) and encrypt the contents present in the body.
I have tried a lot of googling and have come to conclusion that i may have to use the SoapExtension Class.But i just dont understand how to do it.
There are method like ProcessMessage(... which require SoapMessage as input parameter. Now how to read a generated SoapMessage is still unclear to me. I dont want to read the Soap message using tools (fiddler, soapui etc). I wish to read it programmatically.
[ServiceContract] public interface IBusiness { [OperationContract][code]....
Add client: [Code]....
But......... the result
Error:The server encountered an error processing the request. The exception message is 'The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'UpdateLanguage'. The token '"' was expected but found '''.'. See server logs for more details. The exception stack trace is:
at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeRequest(Message message, Object[] parameters) at System.ServiceModel.Dispatcher.DemultiplexingDispatchMessageFormatter.DeserializeRequest(Message message, Object[] parameters) at System.ServiceModel.Dispatcher.UriTemplateDispatchFormatter.DeserializeRequest
I added a web reference to a web service to my web project. I can add an instance of the web service in my code and everything appears to work fine. But if I try to debug my code I get a complie error stating that the Type is not defined. What am I doing wrong?
Description: An error occurred during the compilation of a resource required to service this request. review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'WSQSPExport.OrderImport' is not defined.
Source Error:
[Code]....
Line 336: Dim boolResult As Boolean = True Line 337: Dim strException As String Line 338: Dim objQSPExport As New WSQSPExport.OrderImport Line 339: Dim reader As XmlReader Line 340: Dim sr As System.IO.StreamReader Source File: F:WebsxxxFarmsxxxWebApp_Codecls_ExportQSP.vb Line: 338