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


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

W2K3/MOSS2007: batch-like retract + delete ALL installed solutions ?

Posted By:      Posted Date: October 15, 2010    Points: 0   Category :SharePoint
 

Hello,

is there any way to retract and remove all installed solutions in a MOSS 2007 environment ? I find it very annoying to step through solution management and to do it manually.

Is there any script available that can automatically step trough all installed solutions and remove them maybe with the help of Powershell ?

regards

Sven




View Complete Post


More Related Resource Links

VS 2008, in addition to VSeWSS, has to be installed to the WSS3.0/MOSS2007 web server?

  
We just started to develop SharePoint Intranet by using WSS 3.0.  To get a first hand experience in developing SharePoint Web Parts in VS 2008, I plan to install VSeWSS to the web server where we installed WSS3.0, and MOSS2007 in the future. Do I still need to install VS 2008 to this web server, or I can develop SharePoint web parts from my workstation where VS 2008 was already installed?

Field type Choice is not installed properly. Go to the list settings page to delete this field.

  
Has anyone received this error message and know how to deal with it? Field type  Choice  is not installed properly. Go to the list settings page to delete this field. I have received this error three times now, once when trying to add a 'List Definition From Content Type' in Visual Studio twice when trying to add from existing site columns in Sharepoint in the list settings and library settings from the ribbon from a list and a document library.

SharePoint Moss2007 - Permissions for Issue Tracker. Want users to Edit but not Delete

  

I have a issue tracker list setup and I've got custom permission group which is basically the same as the standard Contribute group except with Delete removed. However using this custom group users don't get the Edit button on the List Items to then be able to go in and change. When I add the delete permission to the group they can then go in - but can then obviously delete which I don't want them to be able to do.

Anyone got a solution for this?

Thanks


how to delete custom site templates(solutions) still shows afert remove the solution in SharePoint 2

  

I created several version of site templates with different name.  Next I removed the older versions in solution gallery but in the list of template sites still  are showed.

I searched for cmdlet in PowerShell witho no luck.  The custom templates does not shown in SP-WebTemplate command.  So I don´t know how to remove this templates from SharePoint, if the gallery solution is empty.  I remove the solutions from recycle bin in the site and site colleciton scope but with the same results.  And I first deactivate the solution and next remove the solution but nothing works to remove the template from site template.

The odd thing is that in my SharePoint 2010 development Virtual Machine removing the solutions remove the site templates of the creation site option. But in  the Production Server recently migrate to 2010 it does not work.

Any solution in code, cmdlet or some else could help.

Thanks in advance!


Adding Dynamic Rows in ASP.NET GridView Control with TextBoxes and with Delete functionality

  
In my previous examples, I have demonstrated on how to add dynamic rows in GridView control with TextBoxes and how to save the values into the database. Now, seems that most of the developers are asking if how to add a delete functionality with it. So in this example, I'm going to show on how to delete a certain row in the dynamic GridView with TextBoxes.

Regrading Sharpoint 2010 problem and solutions

  
http://emanonsolutions.blogspot.com/
We can write your question and problem on this blogger.you get ans.use.

Determine whether Forms Server is installed on a server

  
Check whether the Microsoft.Office.InfoPath.Server.dll and FormServer.aspx files are installed on the server.

Sandboxed Solutions for Web Parts in SharePoint 2010

  
SharePoint 2010 provides a new sandboxed environment that enables you to run user solutions without affecting the rest of the SharePoint farm. This environment means that users can upload their own custom solutions without requiring intervention from administrators, and without putting the rest of the farm at risk.

SqlCommand.ExecuteNonQuery() returns -1 when doing Insert / Update / Delete

  
Sometimes you end up with a return value of -1 when using the SqlClient.SqlCommand.ExecuteNonQuery method.

Why is that?



Well, the ExecuteNonQuery method is there for statements for changing data, ie. DELETE / UPDATE /INSERT, and the returned value are the number of rows affected by that statement.

When checking the documentation we can see that there are some conditions that return -1.



For UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the command.

When a trigger exists on a table being inserted or updated, the return value includes the number of rows affected by both the insert or update operation and the number of

rows affected by the trigger or triggers. For all other types of statements, the return value is -1. If a rollback occurs, the return value is also -1.

update/delete not working on server only

  

my aspx page works in VWD, and everything works on the server EXCEPT update and delete sql functions. any ideas?

thanks 


How to use TOP in DELETE

  

Hi,

I have a large database in MSSQL 2005 (rows around 3,788,299 : size 4GB)

Two questions

1. SQL query ~ select top 100 * from [tablename], how do capture the next 100 record?

2. SQL query ~ delete top 100 from [tablename] --- MSSQL show me syntax error? How can I only delete the top 100 record?

 

thk.


delete record from excel sheet

  



Hello,

           I have write the code for deleting the data in excel sheet. but we have got the error" Deleting data in a linked table is not supported by this ISAM."

     below I paste some code snippest.

string strDelete = "Delete  from [" + strSheetName + "$]";

            cmdExcel.Connection = con;
            cmdExcel.CommandType = CommandType.Text;
            cmdExcel.CommandText = strDelete;

            cmdExcel.ExecuteNonQuery();


Please can anybody this answer.It is urgent


delete data in excel sheet

  

Hello,

           I have write the code for deleting the data in excel sheet. but we have got the error" Deleting data in a linked table is not supported by this ISAM."

     below I paste some code snippest.

string strDelete = "Delete  from [" + strSheetName + "$]";

            cmdExcel.Connection = con;
            cmdExcel.CommandType = CommandType.Text;
            cmdExcel.CommandText = strDelete;

            cmdExcel.ExecuteNonQuery();


Please can anybody this answer.It is urgent




Automatic Batch Printing in ReportViewer Remote Mode

  

Please help me, i have a properly working codes that is capable of the following:

1. Printing of Reports from ReportViewer without using the build-in print ICON in the actual ReportViewer. to view the working for the printing alone please click here.

2. Batch Printing by making a loop and placing a checkbox on the gridview where the needed paramerter (DataKeyNames ID) is retrieved then pass to the ReportViewer

This is my Code

foreach (GridViewRow row in GridView1.Rows)
        {
            CheckBox chk = (CheckBox)row.FindControl("CheckBox2");
            if (chk.Checked)
            {
                ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://TestServer/ReportServer");
                ReportViewer1.ServerReport.ReportPath = @"/Tavern/StudPaymentReport";
                ReportViewer1.ProcessingMode = ProcessingMode.Remote;
                ReportParameter[] rptParams = new ReportParameter[1];

                rptParams[0] = new ReportParameter("ClientID", GridView1.DataKeys[row.RowIndex].Value.ToString());

                ReportViewer1.ServerReport.SetParameters(rptParams);
                ReportViewer1.ServerReport.Refresh();
               

Office Add-Ins: 3 Solutions for Accessing SharePoint Data in Office 2010

  

SharePoint 2010 introduces a number of new ways to access business data and present it to the user. We'll show you several options that range from no-code solutions to fully integrated Office add-ins.

Donovan Follette , Paul Stubbs

MSDN Magazine July 2010


Design Patterns: Problems and Solutions with Model-View-ViewModel

  

The Model-View-ViewModel (MVVM) design pattern describes a popular approach for building Windows Presentation Foundation or Microsoft Silverlight applications. Robert McCarter shows you how the ViewModel works, and discuss some benefits and issues involved in implementing a ViewModel in your code.

Robert McCarter

MSDN Magazine July 2010


Categories: 
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