.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

VS 2010 publish to provider wizard not working properly

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :

Running the publish to provider wizard from Visual Studio 2010, if I want to only export the stored procedures in my database, I uncheck "Script all objects in selected database", then I select "stored procedures" then when presented with a list of stored procedures I click "select all" - this is where I think the problem occurs.  If instead of "select all" i manually select the check box in front of my 100+ SPs it works, if I use the select all however, I export all the tables and data as well.

It looks as if the select all is doing just that, selecting all SP's and tables, even thought the wizard only shows the SPs. 

Maybe there is a VS2010 update to fix this bug?  If not, there needs to be one :)


View Complete Post

More Related Resource Links

SharePoint 2010 Personal View not working properly.


Hi All,

I created three personal view in SharePoint 2010, it's not working properly as we want, when we are changing view from one to another, list data is display as newly selected view in view dropdown, but view name is not getting change. 


I created view List Users, List Company, List City. when we a trying to change view from List Users to List Company it's showing data for list company but view name is still showing List Users. same happing with List City.


Any suggestions are welcome.


In sharepoint excel working fine in office 2007 but not in office 2010


Hi All,

we receive error  while trying to create excel sheet using the template we have uploaded on the SharePoint 2007.


This occurs on a machine that has Office 2010 installed. Earlier the machine had Office 2007 and everything was working fine.


Can you let me know why is problem is coming and how to resolve this.



Sanjeev Tiwari


Discussion board template of SharePoint 2007 not working properly


Use case 1 – Discussion board to suggest change to documents

 User adds a suggestion. The discussion board needs fields like module name, document name, section name and reason for a change etc.


 Problem 1 – When I try to add fields to the discussion board – When a user wants to post a reply to a suggestion, user screen shows the new item form and all fields instead of just a reply or comment field. Need help how can I ensue user only sees reply or comment field?


 Problem 2 – If I make these changes in the discussion board template through SharePoint designer 2007 and later if we plan to upgrade to SP 2010. Do I have to redo the changes I did on old discussion board or will upgrade take care of migration of the changes to new discussion board template available with SP 2010? 




Walkthrough: Writing a Claims Provider in SharePoint 2010

By using claims authentication, you can assign rights based on claims without knowing who a user is, or how they are authenticated. You have to know only the attributes of the user.

Sample: SharePoint 2010 Claims Provider

Download a code sample that shows how to write a claims provider in SharePoint 2010 to augment claims and provide name resolution.

Quick Note: Working with the SharePoint 2010 Ribbon User Interface

Learn to extend the Microsoft SharePoint 2010 ribbon by adding a custom button that executes server-side code.

can anyone tell me why setInterval is not working properly i want to display the time every seconds,

