Showing posts with label advance. Show all posts
Showing posts with label advance. Show all posts

Friday, March 9, 2012

OLE DB Source Error Output

In the Input and Output Properties tab under Advance Editor for OLE DB Source, I cannot remove columns. I copied this Source from a standard template and have made the normal changes to make it work. However I keep getting this error...

Error: 0xC020837B at Load Server Security, OLE DB Source [1]: The output column "DBName" (1632) on the error output has no corresponding output column on the non-error output.

Error: 0xC004706B at Load Server Security, DTS.Pipeline: "component "OLE DB Source" (1)" failed validation and returned validation status "VS_ISBROKEN".

DBName of course is one of the columns that no longer exist, but I can't remove. Whenever I try to remove one of the columns, I get this error...

Error at Load Server Security [OLE DB Source[1]]: The column cannot be deleted. The component does not allow columns to be deleted from this input or output. Is there anything that I can do to remove the columns? Is there just a simple setting that I can change to make this work?
If you just double click on the OLE DB source, you can choose "Columns" on the left hand side and unselect the columns you do not want in the data flow.|||There is a problem with that though because I can't make any changes within the source. I always get the error...

Invalid object name 'tempdb.dbo.Server_Roles. This is because the table isn't created yet. It gets created when the connection manager connects to each server. It is a temporary table. Thus, it won't let me make any changes that I can't make in advance editor.

-Kyle
|||

Why don't you create the table somewhere else, get it configured properly, then change the table name afterward?

|||

That doesn't work. Currently I created a table in the temp directory and pointed the connection manager towards that DB and server. I still can't click on column and I can't change anything unless I hit cancel. My guess is that it may not be connecting to the server and DB correctly. I don't get any explanation for the error, its just one of the H errors.

-Kyle

|||I guess I don't understand what you are trying to do. Please explain further with more detail.

Monday, February 20, 2012

Old version of SQL Server needed.

Does anyone know where I can get a 6.0 or older version of SQL Server?
Thanks in advance
Rob Valleehttp://www.emsps.com/oldtools/mssql.htm

Old asp pro trying to learn asp.net... having some problems, Help!

Hello everyone! Many thanks in advance for taking the time to help me out. I'll also apologize upfront for the longwinded email, but I seem to be really stuck in a rut. I've been writing web apps for 3+ years in ASP and am finally taking the leap into ASP.net (a bit behind the curve, i know). I have a few books and have gone over the tutorials on this site. I am realizing that the syntax (if using VB) is much the same, but also realize how much richer asp.net is in comparison to traditional ASP.

I'm having some major issues in my learning process that stem from using the tutorials and attempting to be efficient with VS2003. I feel as though I'm missing something fundamental that could be causing my problems. My area of focus right now is data access, using connections, adapters and datasets.

The tutorials on this site show all of the examples by hardcoding the data access into the ASPX page. The tutorials have me importing the proper namespaces for data and sqldata access at the top of the page. This seems to work fine and dandy if I were to be coding my pages from a standard text editor, but I would like to use the richness of the VB.NET studio gui to expedite my work.

My first problem lies if I try to manually code the data access in the private class defined for the page in the codebehind section. Because it will not allow me to import multiple namespaces, the only way I get it to work would be to include the complete namespace for the object I'm trying to use (ie: system.data.sqlclient.sqconnection). On top of this, the datasets I define aren't available as options when I try to bind them to objects in the GUI.

On the flip side, I tried to use the SQLconnection, Dataadapter, etc objects in the gui, but I can't seem to find where the code is dynamically written for these, nor how I can, for example make this sort of connection use an application-variable level connection string. The only way I can see to make this would be to define the connection for each web form, which seems silly when I'm trying to deploy each solution multiple times with different databases.

I apologize for my ignorance, as this is probably fairly simple to overcome. If someone could point out what I'm doing wrong, or point me in the right direction, I'd be very appreciative. I am sick of spinning my wheels with this, and keep getting tempted to go back to using traditional ASP, just so I can get my job done.

Thanks again,

TbldevHave you had a look at the starter kits available on this site?

ASP.NET Starter Kits|||Try these url they have all you need to get up to speed with complete application development which is different from the demos in books. The current Dotnetnuke has a solution(SLN) file that you can open that separates all the different sections of the application into Modules. Remember to download the latest verson, start with the Dotnetnuke Documentation white Papers. The other two links are to the future of Asp.net, ASP.NET 2.0 and the ease of use. Hope this helps.

http://www.dotnetnuke.com

http://lab.msdn.microsoft.com/vs2005/

http://beta.asp.net/GuidedTour/

Kind regards,
Gift Peddie