Showing posts with label configured. Show all posts
Showing posts with label configured. Show all posts

Sunday, March 25, 2012

Cannot reconfigure UNION ALL task

If you add a "Union All" task to your Data Flow the output columns get configured by the first input you connect to it.

However, if you later want to modify the input columns on the inputs (perhaps after adding an upstream Data Conversion) there seems to be no way to get it to forget the original set of output columns.

Ideally, there would be a button you can press to reset the output columns based on the earliest added input. At the very least it ought to forget its output columns when the last input is removed.

Other tasks offer a dialogue to resolve input / output mismatches but not Union All.

or am I missing something?

jks

If you right-click on a column name underneath "Output Column Name" you are given the option to delete that column.

Is that what you want?

-Jamie

|||

I agree, while deleting or adding back one column is not the most painful process, many times while working on a package my upstream compenents changed a lot and I found myself deleting my Union All and Merge tasks and adding them back in because it was the easiest way to update them.

It would be nice if there was a refreash of some sort that would reexamine and update any added/deleted columns.

|||

Thanks Jamie,

That helps - I had seen Delete in the right-click menu but it was always disabled when I needed it. Probably because I was trying to delete a new column I had just added without saving the task in between. I guess I'm used to records being committed when you move off them.

However, I still think it would be useful if Union All offered the same sort of intelligent reconfiguration options presented by other tasks. Any columns you've added to a data flow upstream ought to be propogated through the first input of a Union All to its output.

regards

jks

|||

I can see why this (i.e. propogating the first input) would be useful but by the same token there may be people that would want the behaviour to be as it is now. As with most things you can't please all the people all of the time. Personally I think the functionality is fine as it is. Matter of opinion I guess.

Its worth saying that UNION ALL is an asynchronous component and this is the fundamental reason that any inputs don't automatically propogate through to the output. You'll find that the same is true of all asynchronous components.

-Jamie

|||

Ok - I hadn't appreciated the distinction between sync and async components. If this is a consistent architectural feature I'll bite my tongue until I understand the architecture a little better!

This is just SSIS day 3 for me.

regards

jks

|||

jks,

Well it sounds like you are headlong into it already. I recommend that you get your head around a few concepts pretty early. Namely:

The container hierarchysql

Monday, March 19, 2012

Cannot open connection to AS 2005

Hi All,

I have installed AS 2005 and am using VS 2005 and .Net 2.0.

Connection to AS 2005 is configured for HTTP.

Whenever I open a connection it gives me below error.

"Object not found".

Stack Trace:

at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)\r\n
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)\r\n
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)\r\n
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)\r\n
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)\r\n
at System.Data.OleDb.OleDbConnection.Open()\r\n

Below is peace of code:

string Connection = "Provider=MSOLAP.2;Data Source=http://localhost/olap; Initial Catalog=Cube1";

conn = new OleDbConnection(Connection);

conn.Open();

string Query = " ";

OleDbCommand dbCommand = new OleDbCommand(Query, conn);

dbCommand.CommandType = CommandType.Text;

dtrdr = dbCommand.ExecuteReader();

I have .Net 1.1 installed and vs.net 2003 as well as ADOMD.Net 8.0.

I guess when VS.NET 2005 is installed, ADOMD.NET 9.0 should be automatically installed.

Do I need to install ADOMD.Net 9.0 manually.

Appreciate your help as this issue needs to be resolved urgently.

Regards,

Try using

Provider=MSOLAP

rather than

Provider=MSOLAP.2

In your connection string. MSOLAP.2 is the AS2K version of the provider and will probably have problems connecting to AS2005.

Also, the Initial Catalog property should refer to the name of the AS database you're connecting to, not a cube. Is your database really called 'Cube1'?

You may also need to install ADOMD.Net 9.0 manually too...

Chris

|||

Hi Chris,

I tried with Provider=MSOLAP but could not succeed.

You are right. I wrote Cube1 instead of Database name in my post by mistake.

I tried with TCP/IP connection. But I got different error now. It says

"Can not connect to server. Server is either not started or too busy"

But I can view Database in SQL Server Management .

Regards,

|||

Try getting rid of "http://" from your connection string.

Also, you talk about using ADOMD NET 9.0, but you are using OLEDB...which do you want to use?

|||

Hi,

I am not sure if you have to remove "http://" from the connection string, but.....