setInterval is suppose to execute the script every second there getting the most uptodate time of day , but it does not update it stays the same
      <script type="text/JavaScript">

          function interval() {
              setInterval("time()", 1000);
          function time() 
              var d = new Date();
              var time = d.getHours();
              var time2 = d.getMinutes();
              var time3 = d.getSeconds();

              document.write(" : ");
              document.write(" : ");
  // -->
      <input type="button" OnClick="interval()" value="Click Me!"/>


IBM i DB2 UDB Provider for .NET in Visual Studio 2010


Craig Pelkie had a great article on How to Add the IBM Provider as a Data Source in Visual Studio 2008.  When one followed these steps, one could bind gridviews, list views, etc to tables on the AS/400 (or system i, or IBM i, or whatever we're supposed to call it these days...my boss still calls it the AS/400). 

I'm wondering if anyone knows the tips and tricks to do something similar with Visual Studio 2010.  There's got to be a way to do it, but I don't know what it is.  Has anyone been successful with this yet?

FullTextQuery not working after upgrade to SharePoint 2010

I have a function   Public Function QueryEx(ByVal webUrl As String, ByVal queryXml As String) As DataSet     Dim ds As DataSet = Nothing   Try   Dim myCredentials As NetworkCredential = CredentialCache.DefaultNetworkCredentials sws =   New SearchService.QueryService sws.Url = webUrl &   "/" & webServiceName   CType(sws, SearchService.QueryService).QueryEx(queryXml)     Catch ex As Exception lblDebug.Text =   "QueryEx: " & ex.Message pnlError.Visible =   True ds = Nothing   Finally sws.Dispose()   End Try   Return ds     End Function and passed the following full text query wrapped in the appropriate xml SELECT FileExtension, Filename, EffectiveDate, Title, Author, State, PolicyType, ApplicationType, PolicyNumber, ClientCode, CreatedBy, Created, ModifiedBy, LastModifiedTime, Path FROM portal..scope() WHERE ("SCOPE" = 'MyDeptScope') AND "IsDocument" = 1  AND ("Filename" LIKE 'Sub%') this worked in SharePoint 2007. We upgraded to SharePoint 2010.  I have all the managed properties setup the same on both versions.  I had to modify the query to get past one error I was receiving to SELECT FileExtension, Filename, EffectiveDate, Title, Author, State, PolicyType, ApplicationType, Pol

Check In / Check Out not working properly

At various points during the day, I check back in the master and CSS files I've been working on.  However, it doesn't show them as checked in ... they are still flagged with green check in SP Designer.   And what is more confusing, sometimes I can't save anything because it says that it is checked out.  But I'm the one who checked it out.  And it thinks it is checked in.  So I try to check it out again, and it won't let me check it out. The only way I got around this yesterday was to rename the master file.  Then rename it back to it's original name. Suggestions?

Sharepoint 2010 COnfiguration Wizard Error Step 3 of 10

I am trying to install Sharepoint 2010 on a Windows 2008 R2 Hyper V Instance.  The database is SQL Server 2008 R2.  All them are RTM I am getting this error Failed to Create the configuration Database An exception of type Syste.InvalidCastException was thrown.  Additional exception information: Unable to cast object of type "Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection' to type "Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection' to diagnose the problem, review the logs at so after reviewing the logs this is what I find Resource retrieved id PostSetupConfigurationFailedEventLog is Configuration of SharePoint Products failed.   This is the error from the event logs Log Name:      Application Source:        SharePoint 2010 Products Configuration Wizard Date:          4/26/2010 11:30:09 PM Event ID:      104 Task Category: None Level:         Error Keywords:      Classic User:          N/A Computer:      jedicouncil.endor.local Description: Failed to create the configuration database. An exception of type System.InvalidCastException was thrown. 

Is SecurityToken.svc working in SP 2010 - RTM?

I have installed SP 2010 RTM build on 5-6 Windows 2008 R2 server and on all the server, whenever I browse to SecurityToken.svc, it give Internal server error. After enabling <serviceDebug includeexceptiondetailinfaults="true">, it shows following error An Exceptional Detail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System..InvalidOperationException: An exception was thrown in a call to a policy export extension. Extension: System.ServiceModel.Channels.TransportSecurityBindingElement. Because of this error, our FormBased Authentication with LiveID is not working. Any Idea would be helpful.

Configuration failed when running wizard on 2010 RC1

Tried running with another config database name but it still failed.   dialog box appears , stating system.invalidcastexception thrownany ideas would be appreciated.  We uninstalled the BETA first and are worried that maybe something remained causing this.                       Leaving function TaskCommon.TryGetWssVersion4ConnectionStringExists02/11/2010 15:06:27  9  INF                              DID NOT discover a v4 connection string and SPFarm.Local indicates that this machine is not joined.02/11/2010 15:06:27  9  INF                              Entering function Farm.Clear02/11/2010 15:06:27  9  INF                                Entering function CentralAdminServiceInstance.Reset02/11/2010 15:06:27  9  INF        &nb

New SP 2010 Installation - Can't Get User Profiles / Outlook / My Site stuff working.

Hello,   I have a new SP 2010 Installation. I did NOT set it up in Standalone mode. My users can log in and create their own My Sites. They can edit them, add content, etc. When using Outlook 2010, they add one another in the People Pane. It shows up under My Site > My colleagues that they are connected. However, in Outlook, the MySite icon in the People Pane has a red X on it. I thought that User Profile Sync Service might be the culprit after reading through various blogs. However, if I go to Central Administration > Manage Profile Service : User Profile Service Application... if I click Configure Synchronization Connections, the page comes up - "The query returns nothing." I try to click "Create New Connection"... I get an error message - Cannot navigate to the requested page while User Profile Synchronization is running. Please wait for the current Synchronization to finish.   OK - I thought that the query returned no results. I don't see the service running... can someone point me in the right direction?

AsyncPattern is not working properly.

Hi all I have a WCF service which has two methods. [ ServiceContract]   public interface IAsyncInterface { [ OperationContract(IsOneWay = true)]   void Submit(CurrentJob currentJob); [ OperationContract(IsOneWay = true)]   void Execute(AsyncExecInstance exec, AsyncRequest request);       ///Async Call [ OperationContract(IsOneWay = true,AsyncPattern=true)]   IAsyncResult BeginSubmit(CurrentJob currentJob, AsyncCallback callback, object state);   void EndSubmit(IAsyncResult ar); [ OperationContract(IsOneWay = true,AsyncPattern=true)]   IAsyncResult BeginExecute(AsyncExecInstance exec, AsyncRequest request, AsyncCallback callback, object state);   void EndExecute(IAsyncResult ar); } My client is a windows service. i have 2 seperate threads for calling these 2 methods. So these 2 methods will be called parallelly. if i call this methods 15 times at a time all the 15 requests are giving to my WCF service. The first 8 requests are processing very fastly and i am getting result. after that the service is not at all responding. But the WCF service is still active. Some time though i submitted 15 request to service some of the requests are not processing. I set concurrency mode as multiple and MaxConcurrentCalls=50. That means it should handle 50 requests at the same time right? Can

When Upgraded a site from Wss 3.0 to Sharepoint foundation 2010, subsites are not working

HI ALL, I recently migrated an old Sharepoint site from WSS 3.0 to Sharepoint foundation 2010. There were no problems during the upgrade and the stsadm command displayed the message that upgrade completed successfully. However when I am accessing the sub-sites from outside the server, I am able to see the content, but when I go to Site Settings, I get an error "File not found". Also the Views for the sub-sites are not working. However on accessing the sub-sites from the Server everything is working fine. Can anyone please help me?  

how to make working WPF 2010 program make changes to SQL Server 2008 Express files

(1) I have a working WPF 2010 program that manipulates a table in SQL Server 2008 Express (2) the program does delete, update, select and insert correctly however in its own project file folder logbooklmk.mdf   logbooklmk_log.ldf (3) I want the actual SQL Server 2008 express files to be changed yes I know the issue is sharing and the copy option only applies to the local project files. I found this out by trying always copy, never copy and copy if newer. I probably have to change the .xsd folder to refer to the actual SQL Server 2008 Express file. Tried that once and it failed. Something about sharing not allowed.
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