Showing posts with label package. Show all posts
Showing posts with label package. Show all posts

Sunday, February 19, 2012

Cannot insert a variable in SSIS Package designer

Hello,
This morning I got an odd problem, I just added a new package to my dtproj and I cannot add a variable. Am I missing anything. ?

here is the image
Sometimes I find that VS forgets where it is, as though it looses the context that the SSIS designer is active, so SSIS specific stuff is just not available. When this happens try clicking on the package design surface to set the focus back to SSIS, then re-open the Variables window or other window that is giving you trouble.|||I'm having a similar problem. I cannot even open the Variables window. If I right click the design surface and select Variables, nothing happens. I've tried creating a new package and starting from scratch but I get the same problem. I even uninstalled SQL Server and all of the client tools and reinstalled and applied all of the service packs but I still get nothing when I try to create a variable. I'm willing to try just about anything at this point.|||I had a similar problem with Visual Studio once, and using the /resetuserdata switch fixed it. It resets all your VS settings back as if you had just installed it. See this link for a little more information: http://msdn2.microsoft.com/en-us/library/bb245788(vs.80).aspx|||Thanks a million!!!! That worked.

Cannot insert a variable in SSIS Package designer

Hello,
This morning I got an odd problem, I just added a new package to my dtproj and I cannot add a variable. Am I missing anything. ?

here is the image
Sometimes I find that VS forgets where it is, as though it looses the context that the SSIS designer is active, so SSIS specific stuff is just not available. When this happens try clicking on the package design surface to set the focus back to SSIS, then re-open the Variables window or other window that is giving you trouble.|||I'm having a similar problem. I cannot even open the Variables window. If I right click the design surface and select Variables, nothing happens. I've tried creating a new package and starting from scratch but I get the same problem. I even uninstalled SQL Server and all of the client tools and reinstalled and applied all of the service packs but I still get nothing when I try to create a variable. I'm willing to try just about anything at this point.|||I had a similar problem with Visual Studio once, and using the /resetuserdata switch fixed it. It resets all your VS settings back as if you had just installed it. See this link for a little more information: http://msdn2.microsoft.com/en-us/library/bb245788(vs.80).aspx|||Thanks a million!!!! That worked.

Cannot have two flat file destinations in a package (possible bug)?

During my development of a ssis package i've noticed that when creating two control flows that pulling data from seperate tables, each going to its own flat file, that the second keeps the attributes of the column names from the first. So when I create my second flat file, not only does it have the names of its correct columns but has the name of the the first flat file.

I'm hoping that I've explained the correctly. I'll provide more info "OR" I can provide the code to package if anyone would like.

Bogey1 wrote:

During my development of a ssis package i've noticed that when creating two control flows that pulling data from seperate tables, each going to its own flat file, that the second keeps the attributes of the column names from the first. So when I create my second flat file, not only does it have the names of its correct columns but has the name of the the first flat file.

I'm hoping that I've explained the correctly. I'll provide more info "OR" I can provide the code to package if anyone would like.

You can only have one data flow per data flow task.|||You can have more than one Data Flow Task per package and multiple Data Connections. Try that way. Two Data Connections and two Data Flows Task.|||

Bogey1 wrote:

During my development of a ssis package i've noticed that when creating two control flows that pulling data from seperate tables, each going to its own flat file, that the second keeps the attributes of the column names from the first. So when I create my second flat file, not only does it have the names of its correct columns but has the name of the the first flat file.

I'm hoping that I've explained the correctly. I'll provide more info "OR" I can provide the code to package if anyone would like.

Are you using the same Flat File Connection Manager for both Flat File Destinations? It sounds as though you are.

-Jamie

Cannot have two flat file destinations in a package (possible bug)?

During my development of a ssis package i've noticed that when creating two control flows that pulling data from seperate tables, each going to its own flat file, that the second keeps the attributes of the column names from the first. So when I create my second flat file, not only does it have the names of its correct columns but has the name of the the first flat file.

I'm hoping that I've explained the correctly. I'll provide more info "OR" I can provide the code to package if anyone would like.

Bogey1 wrote:

During my development of a ssis package i've noticed that when creating two control flows that pulling data from seperate tables, each going to its own flat file, that the second keeps the attributes of the column names from the first. So when I create my second flat file, not only does it have the names of its correct columns but has the name of the the first flat file.

I'm hoping that I've explained the correctly. I'll provide more info "OR" I can provide the code to package if anyone would like.

You can only have one data flow per data flow task.|||You can have more than one Data Flow Task per package and multiple Data Connections. Try that way. Two Data Connections and two Data Flows Task.|||

Bogey1 wrote:

During my development of a ssis package i've noticed that when creating two control flows that pulling data from seperate tables, each going to its own flat file, that the second keeps the attributes of the column names from the first. So when I create my second flat file, not only does it have the names of its correct columns but has the name of the the first flat file.

I'm hoping that I've explained the correctly. I'll provide more info "OR" I can provide the code to package if anyone would like.

Are you using the same Flat File Connection Manager for both Flat File Destinations? It sounds as though you are.

-Jamie

Friday, February 10, 2012

Cannot find file or assembly error.....

I created an assembly to access my SSRS web service in a Script task. The package runs fine on my machine but gets the following error from the production box.....

The script threw an exception: Could not load file or assembly 'Microsoft.SqlServer.ReportingServices2005, Version=0.0.0.0, Culture=neutral, PublicKeyToken=3bd4760abc5efbcb' or one of its dependencies. The system cannot find the file specified.

I followed the exact same procedures for creating the .dll on the production box as I did developing on my machine...strong name, load to gac etc....but it still cannot find it.

My production SQL Server is 64 bit so perhaps there is another step I need to take? Anyone have a clue as to what I may be missing?

TIA

Well, I found the answer to my own question on the following blog.....

http://www.developerdotstar.com/community/node/333

Apparently, the resolution was to open the package/task in BIDS on the production box and save it and then redeploy. Something about the versioning on the assembly, which is beyond a .Net newbie like me. My guess is when I created/moved the new assembly to the production box it put a new version number on it. To pick up the new number I had to open the package/task so it would load the new assembly with the new version number.

Perhaps one of the MS guys could tell me if there is there a better way I should be doing this? Perhaps through the SSIS deployment configurations...which I have admittedly not been using (have just been importing my packages to the msdb folder in SMS)?