Try the following:

1. Try using the provider MSOLAP .3 also.

2. Next, add the user account IUSR to a role with required permissions in SSAS 2005.

3. Another check is to see if you have configured msmdpump to connect to the specific SSAS server.

4. The connection string must include msmdpump.dll in the path (see exmaple)

5. Also the connection string can include a username and password. here is an example:

"Provider=MSOLAP.3;

Persist Security Info=True;

Data Source=http://[target server]/olap/msmdpump.dll;

Initial Catalog=PNGReportOLAP;

User Id=[user id];Password=[password]"

6. Read this link for all other details on connectivity problems to ssas 2005 :

http://www.sqljunkies.com/WebLog/edwardm/archive/2006/05/26/21447.aspx

7. For more details on connection strings, check this article:

http://www.connectionstrings.com/

8. An additional thing which I wanted to mention is, you need to use .Net 2.0. only. I am not sure if .Net 1.1 supports ADOMD.Net and some connection features of ssas 2005.

Hope this helps

Regards

Sunday, February 12, 2012

Cannot find DB on Local Machine in VB.Net

I have SQL Server Express 2005. I have it configured for remote connections, but I cannot even see my local dbase. I have the server setup for windows authentication. In VB 2005 database connection wizard I see the db server but on the database itself.

When I click test connection....without a dbase choosen it says ( i don't have any to choose from).

"An error has occured while establishing a connection to the server. When connection to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server"

This doesn't make sense because i have changed the the surface area configuration to allow remote connections on both TCP/IP and Named pipes. It shouldn't matter though because this is a local database.

Thanks

Kramer

Nevermind guys. It was the dang windows firewall. Turned it off and I found it immeditialy.

sorry, kramer

|||

I am facing the same problem.

Can you please help me?

thanks,

With regards,

Girish.

kramer9802 wrote:

Nevermind guys. It was the dang windows firewall. Turned it off and I found it immeditialy.

sorry, kramer

|||

hi Girish,

try having a look at http://blogs.msdn.com/sql_protocols/archive/2005/09/28/474698.aspx..

regards

Friday, February 10, 2012

Cannot find server or DNS Error

My Reporting Services Web Site is on a Windows 2003 Server. The site
has a dedicated IP address and SSL Certification installed and
configured properly. We are using the Integrated Windows
authentication method for security. Everything was working fine until
I changed the IP address in Web site properties by mistake, than
changed it back to the correct IP address. Now I am not able to access
Report Server or the viewer, unless anonymous access is enabled.
Any idea what my problem might be?
Thanks
MichaelI was receiving a crazy error after some IP and DNS changing around. I had to set the report server's IP address from it's NetBIOS
name in the config file.
"sql_Michael_dotnet" <mroud@.yahoo.com> wrote in message news:b3b19acc.0411291452.61c7075@.posting.google.com...
> My Reporting Services Web Site is on a Windows 2003 Server. The site
> has a dedicated IP address and SSL Certification installed and
> configured properly. We are using the Integrated Windows
> authentication method for security. Everything was working fine until
> I changed the IP address in Web site properties by mistake, than
> changed it back to the correct IP address. Now I am not able to access
> Report Server or the viewer, unless anonymous access is enabled.
> Any idea what my problem might be?
> Thanks
> Michael|||I got it...I evidently have unchecked [HTTP Keep-Alives Enabled]
checkbox by mistake.
Thanks anyway
"Scott Meddows" <scott_meddows_no_spm@.tsged-removeme.com> wrote in message news:<#o449Jz1EHA.1152@.TK2MSFTNGP14.phx.gbl>...
> I was receiving a crazy error after some IP and DNS changing around. I had to set the report server's IP address from it's NetBIOS
> name in the config file.
> "sql_Michael_dotnet" <mroud@.yahoo.com> wrote in message news:b3b19acc.0411291452.61c7075@.posting.google.com...
> > My Reporting Services Web Site is on a Windows 2003 Server. The site
> > has a dedicated IP address and SSL Certification installed and
> > configured properly. We are using the Integrated Windows
> > authentication method for security. Everything was working fine until
> > I changed the IP address in Web site properties by mistake, than
> > changed it back to the correct IP address. Now I am not able to access
> > Report Server or the viewer, unless anonymous access is enabled.
> > Any idea what my problem might be?
> >
> > Thanks
> >
> > Michael