.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

how to get a sp2007 bdc definition file into sp2010

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :SharePoint
Any suggestion on how to upgrade the xml definition file used in 2007 to the new format used in 2010? I've found one tool, but it is quite expensive, as this will be a "one-off" job. (as the sharepoint designer now is quite ok to use when the main part is in there)

View Complete Post

More Related Resource Links

Creating a new root Site Collection using a custom site definition file (ONET.XML)

Using Powershell, I am trying to deploy the our custom solution to SP 2010.  The script is doing the following: Deleting the web application using Remove-SPWebApplication Creating a new web application using New-SPWebApplication Adding and deploying a series of WSP files (one of which has the site definition file in it) using Add-SPSolution and Install-SPSolution Create a root site collection based on the site definition file provided in the WSPs using New-SPSite I get the error "WARNING: Template is not found and is not applied." When I run Get-SPWebTemplate, my site definition does not show up. I saw this: http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/5ea46e07-a4b0-4bab-b698-9b6eeb695607 but I want a solution that does not involve me reloading a DLL, as, I feel there is something else I am forgetting. I have also tried: IISReset Resetting the timer service Cleaning the Cache (as described here: http://support.microsoft.com/kb/939308) Nothing seems to work.  Does anyone have any ideas?

SP2007 designer list workflow to SP2010


Hello all,

Is there a way to ;
- get an upgraded Sharepoint designer 2007 list workflow into a 2010 VS WSP
- get an upgraded Sharepoint designer 2007 list workflow into a 2010 re-usable workflow

Without having to re-create ? :)


SharePoint - Why does SP2010 create two extra versions when sending to an official file (records cen



SharePoint 2010 creates 2 extra versions when sending a document to a record centre. The size of these versioned documents are always 6.2KB and does not have any check-in comments.

Please explain the purpose of these versions?



Hilmi J.

Error 2 Type or namespace definition, or end-of-file expected


Hi frnds,

I am new to this programming.. I am trying to download files from a specific folder in ftp server. after downloading those files i want to store in my computer. . I got the code on internet but wen i am trying i am getting this error Error 2 Type or namespace definition, or end-of-file expected. .  please help me very urgent. here is my complete code


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Net;
using System.Text;
using System.Runtime.InteropServices;

public partial class _Default : System.Web.UI.Page 
    protected void Page_Load(object sender, EventArgs e)
        string[] files = GetFileList();
        foreach (string file in files)

        public string[] GetFileList()
            string[] downloadFiles;
            StringBuilder result = new StringBuilder();
            WebResponse response = null;
            StreamReader reader = null;
                FtpWebRequest reqFTP;
                reqFTP = (FtpWebReq

Deploying .vb code file to site definition


I'm developing using VS2010. 2 projects: sharepoint site definition and a webapplication in visual basic.net. The code file .vb is not deployed with the sharepoint site definition.

Please anyone can help me.


the proplems when migrate lists from SP2007 to SP2010


I am migrating a list which includes a lookup column of Sharepoint  from SP2007 to SP2010 but having an issue that this column doesn't save data when working on SP2010. Do you know to fix it ?

Many Thanks

Ngoc Han

How to migrate a site from SP2007 to SP2010?


Hello world?

In our company we have both MOSS and SPFoundation. We have decided to migrate contents like site/web/list from MOSS to new SP environment.

Could anyone tell the procedure to do this by using Content Migration Deployment Object Model?

Many Thanks!

Gore T. Richard...

application definition file for BDC


You have network application pool accounts setup in IIS. You need to access data from sql server to BDC. You need to have some authentication done to access the data from BDC. What mode of authentication should you specify in ADF file?

a)pass through b)revert c) rdb credentials d) windows authentication.

Business Data Catalog Application Definition File with SSO

Does anyone have a working copy of BDC application defintion file with Single-Sign-on?  Please share it with me if you have it?


WildCard Error in Application Definition File Error with custom application



I am trying to execute a application definition file through webpart .The filter has to be done based on UserID which is of Type Int64.

But it gives error as "A Wildcard filter requires a TypeDescriptor that resolves to a String:

Hence i tried to change the Filter descriptor to type Comparison and exactMatch ,Even then it did not work.

Following is the app def file

<?xml version="1.0" standalone="yes"?>

<LobSystem xmlns="http://schemas.microso

File Splitter in .Net

I love to do utility programs in .Net. And this is one of them. As I was playing with JSplit (a free file splitter program), I wondered if I could do it in .Net. The framework supports file operations like reading files in bytes and creating them. It is indeed easy to do file operations in .Net Basics on File operations

Upload Multiple File using JQuery in asp.net

In this article I have explained how to upload multiple files using file upload control. I have used jQuery plugin for uploading multiple files.

I have also explained how to check for file type, file maximum size limit using jQuery & also using server side validation code.

Creating Excel file from C#

I used below coding for create a excel sheet.I got from on web site.
In below coding there is no problem.Its create the excel file.If i run second time,its ask to overwrite the current excel file.If I said "Yes" then it ok ,but If I select cancel button,its generate the Error message.The exception is

Upload a File to a SharePoint Document Library - Part I

The following helper class demonstrates a few techniques that allow documents to be uploaded to a SharePoint document library programmatically without using the API or a custom web service. You don't need to specify a document library name, and it will create any folders specified in the URL as required. File meta data will be updated if any properties are passed.

SmtpClient and Locked File Attachments

Got a note a couple of days ago from a client using one of my generic routines that wraps SmtpClient. Apparently whenever a file has been attached to a message and emailed with SmtpClient the file remains locked after the message has been sent. Oddly this particular issue hasn't cropped up before for me although these routines are in use in a number of applications I've built.

How to call an .exe file in .net

Sometimes a developer has to call an EXE from another EXE. While calling EXE there can be a requirement to pass parameter.

ClientAccessPolicy file in SharePoint 2010

I am upgrading my Silverlight demo code from the old beta to beta 2 and see that there are a few new considerations for the deployment of ClientAccessPolicy.xml files. In a previous post I demonstrated how to do this for SharePoint 2007. The heartburn that I get with that approach is any site collection owner or designer can drag the file into the site collection and open the site up to unwanted client access issues. In 2010 the virtual path provider no longer serves the files from the root of the site collection
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