Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionRe: Closing child window Pin
Subulakshmi Karthic24-Nov-08 23:55
Subulakshmi Karthic24-Nov-08 23:55 
QuestionHitcounter problem...please guide.. Pin
mr_muskurahat24-Nov-08 21:39
mr_muskurahat24-Nov-08 21:39 
AnswerRe: Hitcounter problem...please guide.. Pin
Christian Graus24-Nov-08 22:40
protectorChristian Graus24-Nov-08 22:40 
GeneralRe: Hitcounter problem...please guide.. Pin
mr_muskurahat24-Nov-08 23:33
mr_muskurahat24-Nov-08 23:33 
Question[Message Deleted] Pin
shanthi jothi24-Nov-08 21:32
shanthi jothi24-Nov-08 21:32 
AnswerRe: Generate Payslip Pin
Krazy Programmer25-Nov-08 1:21
Krazy Programmer25-Nov-08 1:21 
AnswerRe: Generate Payslip Pin
Abhijit Jana25-Nov-08 1:51
professionalAbhijit Jana25-Nov-08 1:51 
Questioncreating ssis package using C#.net Pin
l.laxmikant24-Nov-08 20:57
l.laxmikant24-Nov-08 20:57 
Hi friends

I have created a package using C#.net

myPackage.PackageType = DTSPackageType.DTSDesigner90;
myPackage.Name = "MySSISPackage";
myPackage.Description = "Created using the SSIS API";
myPackage.CreatorComputerName = System.Environment.MachineName;
myPackage.CreatorName = "Otey";
//Add the OLE DB and Flat File Connection Managers
Console.WriteLine("Creating the MyOLEDBConnection");
cnOLEDB = myPackage.Connections.Add("OLEDB");
cnOLEDB.Name = "MyOLEDBConnection";
cnOLEDB.ConnectionString = "Data Source=RELL;Initial Catalog=Northwind;Provider=SQLNCLI.1;Integrated Security=SSPI;Auto Translate=False;";
//cnOLEDB.ProtectionLevel = DTSProtectionLevel.EncryptAllWithPassword;


Console.WriteLine("Creating the MyFlatFileConnection");
cnDestination = myPackage.Connections.Add("OLEDB");
cnDestination.Name = "cnDestination";
cnDestination.ConnectionString = "Data Source=RELL;Initial Catalog=testssis;Provider=SQLNCLI.1;Integrated Security=SSPI;Auto Translate=False;";

Console.WriteLine("Adding a Data Flow Task");
TaskHost taskDF = myPackage.Executables.Add("DTS.Pipeline") as TaskHost;
taskDF.Name = "DataFlow";
DTP = default(MainPipe);
DTP = taskDF.InnerObject as MainPipe;
// Add the OLE DB Source
Console.WriteLine("Adding an OLEDB Source");
DFSource = default(IDTSComponentMetaData90);
DFSource = DTP.ComponentMetaDataCollection.New();
DFSource.ComponentClassID = "DTSAdapter.OLEDBSource";
DFSource.Name = "OLEDBSource";

CManagedComponentWrapper SourceInst = DFSource.Instantiate();
SourceInst.ProvideComponentProperties();
DFSource.RuntimeConnectionCollection[0].ConnectionManagerID = myPackage.Connections["MyOLEDBConnection"].ID;
DFSource.RuntimeConnectionCollection[0].ConnectionManager = DtsConvert.ToConnectionManager90(myPackage.Connections["MyOLEDBConnection"]);
SourceInst.SetComponentProperty("OpenRowset", "Categories");
SourceInst.SetComponentProperty("AccessMode", 2);
SourceInst.AcquireConnections(null);
SourceInst.ReinitializeMetaData(); // Error line
SourceInst.ReleaseConnections();


I am getting an exception "Exception from HRESULT: 0xC0202009 -1071636471"

please help on this.

thanks
QuestionHow to find group of single user from active directory.?? Pin
Piyush Vardhan Singh24-Nov-08 20:22
Piyush Vardhan Singh24-Nov-08 20:22 
AnswerRe: How to find group of single user from active directory.?? Pin
Christian Graus24-Nov-08 20:33
protectorChristian Graus24-Nov-08 20:33 
GeneralRe: How to find group of single user from active directory.?? Pin
Piyush Vardhan Singh24-Nov-08 21:19
Piyush Vardhan Singh24-Nov-08 21:19 
QuestionShow checkbox inside a dropdownlist Pin
SreejithAchutan24-Nov-08 19:30
SreejithAchutan24-Nov-08 19:30 
AnswerRe: Show checkbox inside a dropdownlist Pin
Christian Graus24-Nov-08 19:34
protectorChristian Graus24-Nov-08 19:34 
AnswerRe: Show checkbox inside a dropdownlist Pin
Abhijit Jana24-Nov-08 19:34
professionalAbhijit Jana24-Nov-08 19:34 
QuestionShow data in gridview vertically and update vertically also? Pin
pundir abhishek24-Nov-08 19:20
pundir abhishek24-Nov-08 19:20 
AnswerRe: Show data in gridview vertically and update vertically also? Pin
Christian Graus24-Nov-08 19:26
protectorChristian Graus24-Nov-08 19:26 
QuestionFetch all the permissions of a folder/file of IUser [modified] Pin
Pankaj Saha24-Nov-08 19:19
Pankaj Saha24-Nov-08 19:19 
AnswerRe: Fetch all the permissions of a folder/file of IUser Pin
Christian Graus24-Nov-08 19:25
protectorChristian Graus24-Nov-08 19:25 
Questionhow to read the data of a comp port through asp.net page Pin
souravghosh1824-Nov-08 19:00
souravghosh1824-Nov-08 19:00 
AnswerRe: how to read the data of a comp port through asp.net page Pin
Christian Graus24-Nov-08 19:06
protectorChristian Graus24-Nov-08 19:06 
GeneralRe: how to read the data of a comp port through asp.net page Pin
souravghosh1824-Nov-08 19:25
souravghosh1824-Nov-08 19:25 
GeneralRe: how to read the data of a comp port through asp.net page Pin
Abhijit Jana24-Nov-08 19:29
professionalAbhijit Jana24-Nov-08 19:29 
GeneralRe: how to read the data of a comp port through asp.net page Pin
Christian Graus24-Nov-08 19:33
protectorChristian Graus24-Nov-08 19:33 
QuestionSecurity Trimming Enabled Pin
kenexcelon24-Nov-08 10:56
kenexcelon24-Nov-08 10:56 
GeneralRe: Security Trimming Enabled Pin
Guffa24-Nov-08 13:57
Guffa24-Nov-08 13:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.