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

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

Creating another instance

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :Sql Server
I have a SQL2008 Developer edition in my laptop and wants to install another instance on my laptop, but unfortunately during my move, I misplaced the set-up CD. Is there another way for me to add another instance ?

View Complete Post

More Related Resource Links

Creating an Activity Instance for WorkflowInvoker



I want to create an Activity to run through a TestMethod, but the following Fails


IObjectScope scope = RTODataLayer.Private.ObjectScopeProvider1.GetNewObjectScope();

RTODataLayer.RequestedDate date = WorkflowInvoker.Invoke(new CreateRequestedDate() { Scope = scope, Active = true, FromDate = DateTime.Now.AddDays(10), ToDate = DateTime.Now.AddDays(15), RequestID = request.RequestID, TypeID = 1, WorkingDays = 5 });

Error    142    Cannot implicitly convert type 'Telerik.OpenAccess.IObjectScope' to 'System.Activities.InArgument<Telerik.OpenAccess.IObjectScope>'    D:\websites\workflow\RTO.UnitTests\RTO.Testing\Workflows\Approval.cs    19    106    RTO.Testing

How do I pass in the scope object?...in my actual master XAML file I maintain the scope in the workflow, but I want to test the individual components.




Feature Install/Activation not creating List Instance


I have created a feature that includes a form template, two list templates (one for a doc library that uses the form and another for a custom task list template), and two list instances.  The idea is that I want installation/activation of the feature to create and register the form template, to set up the two list templates, and then to create an instance of each list template (i.e. a Doc Library and a Task List based on my templates).

The feature installs fine, and all templates are created.  However, no instances are created.  Best I can tell I have the required XML files set up as required.  There are no errors that I've been able to isolate in the SharePoint logs.

Anyone have any ideas why I might not be getting the list instances?  Below are my XMLs...


<?xml version="1.0" encoding="utf-8" 

Best method for creating a site definition containing a custom list instance



I want to create a new site definition which, when provisioned, includes an instance of a custom list. The custom list definition is contained in a feature as part of the site definition project. What's the best method for creating an instance of this custom list?

I can think of a few ways to do it:

- Modify the onet.xml for my site definition to include an instance of the list

- Use feature stapling to enable my custom list defintion feature when a site is provisioned using my new site definition and include a list instance in the feature.

Is there another more suitable method?



'Package.xsd' Error when creating a Slipstreamed, Prepared Instance of SQL Server 2008 R2



I am trying to create a Prepared Instance of SQL Server 2008 R2 using an install that is Slipstreamed to include SP1. I followed Option 1 as described here http://msdn.microsoft.com/en-us/library/dd638062.aspx and then was creating the Stand-Alone Prepared Instance as described here http://msdn.microsoft.com/en-us/library/ee210664.aspx. The System Configuration Checker passed with no errors, and then I hit this error:

SQL Server Setup has encountered the following error:

The element 'Package' in namespace 'http://www.microsoft.com/sql/slp/Package.xsd' has invalid child element 'Rules' in namespace 'http://www.microsoft.com/sql/slp/Package.xsd'. List of possible elements expected: 'Properties, Datastore, Extensions, MsiPatches, RuleGroups, Sequences' in namespace 'http://www.microsoft.com/sql/slp/Package.xsd' as well as any element in namespace '##other'.

Error code 0x84B10001.

Any ideas as to the problem and solution?






Why creating instance of custom dll using Assembly.CreateInstance is much slower on 64 bit machine t


In my program I need to load a custom dll which I have generated through my application. When I try to create instance of this custom dll on 64 bit machine following line takes 5 times more than what it takes on 32 bit machine:

oControl = oAssembly.CreateInstance(sDLLFullPath,True)

Can anyone help me understand why this line is slow on 64 bit machine than 32 bit machine. Is there any other way to create instance of my custom dll?


Creating your SharePoint Governance Plan

One of the most common questions that I get from prospects as I'm talking to them about the creation of a governance plan and process is what does it look like. In other words, there are materials available which describe what should be in a governance plan but there isn't a ton of guidance on what the process of creating a governance plan and process are.

Creating Paging for a Repeater Control

A common question is "How do I implement paging within a Repeater?" Although the beauty of the Repeater control is its flexibility, you're on your own for building most functions. ASP.NET 2.0 has included some new controls that provide paging, as does the DataGrid in ASP.NET 1.1. However, this tip shows you how to roll your own paging for a simple data viewer.

Creating an AJAX Repeater in ASP.NET MVC

The "TaskList" is a tried an true example of the most basic thing that you can do in any framework. Unfortunately, I had some problems finding a really good example of all the steps necessary to get a task list to work in ASP.NET MVC 1.0.

Creating a Generic Entity Framework 4.0 Repository

With .NET 4.0 right around the corner, I thought it would be cool to download Visual Studio 2010 beta 2 and start playing around with the next release of Entity Framework.

The initial release of Entity Framework came with a great deal of criticism. To make matters worse, there was a large uproar when it was rumored that Microsoft would be abandoning LINQ to SQL, in favor of Entity Framework. This was because, at the time, many developers felt Entity Framework was an inferior technology to LINQ to SQL. To set things right, Microsoft proactively moved forward with improving Entity Framework, in time for the 4.0 release of the .NET Framework. This is good news because my initial impressions, so far, have been nothing but positive.

Creating a Simple Class in C#

The second article in the C# Object-Oriented Programming tutorial describes how classes are created in C# and how behaviour, in the form of publicly visible and private, hidden methods can be added. This demonstrates some of the uses of encapsulation

Creating SharePoint items with CreateItemActivity

Instead of creating new list items from code in your workflow you can use CreateItemActivity. CreateItemActivity can be used for creating list items or files. Properties of interest for this activity are the following (most of them are self-explanatory):

Creating an Excel Spreadsheet programmatically using VB.NET

The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel. This article reveals using Excel from a managed application. Excel is the spreadsheet component of Microsoft Office 2000. The majority of Excel programmatic functionality is exposed through Automation via the type library Excel9.olb. The intention of this article is to express that a managed application can interrelate with Excel as a COM server.

Creating an Excel Spreadsheet and Adding Data to It Programmatically

The Interoperability services make it veryeasy to work with COM Capable Applications such as Word and Excel. Thisarticle reveals using Excel from a managed application. Excel is thespreadsheet component of Microsoft Office 2000. The majority of Excelprogrammatic functionality is exposed through Automation via the typelibrary Excel9.olb. The intention of this article is to express that amanaged application can interrelate with Excel as a COM server.

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

Creating Sites/Lists/List Items under Current User Context in SharePoint By Using SPUserToken

Usually we do this by performing the action under RunWithElevatedPrivileges method and updating the listitem using SPListItem.SystemUpdate() method (see here). but this approach has its own flaws like (RunWithElevatedPrivileges will run under system account, we cannot use SystemUpdate for SPSite,SPWeb,SPList, since it runs under system we will "CreatedBy" by as SystemAccount).

Creating Dialogs and Ribbon Controls for SharePoint 2010

SharePoint 2010 provides new user interface components, such as server ribbons, and the new dialog platform. As a developer, you can create controls for the server ribbon and dialog boxes for the dialog platform.

Creating a Basic SharePoint Web Part

This programming task includes the steps for creating a basic custom Windows SharePoint Services Web Part. It is a simple Web Part that allows you to change the Web Part's Title property, which is a Windows SharePoint Services WebPart base class property that sets the text in the title bar of the Web Part.
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