.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

some wcf errors after the application is ready!!!!!....URGENT

Posted By:      Posted Date: September 06, 2010    Points: 0   Category :WCF
hi all, I have developed a wcf application that has wcf service hosted on IIS(for now locally),it has a client with a form UI that displays information to the user.. Im using BasicHttpBinding,all worked well before..the wcf service part was working very well and had no issues,but by the time i created a UI ,and retested it...,it gives errors.. the errors i googled but im confused what to do..there are 3 to 4 errors that i figure out randomly...the errors are as follows: 1."The HTTP request was forbidden with client authentication scheme 'Anonymous'.   2.The underlying connection was closed: The connection was closed unexpectedly.   3.Cannot access a disposed object. Object name: 'System.ServiceModel.Channels.ServiceChannel'.   are these errors related to each other??are they related to the same issue??..My application is developed and now i get these errors which never figured out before..   what do i do??plz do gv a fast and clear solution if possible..Im waiting for a quick  response..could someone solve this plz..!!   Thanks MumtazMumtaz Surani

View Complete Post

More Related Resource Links

Enterprise Library: Take Exception To Critical Errors With Custom Application Blocks


Enterprise Library is a collection of application functionality blocks that you can re-use in your application for common functionality you'd otherwise have to write again and again. Here Jay Hilyard explains how to use them.

Jay Hilyard

MSDN Magazine September 2006

Framework 1.1 Application errors when run over network




I recently picked up a project for a client that is stuck on the 1.1 framework. The application in itself is fairly straight forward. A few datagrids and pic boxes to display data from an mdb file.


When run from the host machine it works a treat and has no problems whatsoever, but when it is run from a network folder it crashes as soon as it tries to connect to the mdb file. This is running on a dev machine to match the clients so is sat on the 1.1 framework. When I run it on my machine which has all frameworks it works fine.


So does anyone know what I have to do to make this work as it's proving to be a show stopper with the client. And before you ask, they won't move frameworks, I tried getting them to do that and they said no.


Just to add as well, I have very good error trapping throughout the app and it doesn't return anything. All message returned are blank which is making it an even bigger pain in the asre. Considering it's such a simple app.





Application Event Log Errors (event id 8031 and 5553)


I'm not sure if it's related, but I recently removed an old Search Service Application from my server and I keep getting the following two event log errors. Everthing seems to be working fine, but I'd like to clear up the errors. Any ideas?

Log Name:      Application
Source:        Microsoft-SharePoint Products-SharePoint Portal Server
Date:          6/4/2010 10:00:08 AM
Event ID:      5553
Task Category: User Profiles
Level:         Error

Computer:      TST-M10RTM-APP.domain.com

failure trying to synch site c2e96f78-9bd7-404d-a376-0809b6a1eece for ContentDB f0d6d51f-ebd8-44f1-9445-2eec259141ed WebApp 2b25fc24-e146-4e50-990d-5107c3ceeaad.  Exception message was Procedure or function profilesynch_MS_DeleteWeb has too many arguments specified.
The 'profilesynch_MS_UpdateWeb' procedure attempted to return a status of NULL, which is not allowed. A status of 0 will be returned instead..
Event Xml:
<Event xmlns="http://sc

Windows Application Log Event Errors writing back to SharePoint Library fields


Hi has anyone done anything like this?

My Library workflow is writing to an External List (MS SQL backended).  If an exception is thrown in MSSQL (Stored Procedure, Trigger, etc) I would like to create a mechanism for writing something back to my Library besides the workflow column saying "Error Occured".

I could create a text field to provide some error feedback, anybody ever did something like this?


Search Service Application creation causes DB errors in SharePoint Logs

When I add a Search Service Application in CA, I receive database errors in the LOG files related to permissions.  The service account is the same as the Farm service account in this case, which does have the db_owner role for the Search Service databases.  I have tried re-installing SharePoint Server 2010 three times.  The first two, I was using a service account that had less rights and failed to create the Search Service Application databases.  Using the Farm service account, I was able to create the Service, but still getting the errors mentioned below. 

