Showing posts with label launch. Show all posts
Showing posts with label launch. Show all posts

Tuesday, March 27, 2012

Error when running Tuning advisor

When I try to launch the tuning advisor, I get this error - Any help will be much appriciated.

===================================

Failed to connect to an IPC Port: The system cannot find the file specified.
(mscorlib)


Program Location:


Server stack trace:
at System.Runtime.Remoting.Channels.Ipc.IpcPort.Connect(String portName, Boolean secure, TokenImpersonationLevel impersonationLevel, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.ConnectionCache.GetConnection(String portName, Boolean secure, TokenImpersonationLevel level, Int32 timeout)
at System.Runtime.Remoting.Channels.Ipc.IpcClientTransportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SqlServer.Management.UI.VSIntegration.ISessionController.CreateSessionFromQuery(SqlConnectionInfo connectionInfo, String sqlQuery, String batchSeparator)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.SqlScriptEditorControl.OnDatabaseTuningAdvisor(Object sender, EventArgs a)

What is the service pack level on SQL Server?

Any recent changes to the server and client machine you are using, such as automatic updates?

|||Hi,

I had got the same error when I tried to tune my query.

However after I click "OK" button of the Error message, in few seconds the "Tuning Adviser" window opens but it is not connected to the session of the query editor (in which the query was executed).

Now without closing this tuning adviser window, if I again click on Analyser button, the analyser opens fine and the query is also tunned properly.

Let me know if this works for you too.

Regards,

Shweta

Wednesday, March 7, 2012

Error using Reporting services

Greetings,

Iam new to reporting services. When I try to launch http:\\localhost\reports

I get the following error

The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.20'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportServerDatabase)

Please help

Thanks/Regards

I get the same message. Only the version is different.

ReportServicesConfigUI.WMIProvider.WMIProviderException: The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.40'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportServerDatabase)

By profiler I saw the trying to use of SP GetDBVersion, but this SP not present.

What is it and where can I download the update?

Thanks/Regards

|||This is usually an issue where RS is configured to the wrong DB. You should use the config tool to configure RS to a ReportServer DB.|||What is "wrong DB"? I create NEW DB for RS from RS config.|||Did you ensure that RS is configured to use that DB? Just creating the DB does not configure RS to use it.|||So how do we do that? Pardon my ignorance with SQL, it's my weakest point. The error I personally get is: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) In the Configure Report Server SSRS is configured properly, & I can log into that account in the Management Studio, but I cannot open http://localhost/reports. Any ideas? Thanks!|||In the ReportServer Configuration tool, does the Database tab have a green check? If not you need to go to that tab and choose the Report Server Database that you want to use.|||Thank you for your kind reply. Yes, I have a successful connection in the Report Server Configuration. I think I may have 2 instances of Reporting Server, however, & one didn't get the green icon. I figured when I re-installed, it overwrote the existing files, but as I'm poking around I see 2 instances. Would this be causing the problem?|||

Daniel,

Your last post asking if I got the green icon for the database connection made me think about the fact that perhaps I was trying to connect to the old instance of ssrs (as you can see in my post made about a half hour ago). Thanks for leading me in the right direction, because that was it!! It didn't make sense that it wasn't connecting to the database if that connection was configured properly in the Configuration Manager. I now can view the Report page.

Thanks again,

Kim

|||

I did step by step in RS config. When I came to configure DB, RS created DB, but coundn't configure it. By first it coundn't create RSRoleExec, I did this. Next it began show the message about virsion. But the left mark is green, and "Initialization" is not enabled.

|||

Sir ,

I get the same error and i use the SQL server 2000 version. Where can i find the configuration tool. I tried to run the rsconfig.exe with the requisite details but it did not work. Please let me know what is to be done.

Thanks a lot

Vijay

|||This issue can be also due to Report Server is configured to the wrong Database, choose Report Server Database that you want to use with the help of Report Server Configuration tool.

Error using Reporting services

Greetings,

Iam new to reporting services. When I try to launch http:\\localhost\reports

I get the following error

The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.20'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportServerDatabase)

Please help

Thanks/Regards

I get the same message. Only the version is different.

ReportServicesConfigUI.WMIProvider.WMIProviderException: The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.40'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportServerDatabase)

By profiler I saw the trying to use of SP GetDBVersion, but this SP not present.

What is it and where can I download the update?

Thanks/Regards

|||This is usually an issue where RS is configured to the wrong DB. You should use the config tool to configure RS to a ReportServer DB.|||What is "wrong DB"? I create NEW DB for RS from RS config.|||Did you ensure that RS is configured to use that DB? Just creating the DB does not configure RS to use it.|||So how do we do that? Pardon my ignorance with SQL, it's my weakest point. The error I personally get is: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) In the Configure Report Server SSRS is configured properly, & I can log into that account in the Management Studio, but I cannot open http://localhost/reports. Any ideas? Thanks!|||In the ReportServer Configuration tool, does the Database tab have a green check? If not you need to go to that tab and choose the Report Server Database that you want to use.|||Thank you for your kind reply. Yes, I have a successful connection in the Report Server Configuration. I think I may have 2 instances of Reporting Server, however, & one didn't get the green icon. I figured when I re-installed, it overwrote the existing files, but as I'm poking around I see 2 instances. Would this be causing the problem?|||

Daniel,

Your last post asking if I got the green icon for the database connection made me think about the fact that perhaps I was trying to connect to the old instance of ssrs (as you can see in my post made about a half hour ago). Thanks for leading me in the right direction, because that was it!! It didn't make sense that it wasn't connecting to the database if that connection was configured properly in the Configuration Manager. I now can view the Report page.

Thanks again,

Kim

|||

I did step by step in RS config. When I came to configure DB, RS created DB, but coundn't configure it. By first it coundn't create RSRoleExec, I did this. Next it began show the message about virsion. But the left mark is green, and "Initialization" is not enabled.

|||

Sir ,

I get the same error and i use the SQL server 2000 version. Where can i find the configuration tool. I tried to run the rsconfig.exe with the requisite details but it did not work. Please let me know what is to be done.

Thanks a lot

Vijay

|||This issue can be also due to Report Server is configured to the wrong Database, choose Report Server Database that you want to use with the help of Report Server Configuration tool.

Error using Reporting services

Greetings,

Iam new to reporting services. When I try to launch http:\\localhost\reports

I get the following error

The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.20'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportServerDatabase)

Please help

Thanks/Regards

I get the same message. Only the version is different.

ReportServicesConfigUI.WMIProvider.WMIProviderException: The version of the report server database is either in a format that is not valid, or it cannot be read. The found version is 'Unknown'. The expected version is 'C.0.8.40'. To continue, update the version of the report server database and verify access rights. (rsInvalidReportServerDatabase)

By profiler I saw the trying to use of SP GetDBVersion, but this SP not present.

What is it and where can I download the update?

Thanks/Regards

|||This is usually an issue where RS is configured to the wrong DB. You should use the config tool to configure RS to a ReportServer DB.|||What is "wrong DB"? I create NEW DB for RS from RS config.|||Did you ensure that RS is configured to use that DB? Just creating the DB does not configure RS to use it.|||So how do we do that? Pardon my ignorance with SQL, it's my weakest point. The error I personally get is: The report server cannot open a connection to the report server database. A connection to the database is required for all requests and processing. (rsReportServerDatabaseUnavailable) In the Configure Report Server SSRS is configured properly, & I can log into that account in the Management Studio, but I cannot open http://localhost/reports. Any ideas? Thanks!|||In the ReportServer Configuration tool, does the Database tab have a green check? If not you need to go to that tab and choose the Report Server Database that you want to use.|||Thank you for your kind reply. Yes, I have a successful connection in the Report Server Configuration. I think I may have 2 instances of Reporting Server, however, & one didn't get the green icon. I figured when I re-installed, it overwrote the existing files, but as I'm poking around I see 2 instances. Would this be causing the problem?|||

Daniel,

Your last post asking if I got the green icon for the database connection made me think about the fact that perhaps I was trying to connect to the old instance of ssrs (as you can see in my post made about a half hour ago). Thanks for leading me in the right direction, because that was it!! It didn't make sense that it wasn't connecting to the database if that connection was configured properly in the Configuration Manager. I now can view the Report page.

Thanks again,

Kim

|||

I did step by step in RS config. When I came to configure DB, RS created DB, but coundn't configure it. By first it coundn't create RSRoleExec, I did this. Next it began show the message about virsion. But the left mark is green, and "Initialization" is not enabled.

|||

Sir ,

I get the same error and i use the SQL server 2000 version. Where can i find the configuration tool. I tried to run the rsconfig.exe with the requisite details but it did not work. Please let me know what is to be done.

Thanks a lot

Vijay

|||This issue can be also due to Report Server is configured to the wrong Database, choose Report Server Database that you want to use with the help of Report Server Configuration tool.

Error using Db Engine Tuning Advisor

I am running SQL 2005 Standard, obtained from a recent Launch event.
I got the Database Engine Tuning Advisor to run only once. Everytime after
that I get a runtime error: "R6031 Attempt to initialize the CRT more than
once. This indicates a bug in your application."
I had the same problem with the Sept. CTP release. Re-booting the machine
does not solve this problem. Basicaly, this is a useless tool if I need to
un-install and re-install it everytime I need to use it. I have tried
deleting all the sessions and creating a new one, re-booting.
Any ideas how to solve this? Do I need to wait for a Service Pack?
We are looking at the issue currently. It has been reported by a few other
people. Please gi ve us some more detail:
- does this happen immiediately after you start DTA UI or after you connect
to the server and the connection dialog goes away?
- if this is the second case (error after connecting) does the problem occur
if you simply Cancel the connection dialog?
- have you tried command-line DTA to see if it work? Run 'dta.exe /?' to see
the options if you have not seen it yet.
- does the error message contain any more information?
- can you check if at the time you see the error there is a dtaengine90.exe
process running on your system?
Thanks,
Maciek
"Todd C" <ToddC@.discussions.microsoft.com> wrote in message
news:438AAABC-1BA2-4677-B272-5D7766BEF9E2@.microsoft.com...
>I am running SQL 2005 Standard, obtained from a recent Launch event.
> I got the Database Engine Tuning Advisor to run only once. Everytime after
> that I get a runtime error: "R6031 Attempt to initialize the CRT more than
> once. This indicates a bug in your application."
> I had the same problem with the Sept. CTP release. Re-booting the machine
> does not solve this problem. Basicaly, this is a useless tool if I need to
> un-install and re-install it everytime I need to use it. I have tried
> deleting all the sessions and creating a new one, re-booting.
> Any ideas how to solve this? Do I need to wait for a Service Pack?
|||Is this TechNet discussion forum the best place to correspond regarding tech
support and error information?
I would be happy to supply any information you need. Can you e-mail me a
valid address so that we can take this 'off-line'?
Thank you.
todd_dot_chittenden_at_morantug_dot_com
"Maciek Sarnowicz [MSFT]" wrote:

> We are looking at the issue currently. It has been reported by a few other
> people. Please gi ve us some more detail:
> - does this happen immiediately after you start DTA UI or after you connect
> to the server and the connection dialog goes away?
> - if this is the second case (error after connecting) does the problem occur
> if you simply Cancel the connection dialog?
> - have you tried command-line DTA to see if it work? Run 'dta.exe /?' to see
> the options if you have not seen it yet.
> - does the error message contain any more information?
> - can you check if at the time you see the error there is a dtaengine90.exe
> process running on your system?
> Thanks,
> Maciek
>
> "Todd C" <ToddC@.discussions.microsoft.com> wrote in message
> news:438AAABC-1BA2-4677-B272-5D7766BEF9E2@.microsoft.com...
>
>
|||I will take this off-line as Todd requested. We will post back to the group
once we know the root cause of the issue.
Thanks,
Maciek
"Todd C" <ToddC@.discussions.microsoft.com> wrote in message
news:F4881BF8-E66B-403B-9DA0-1BC4020DDF7F@.microsoft.com...[vbcol=seagreen]
> Is this TechNet discussion forum the best place to correspond regarding
> tech
> support and error information?
> I would be happy to supply any information you need. Can you e-mail me a
> valid address so that we can take this 'off-line'?
> Thank you.
> todd_dot_chittenden_at_morantug_dot_com
> "Maciek Sarnowicz [MSFT]" wrote:
|||I'm experiencing the same problem. See my answers below.
"Maciek Sarnowicz [MSFT]" <macies@.online.microsoft.com> wrote in message
news:OnFxcW0$FHA.2392@.TK2MSFTNGP09.phx.gbl...
> We are looking at the issue currently. It has been reported by a few other
> people. Please gi ve us some more detail:
> - does this happen immiediately after you start DTA UI or after you
> connect to the server and the connection dialog goes away?
It happens after I connect to the server and the connection dialog goes
away.

> - if this is the second case (error after connecting) does the problem
> occur if you simply Cancel the connection dialog?
The problem does not occur if I press the Cancel button at the connection
dialog. But the problem does occur if I thereafter attempt to connect from
within the DTA.

> - have you tried command-line DTA to see if it work? Run 'dta.exe /?' to
> see the options if you have not seen it yet.
I tried using the command-line and had the same problem.

> - does the error message contain any more information?
It's a very vague message. Similar to Todd, I get the following:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Progr...
R6031 Attempt to initialize the CRT more than once. This indicates a bug in
your application.

> - can you check if at the time you see the error there is a
> dtaengine90.exe process running on your system?
Yes, both dtaengine90.exe and DTASHELL.EXE are loaded. My only recourse is
to kill both processes.
Chris

> Thanks,
> Maciek
>
> "Todd C" <ToddC@.discussions.microsoft.com> wrote in message
> news:438AAABC-1BA2-4677-B272-5D7766BEF9E2@.microsoft.com...
>
|||>> - have you tried command-line DTA to see if it work? Run 'dta.exe /?' to
> I tried using the command-line and had the same problem.
BTW, after returning to the command line, I see the following:
"Failed to initialize MSDB database for tuning (exit code: 1)."
Chris
|||Thanks Chris.
This confirms what Todd has reported. We are closing down on the issue,
please stay tuned.
Regards,
Maciek Sarnowicz
SQL Server SDE
This posting is provided "AS IS" with no warranties, and confers no rights
"Chris" <chris@.newsgroup.nospam> wrote in message
news:erbS$VRAGHA.2132@.TK2MSFTNGP14.phx.gbl...
> BTW, after returning to the command line, I see the following:
> "Failed to initialize MSDB database for tuning (exit code: 1)."
> Chris
>
|||I am having the same exact problem. I de-installed everything and
re-installed to no avail. All other tools and services are working fine so
far. I have never been able to "connect to the database using DTA". If I
hit cancel at the login, there is no error. When I try to connect the same
error is thrown on my machine. What is interesting is I just did a very
clean install on my computer less than 30 days ago. The only install issue
was that I was not running IIS for reporting services as it is not needed for
me.
I am running XP Pro with all SP and updates and .Net/updates prior to SQL
2005 Developer Install.
Software would be Office 03 and misc business apps.
Hope the problem is solved soon.
Thank you,
kirk
"Maciek Sarnowicz [MSFT]" wrote:

> Thanks Chris.
> This confirms what Todd has reported. We are closing down on the issue,
> please stay tuned.
>
> Regards,
> Maciek Sarnowicz
> --
> SQL Server SDE
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> "Chris" <chris@.newsgroup.nospam> wrote in message
> news:erbS$VRAGHA.2132@.TK2MSFTNGP14.phx.gbl...
>
>
|||Anything new to report on this? Thanks.
"Maciek Sarnowicz [MSFT]" <macies@.online.microsoft.com> wrote in message
news:OctJ8zTAGHA.3976@.TK2MSFTNGP09.phx.gbl...
> Thanks Chris.
> This confirms what Todd has reported. We are closing down on the issue,
> please stay tuned.
>
> Regards,
> Maciek Sarnowicz
> --
> SQL Server SDE
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> "Chris" <chris@.newsgroup.nospam> wrote in message
> news:erbS$VRAGHA.2132@.TK2MSFTNGP14.phx.gbl...
>
|||Hi Chris
This issue is being investigated presently and is probably a
consequence of a filed windows/appcompat bug
(issue due to appcompat shimming and nothing to do with DTA process
itself -).
1.Can you check if you have registry entries corresponding to
HKLM\Software\Microsoft\Windows
NT\CurrentVersion\AppCompatFlags\Layers?
In the past we have seen "explorer.exe " as an entry and removing that
fixed the problem
2.Also please check if an environment variable __COMPAT_LAYER is set?
"set __COMPAT_LAYER=" , basically disabled the compat layer and dta
ran OK
Please note that none of these are set by the tuning advisor exe - At
this point i am not sure what app does this
Manoj
Chris wrote:[vbcol=seagreen]
> Anything new to report on this? Thanks.
> "Maciek Sarnowicz [MSFT]" <macies@.online.microsoft.com> wrote in message
> news:OctJ8zTAGHA.3976@.TK2MSFTNGP09.phx.gbl...