01/11/2010 09:44:30.65  OWSTIMER.EXE (0x09A8)                    0x0C20 SharePoint Foundation          Database                       880i High     System.Data.SqlClient.SqlException: The user does not have permission to perform this action.     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) 

Ready to deploy application on company intranet.. need help


I am just about getting ready to deploy my ASP.NET webapplication (C#) which uses .NET 2.0.  I have full access to a Win2k 2003 server with IIS 6.0.

Here are my questions and situations:

1. Only specific users who are part of a security group can access the web app. 

2. Many users are not on the same domain, so I suppose a security group must be created?  So all users are added to one security group?

3. Should I have anonymous access/authentication enabled in this case?

4. How can I set up a way so that when the web application is first accessed, the browser prompts the user for a username/password that is local to entire company IT web server?  When the authentication has been verified, the user is allowed to proceed and the webapplication will load.

5. Will any type of impersonation need to be set in web.config?  Probably not as each user are utilizing their own username as their login credentials?

Forefront Identity Manager errors when starting the User Profile Synchronization Service Application

I have seen several people who are having trouble getting the User Profile Synchronization Service to start.  None of those threads have the set of errors that I am seeing.  I have all the prerequisites installed and I am using the farm administrator account which has admin rights both on the SP server and the SQL box.  This is a split back-to-back extranet topology and there is a one way trust between the extranet domain and the internal domain.  The administrator account is an internal domain account.  I receive the following two Forefront errors every five seconds in the event log after starting the User Profile Synchronization Service Application:

.Net SqlClient Data Provider: System.Data.SqlClient.SqlException: HostId is not registered
   at Microsoft.ResourceManagement.Data.Exception.DataAccessExceptionManager.ThrowException(SqlException innerException)
   at Microsoft.ResourceManagement.Data.DataAccess.RetrieveWorkflowDataForHostActivator(Int16 hostId, Int16 pingIntervalSecs, Int32 activeHostedWorkflowDefinitionsSequenceNumber, Int16 workflowControlMessagesMaxPerMinute, Int16 requestRecoveryMaxPerMinute, Int16 requestCleanupMaxPerMinute, Boolean runRequestRecoveryScan, Boolean& doPolicyApplicationDispatch, ReadOnlyCollection`1& activ

Thread application conections Urgent!!!




I have a app server (Srv A) with two proccess app1, app2. This procces create (n) threads to conect a database server (Ser B) so it this server have associated threads (kpid) but the kpid not correspont the serv a threads


How i do to identified or correlate the servers A thread with the server b thread.


Thank for your help, i'm sorry by my English 

Mauricio Mejia

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

jQuery $(document).ready() and ASP.NET Ajax asynchronous postback

Many call it the ASP.NET jQuery postback problem, but using the technique below should make it no problem anymore. $(document).ready() isn't called after an asynchronous postback. What this means? You lose the functionality that should be executed within $(document).ready() after an UpdatePanel rendered its contents after an asynchronous postback.

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.

Application architecture in asp .net

Application Architecture is the most important process of developing a good application. Some people tends to jump into coding without any architecture laid. Later we see those people changing the architecture and finally the application had to be developed from the scratch with the correct architecture.

In this article I will describe some details about how you can improve the architecture of you application. This article is targeted to the beginner's audience.

Improving Application Performance in .Net

Application performance has always been a concern for Web Application developers. This article contains guidelines and tips for maximizing application performance in ASP.NET.

Logic behind N -Tier Application Development

In the arena of application development, developers all over the world use various programming languages, technical processes, and technical tools. While using number of technical & non technical elements the processes or methods become complex, for simplification of the application development process, developers use various techniques such as dividing the application architecture into layers or parts. In the professional & technical language this separation or division process is called N-Tier Application Development process, where "N" stands for number and "tire" stands for layers or parts.

How to create 3 tier application using LINQ

As you know that in 3 tier architecture there are three layers

User interface layer. (Is our Form in Windows application and .aspx page in Web application)
Data Access layer. (Which provides interface between Business logic layer and Database)
Business Logic layer.(Which stores your application logic)
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend