Friday, March 30, 2012
problems with updating datasets in visual studio .net
I have a strange problem since yesterday.
I'm trying to change datasets in my project and I save changes. when I close
the Report and open it again I see that the changes where not saved. Also
the visual studio keeps getting stuck and I have to close it and open it
again.
I have noticed that if I change the query string from the Dataset Properties
window, it does save it.
Since yesterday everything worked properlly, I didn't installed any thing or
make any changes. I tried to do the same thing in another computer in a new
project, and I have the same problem there. Also when I make changes in a web
application in the visual studio, there are no problems.
I'm really desprate here,
can you help me?
Thanks,
LimorI don't know if this is what your problem is, but I noticed that when I
change a dataset from the Data tab, I click on the Layout tab (which shows
the * next to the name to show that it's changed) and then click Save. Since
I've done that I haven't seen a problem with dataset changes not being saved.
Also, if you click Run from the Data tab, leave the result set displayed and
go to another application for awhile, eventually Visual Studio pops up the
same window that Enterprise Manager does having to do with the result set
(can't remember the exact message). Sometimes a separate window pops up from
Visual Studio with the message, sometimes Visual Studio just hangs. That's
probably what you're seeing.
Hope that helps!
"Limor Bellison" wrote:
> Hi,
> I have a strange problem since yesterday.
> I'm trying to change datasets in my project and I save changes. when I close
> the Report and open it again I see that the changes where not saved. Also
> the visual studio keeps getting stuck and I have to close it and open it
> again.
> I have noticed that if I change the query string from the Dataset Properties
> window, it does save it.
> Since yesterday everything worked properlly, I didn't installed any thing or
> make any changes. I tried to do the same thing in another computer in a new
> project, and I have the same problem there. Also when I make changes in a web
> application in the visual studio, there are no problems.
> I'm really desprate here,
> can you help me?
> Thanks,
> Limor|||This is definitely the route to go. Sometimes when you change a dataset the
designer does not recognize that a change was made so it does not get saved.
Going to layout and clicking the save button resolves this problem.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"daw" <daw@.discussions.microsoft.com> wrote in message
news:48C835F1-5BB3-4CEB-A969-73995D0F4F22@.microsoft.com...
>I don't know if this is what your problem is, but I noticed that when I
> change a dataset from the Data tab, I click on the Layout tab (which shows
> the * next to the name to show that it's changed) and then click Save.
> Since
> I've done that I haven't seen a problem with dataset changes not being
> saved.
> Also, if you click Run from the Data tab, leave the result set displayed
> and
> go to another application for awhile, eventually Visual Studio pops up the
> same window that Enterprise Manager does having to do with the result set
> (can't remember the exact message). Sometimes a separate window pops up
> from
> Visual Studio with the message, sometimes Visual Studio just hangs.
> That's
> probably what you're seeing.
> Hope that helps!
> "Limor Bellison" wrote:
>> Hi,
>> I have a strange problem since yesterday.
>> I'm trying to change datasets in my project and I save changes. when I
>> close
>> the Report and open it again I see that the changes where not saved.
>> Also
>> the visual studio keeps getting stuck and I have to close it and open it
>> again.
>> I have noticed that if I change the query string from the Dataset
>> Properties
>> window, it does save it.
>> Since yesterday everything worked properlly, I didn't installed any thing
>> or
>> make any changes. I tried to do the same thing in another computer in a
>> new
>> project, and I have the same problem there. Also when I make changes in a
>> web
>> application in the visual studio, there are no problems.
>> I'm really desprate here,
>> can you help me?
>> Thanks,
>> Limor|||Hi,
I mannaged to overcome the saving problem by changing the dataset from the
"edit selected dataset" window. but I still have problems with visual studio
getting stuck, it happens unexpetedly after I change the dataset.
Thanx,
Limor
"Bruce L-C [MVP]" wrote:
> This is definitely the route to go. Sometimes when you change a dataset the
> designer does not recognize that a change was made so it does not get saved.
> Going to layout and clicking the save button resolves this problem.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "daw" <daw@.discussions.microsoft.com> wrote in message
> news:48C835F1-5BB3-4CEB-A969-73995D0F4F22@.microsoft.com...
> >I don't know if this is what your problem is, but I noticed that when I
> > change a dataset from the Data tab, I click on the Layout tab (which shows
> > the * next to the name to show that it's changed) and then click Save.
> > Since
> > I've done that I haven't seen a problem with dataset changes not being
> > saved.
> > Also, if you click Run from the Data tab, leave the result set displayed
> > and
> > go to another application for awhile, eventually Visual Studio pops up the
> > same window that Enterprise Manager does having to do with the result set
> > (can't remember the exact message). Sometimes a separate window pops up
> > from
> > Visual Studio with the message, sometimes Visual Studio just hangs.
> > That's
> > probably what you're seeing.
> > Hope that helps!
> >
> > "Limor Bellison" wrote:
> >
> >> Hi,
> >> I have a strange problem since yesterday.
> >> I'm trying to change datasets in my project and I save changes. when I
> >> close
> >> the Report and open it again I see that the changes where not saved.
> >> Also
> >> the visual studio keeps getting stuck and I have to close it and open it
> >> again.
> >> I have noticed that if I change the query string from the Dataset
> >> Properties
> >> window, it does save it.
> >> Since yesterday everything worked properlly, I didn't installed any thing
> >> or
> >> make any changes. I tried to do the same thing in another computer in a
> >> new
> >> project, and I have the same problem there. Also when I make changes in a
> >> web
> >> application in the visual studio, there are no problems.
> >>
> >> I'm really desprate here,
> >> can you help me?
> >>
> >> Thanks,
> >> Limor
>
>|||Where are you doing this from? Is it from the report wizard?
Once you have the report designed and you want to modify the dataset
definition then you just go to the data tab. There is either a graphical
design tool or you can switch to generic (2 pane versus the 4 pane). To
switch to generic designer you click on a button that is to the right of the
...
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Limor Bellison" <LimorBellison@.discussions.microsoft.com> wrote in message
news:491F9403-8334-46BD-B5DB-0AD8268EFB95@.microsoft.com...
> Hi,
> I mannaged to overcome the saving problem by changing the dataset from the
> "edit selected dataset" window. but I still have problems with visual
> studio
> getting stuck, it happens unexpetedly after I change the dataset.
> Thanx,
> Limor
> "Bruce L-C [MVP]" wrote:
>> This is definitely the route to go. Sometimes when you change a dataset
>> the
>> designer does not recognize that a change was made so it does not get
>> saved.
>> Going to layout and clicking the save button resolves this problem.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "daw" <daw@.discussions.microsoft.com> wrote in message
>> news:48C835F1-5BB3-4CEB-A969-73995D0F4F22@.microsoft.com...
>> >I don't know if this is what your problem is, but I noticed that when I
>> > change a dataset from the Data tab, I click on the Layout tab (which
>> > shows
>> > the * next to the name to show that it's changed) and then click Save.
>> > Since
>> > I've done that I haven't seen a problem with dataset changes not being
>> > saved.
>> > Also, if you click Run from the Data tab, leave the result set
>> > displayed
>> > and
>> > go to another application for awhile, eventually Visual Studio pops up
>> > the
>> > same window that Enterprise Manager does having to do with the result
>> > set
>> > (can't remember the exact message). Sometimes a separate window pops
>> > up
>> > from
>> > Visual Studio with the message, sometimes Visual Studio just hangs.
>> > That's
>> > probably what you're seeing.
>> > Hope that helps!
>> >
>> > "Limor Bellison" wrote:
>> >
>> >> Hi,
>> >> I have a strange problem since yesterday.
>> >> I'm trying to change datasets in my project and I save changes. when I
>> >> close
>> >> the Report and open it again I see that the changes where not saved.
>> >> Also
>> >> the visual studio keeps getting stuck and I have to close it and open
>> >> it
>> >> again.
>> >> I have noticed that if I change the query string from the Dataset
>> >> Properties
>> >> window, it does save it.
>> >> Since yesterday everything worked properlly, I didn't installed any
>> >> thing
>> >> or
>> >> make any changes. I tried to do the same thing in another computer in
>> >> a
>> >> new
>> >> project, and I have the same problem there. Also when I make changes
>> >> in a
>> >> web
>> >> application in the visual studio, there are no problems.
>> >>
>> >> I'm really desprate here,
>> >> can you help me?
>> >>
>> >> Thanks,
>> >> Limor
>>|||Hi,
My rport is allready designed and I modify the dataset from the data tab by
the generic designer.
Limor
"Bruce L-C [MVP]" wrote:
> Where are you doing this from? Is it from the report wizard?
> Once you have the report designed and you want to modify the dataset
> definition then you just go to the data tab. There is either a graphical
> design tool or you can switch to generic (2 pane versus the 4 pane). To
> switch to generic designer you click on a button that is to the right of the
> ...
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Limor Bellison" <LimorBellison@.discussions.microsoft.com> wrote in message
> news:491F9403-8334-46BD-B5DB-0AD8268EFB95@.microsoft.com...
> > Hi,
> > I mannaged to overcome the saving problem by changing the dataset from the
> > "edit selected dataset" window. but I still have problems with visual
> > studio
> > getting stuck, it happens unexpetedly after I change the dataset.
> >
> > Thanx,
> > Limor
> >
> > "Bruce L-C [MVP]" wrote:
> >
> >> This is definitely the route to go. Sometimes when you change a dataset
> >> the
> >> designer does not recognize that a change was made so it does not get
> >> saved.
> >> Going to layout and clicking the save button resolves this problem.
> >>
> >>
> >> --
> >> Bruce Loehle-Conger
> >> MVP SQL Server Reporting Services
> >>
> >> "daw" <daw@.discussions.microsoft.com> wrote in message
> >> news:48C835F1-5BB3-4CEB-A969-73995D0F4F22@.microsoft.com...
> >> >I don't know if this is what your problem is, but I noticed that when I
> >> > change a dataset from the Data tab, I click on the Layout tab (which
> >> > shows
> >> > the * next to the name to show that it's changed) and then click Save.
> >> > Since
> >> > I've done that I haven't seen a problem with dataset changes not being
> >> > saved.
> >> > Also, if you click Run from the Data tab, leave the result set
> >> > displayed
> >> > and
> >> > go to another application for awhile, eventually Visual Studio pops up
> >> > the
> >> > same window that Enterprise Manager does having to do with the result
> >> > set
> >> > (can't remember the exact message). Sometimes a separate window pops
> >> > up
> >> > from
> >> > Visual Studio with the message, sometimes Visual Studio just hangs.
> >> > That's
> >> > probably what you're seeing.
> >> > Hope that helps!
> >> >
> >> > "Limor Bellison" wrote:
> >> >
> >> >> Hi,
> >> >> I have a strange problem since yesterday.
> >> >> I'm trying to change datasets in my project and I save changes. when I
> >> >> close
> >> >> the Report and open it again I see that the changes where not saved.
> >> >> Also
> >> >> the visual studio keeps getting stuck and I have to close it and open
> >> >> it
> >> >> again.
> >> >> I have noticed that if I change the query string from the Dataset
> >> >> Properties
> >> >> window, it does save it.
> >> >> Since yesterday everything worked properlly, I didn't installed any
> >> >> thing
> >> >> or
> >> >> make any changes. I tried to do the same thing in another computer in
> >> >> a
> >> >> new
> >> >> project, and I have the same problem there. Also when I make changes
> >> >> in a
> >> >> web
> >> >> application in the visual studio, there are no problems.
> >> >>
> >> >> I'm really desprate here,
> >> >> can you help me?
> >> >>
> >> >> Thanks,
> >> >> Limor
> >>
> >>
> >>
>
>|||Is this going against a stored procedure or are you inputting the query
directly. Is there any pattern? Are these very large or complicated queries,
lots of parameters?
One of the things that happens when you modify the query is RS tries to get
the new field list. If you have a query that this happens with routinely
then you can directly modify in the RDL. Make a copy first before you do
this. Then you do a view, code (I think, I am at home and don't remember the
menu to view the RDL).
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Limor Bellison" <LimorBellison@.discussions.microsoft.com> wrote in message
news:3953B976-D223-44A9-AB2A-7113027A4122@.microsoft.com...
> Hi,
> My rport is allready designed and I modify the dataset from the data tab
> by
> the generic designer.
> Limor
> "Bruce L-C [MVP]" wrote:
>> Where are you doing this from? Is it from the report wizard?
>> Once you have the report designed and you want to modify the dataset
>> definition then you just go to the data tab. There is either a graphical
>> design tool or you can switch to generic (2 pane versus the 4 pane). To
>> switch to generic designer you click on a button that is to the right of
>> the
>> ...
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "Limor Bellison" <LimorBellison@.discussions.microsoft.com> wrote in
>> message
>> news:491F9403-8334-46BD-B5DB-0AD8268EFB95@.microsoft.com...
>> > Hi,
>> > I mannaged to overcome the saving problem by changing the dataset from
>> > the
>> > "edit selected dataset" window. but I still have problems with visual
>> > studio
>> > getting stuck, it happens unexpetedly after I change the dataset.
>> >
>> > Thanx,
>> > Limor
>> >
>> > "Bruce L-C [MVP]" wrote:
>> >
>> >> This is definitely the route to go. Sometimes when you change a
>> >> dataset
>> >> the
>> >> designer does not recognize that a change was made so it does not get
>> >> saved.
>> >> Going to layout and clicking the save button resolves this problem.
>> >>
>> >>
>> >> --
>> >> Bruce Loehle-Conger
>> >> MVP SQL Server Reporting Services
>> >>
>> >> "daw" <daw@.discussions.microsoft.com> wrote in message
>> >> news:48C835F1-5BB3-4CEB-A969-73995D0F4F22@.microsoft.com...
>> >> >I don't know if this is what your problem is, but I noticed that when
>> >> >I
>> >> > change a dataset from the Data tab, I click on the Layout tab (which
>> >> > shows
>> >> > the * next to the name to show that it's changed) and then click
>> >> > Save.
>> >> > Since
>> >> > I've done that I haven't seen a problem with dataset changes not
>> >> > being
>> >> > saved.
>> >> > Also, if you click Run from the Data tab, leave the result set
>> >> > displayed
>> >> > and
>> >> > go to another application for awhile, eventually Visual Studio pops
>> >> > up
>> >> > the
>> >> > same window that Enterprise Manager does having to do with the
>> >> > result
>> >> > set
>> >> > (can't remember the exact message). Sometimes a separate window
>> >> > pops
>> >> > up
>> >> > from
>> >> > Visual Studio with the message, sometimes Visual Studio just hangs.
>> >> > That's
>> >> > probably what you're seeing.
>> >> > Hope that helps!
>> >> >
>> >> > "Limor Bellison" wrote:
>> >> >
>> >> >> Hi,
>> >> >> I have a strange problem since yesterday.
>> >> >> I'm trying to change datasets in my project and I save changes.
>> >> >> when I
>> >> >> close
>> >> >> the Report and open it again I see that the changes where not
>> >> >> saved.
>> >> >> Also
>> >> >> the visual studio keeps getting stuck and I have to close it and
>> >> >> open
>> >> >> it
>> >> >> again.
>> >> >> I have noticed that if I change the query string from the Dataset
>> >> >> Properties
>> >> >> window, it does save it.
>> >> >> Since yesterday everything worked properlly, I didn't installed any
>> >> >> thing
>> >> >> or
>> >> >> make any changes. I tried to do the same thing in another computer
>> >> >> in
>> >> >> a
>> >> >> new
>> >> >> project, and I have the same problem there. Also when I make
>> >> >> changes
>> >> >> in a
>> >> >> web
>> >> >> application in the visual studio, there are no problems.
>> >> >>
>> >> >> I'm really desprate here,
>> >> >> can you help me?
>> >> >>
>> >> >> Thanks,
>> >> >> Limor
>> >>
>> >>
>> >>
>>
Problems with the Web ReportViewer Control
Problems with the Web ReportViewer Control
I'm using SQL Server 2005 Reporting Services Sept CTP and Visual Studio 2005 RC to develop an ASP.NET application. On one of my web forms I have placed the web ReportViewer control so that I can display reports from Reporting Services.
The .aspx code is:
<%@. Page Language="C#" AutoEventWireup="true" CodeFile="ReportViewer.aspx.cs" Inherits="ReportViewer" %>
<%@. Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>ReportViewer</title>
</head>
<body>
<form id="formReportViewer" runat="server">
<div>
<asp:Panel ID="PanelDisplayReport" runat="server" Height="100%" Width="100%">
<rsweb:reportviewer id="ReportViewerDisplayReport" runat="server" bordercolor="Navy" borderstyle="Solid" borderwidth="1px" height="100%" tooltip="Display Report" width="100%" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote">
</rsweb:reportviewer>
</asp:Panel>
</div>
</form>
</body>
</html>
The .aspx code-behind (in C#) is:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class ReportViewer : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
this.ReportViewerDisplayReport.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote;
this.ReportViewerDisplayReport.ToolTip = "/AdventureWorks Sample Reports/Company Sales";
this.ReportViewerDisplayReport.ZoomPercent = 90;
this.ReportViewerDisplayReport.ServerReport.DisplayName = "/AdventureWorks Sample Reports/Company Sales";
this.ReportViewerDisplayReport.ServerReport.ReportPath = @."/AdventureWorks Sample Reports/Company Sales";
this.ReportViewerDisplayReport.ServerReport.ReportServerUrl = new Uri(@."http://localhost/ReportServer");
}
}
As you can see, this is a very simply web form that is simply trying to display one of the reports from the AdventureWorks sample database and reports.
The problem is that the report will not display in the ReportViewer control. When I request the page, I see the ReportViewer's toolbar but not the actual report. I initially see the "Report is being generated" message in the control, where the report would normally be displayed. But, after the report is generated, no report, just the toolbar.
Anyway, does any one have any suggestions as to what's wrong?
Is there a bug in the ReportViewer control (for web forms) in Visual Studio 2005 RC?
Anything else???
Thanks in advance.
Wednesday, March 28, 2012
Problems with styles in reporting services 2005 - help
Hi all,I have some reports built using vs.net 2005.
On the reports i am changing lots of styling definitions such as the backround image of the report and the gradient style of the charts etc.......
when i am deploying the reports into the reports manager lots of the style and changes i havr made does not apear on the web.
I have installed sql server 2005 sp1.
Any ideas?
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de|||
No.
I am deploying to the right server............
And i am doing some changes that i see.
Any ideas?
|||But you aren′t using external images etc. Which are evenentually not reachable form the report server ? What changes did you make ?
HTH, Jens Suessmeyer.
http://www.sqlserver2005.de
|||
Never mind.By talking to microsoft sql development team i found out its a bug and they are working on a hotfix........
|||Cool, would be nice if you could post that back to the group, that will help a lot people having the same problem.
jens.
problems with SQLDMO.dll
WinXP
when i build a setup for my application and then install this on a clean
WinXP test machine it all runs fine
but when i install it on a Win2000 test machine i get the following error -
the sqldmo.dll registers successfully - but just gives this error message.
[SQL-DMO]Invalid Paramter Type; must be string or ordinal......
i have followed all the instructions thru here:-
http://support.microsoft.com/default.aspx?scid=kb;en-us;248241
but still cannot get it to run. any ideas as to what may be causing this? is
there different versions of sqldmo.dll that i need to run for win2k?
Cheers,
Craighi Craig,
"Craig G" <craig.gamble@.yarrasoftware.com> ha scritto nel messaggio
news:%23lsbQskmEHA.3340@.TK2MSFTNGP14.phx.gbl...
> i have a vb.net application that uses SQL-DMO. the development machine is
> WinXP
> when i build a setup for my application and then install this on a clean
> WinXP test machine it all runs fine
> but when i install it on a Win2000 test machine i get the following
error -
> the sqldmo.dll registers successfully - but just gives this error message.
> [SQL-DMO]Invalid Paramter Type; must be string or ordinal......
> i have followed all the instructions thru here:-
> http://support.microsoft.com/default.aspx?scid=kb;en-us;248241
> but still cannot get it to run. any ideas as to what may be causing this?
is
> there different versions of sqldmo.dll that i need to run for win2k?
actually not that I'm aware of...
personally I've built my (InnoSetup) SQL-DMO install package on a WinXP sp1
box, and deployed with success on Win98, Win2k, XP and Win2003..
the list of files I ditribute is like following:
; not licensed by redist.txt but available after installation of MDAC2.6
..\WINDOWS\SYSTEM\odbcbcp.dll; DestDir: WinSys ; sharedfile
; not licensed by redist.txt but available after installation of MDAC2.6
..\WINDOWS\SYSTEM\sqlwoa.dll ; DestDir: WinSys
; not licensed by redist.txt but available after installation of MDAC2.6
..\WINDOWS\SYSTEM\sqlwid.dll ; DestDir: WinSys
..\Programmi\Microsoft SQL Server\80\Tools\Binn\w95scm.dll; DestDir:
DestinationFolder\Binn
..\WINDOWS\SYSTEM\sqlunirl.dll ; DestDir: WinSys
..\Programmi\Microsoft SQL Server\80\Tools\Binn\sqlresld.dll; DestDir:
DestinationFolder\Binn
..\Programmi\Microsoft SQL Server\80\Tools\Binn\sqlsvc.dll; DestDir:
DestinationFolder\Binn
; not licensed by redist.txt but available after installation of MDAC2.6
..\Programmi\Microsoft SQL Server\80\Tools\Binn\Resources\1033\sqlsvc.RLL;
DestDir: DestinationFolder\Binn\Resources\1033
; not licensed by redist.txt but available after installation of MDAC2.6
..\Programmi\Microsoft SQL Server\80\Tools\Binn\Resources\1033\Sqldmo.rll;
DestDir: DestinationFolder\Binn\Resources\1033
..\Programmi\Microsoft SQL Server\80\Tools\Binn\sqldmo.dll; DestDir:
DestinationFolder\Binn ; file to be registered via regserver
DestinationFolder can either be the installation directory of one instance
of Microsoft SqlServer 2000, like ..\Program Files\Microsoft SQL
Server\80\Tools, even if no istance of SQL Server has been installed, or the
installation directory of your application, but the first is preferred.
Please do respect the hierarchy \Binn\Resources\1033 (where 1033 specifies
the language), where needed, in order to grant correct functionality of
Ole-Automation objects.
In order to install SQL-DMO components for MSDE 2000, Microsoft Internet
Explorer 5.5 or higher is required.
--
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.biz/DbaMgr.shtmhttp://italy.mvps.org
DbaMgr2k ver 0.9.1 - DbaMgr ver 0.55.1
(my vb6+sql-dmo little try to provide MS MSDE 1.0 and MSDE 2000 a visual
interface)
-- remove DMO to reply
problems with SQLDMO.dll
WinXP
when i build a setup for my application and then install this on a clean
WinXP test machine it all runs fine
but when i install it on a Win2000 test machine i get the following error -
the sqldmo.dll registers successfully - but just gives this error message.
[SQL-DMO]Invalid Paramter Type; must be string or ordinal......
i have followed all the instructions thru here:-
http://support.microsoft.com/default...b;en-us;248241
but still cannot get it to run. any ideas as to what may be causing this? is
there different versions of sqldmo.dll that i need to run for win2k?
Cheers,
Craig
Craig,
You may to make sure the your Windows 2000 machine is on the same version of
..NET as was your XP machine.
Regards,
Cory
"Craig G" wrote:
> i have a vb.net application that uses SQL-DMO. the development machine is
> WinXP
> when i build a setup for my application and then install this on a clean
> WinXP test machine it all runs fine
> but when i install it on a Win2000 test machine i get the following error -
> the sqldmo.dll registers successfully - but just gives this error message.
> [SQL-DMO]Invalid Paramter Type; must be string or ordinal......
> i have followed all the instructions thru here:-
> http://support.microsoft.com/default...b;en-us;248241
> but still cannot get it to run. any ideas as to what may be causing this? is
> there different versions of sqldmo.dll that i need to run for win2k?
> Cheers,
> Craig
>
>
Monday, March 26, 2012
Problems with SQL 2005 Export Wizard
I am trying to transfer data from SQL Express to SQL Server 2005. The data is from Paypal Commerce Starter Kit from ASP.NET site.
I have tried several options (Optimize for many tables, Run in Transaction). However the data is not exported. This is the error I am getting:
TITLE: Operation stopped...
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
BUTTONS:
OK
Here is some more info:
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Dts.Runtime.DtsContainer.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Management.Dts.DtsTransferProvider.Configure(ITransferMetadataProvider metadataProvider)
at Microsoft.SqlServer.Dts.DtsWizard.Execute.DoTransferConfigureProvider(Exception& ex)
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass.LoadFromXML(Object pNode, IDTSEvents90 pEvents)
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
If LoadFromXML() fails it suggests that your package might be corrupt. Can you take that .dtsx file and open it in BIDS? (just right-click and Edit)
-Jamie
|||Thanks, but there is no package created. I just use Export Data wizard...|||
The Export Data wizard fails at "Create Temporrary XML file for table metadeta". here is mor edetails:
Operation stopped...
- Create a TransferProvider. (Success)
- Create a temporary file for destructive SQL. (Success)
- Create a temporary file for constructive SQL. (Success)
- Create a temporary XML file for table metadata. (Success)
- Configure the TransferProvider with files and Source/Destination connection info. (Error)
Messages
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
- Execute the transfer with the TransferProvider. (Stopped)
- Execute the destructive SQL. (drop tables) (Stopped)
- Execute the constructive SQL. (create tables) (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[aspnet_Applications] (Stopped)
- Copying to [dbo].[aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Membership] (Stopped)
- Execute transfer package for [dbo].[aspnet_Membership] (Stopped)
- Copying to [dbo].[aspnet_Membership] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Paths] (Stopped)
- Execute transfer package for [dbo].[aspnet_Paths] (Stopped)
- Copying to [dbo].[aspnet_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Profile] (Stopped)
- Execute transfer package for [dbo].[aspnet_Profile] (Stopped)
- Copying to [dbo].[aspnet_Profile] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[aspnet_Roles] (Stopped)
- Copying to [dbo].[aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Execute transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Copying to [dbo].[aspnet_SchemaVersions] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[aspnet_Users] (Stopped)
- Copying to [dbo].[aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Execute transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Copying to [dbo].[aspnet_WebEvent_Events] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Categories] (Stopped)
- Execute transfer package for [dbo].[CMRC_Categories] (Stopped)
- Copying to [dbo].[CMRC_Categories] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content] (Stopped)
- Copying to [dbo].[CMRC_Content] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Copying to [dbo].[CMRC_Content_Versions] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Execute transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Copying to [dbo].[CMRC_InventoryHistory] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Logs] (Stopped)
- Execute transfer package for [dbo].[CMRC_Logs] (Stopped)
- Copying to [dbo].[CMRC_Logs] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Copying to [dbo].[CMRC_OrderItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Orders] (Stopped)
- Execute transfer package for [dbo].[CMRC_Orders] (Stopped)
- Copying to [dbo].[CMRC_Orders] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Copying to [dbo].[CMRC_OrderStatus] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Products] (Stopped)
- Execute transfer package for [dbo].[CMRC_Products] (Stopped)
- Copying to [dbo].[CMRC_Products] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Copying to [dbo].[CMRC_ShippingRates] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCart] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Copying to [dbo].[CMRC_TaxRates] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Copying to [dbo].[vw_aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Copying to [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Copying to [dbo].[vw_aspnet_Profiles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Copying to [dbo].[vw_aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Copying to [dbo].[vw_aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_User] (Stopped)
|||
Hi all,
I'm having the same problem. Did anybody found a solution for this?
Thanks
|||Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
|||I am having the same problem with my SQL 2005 server (Developer Edition), however, I needed to transform the database to SQL 2000 server. I went to the SQL 2000 box and ran the transform from there and it works fine. I have put all of the latest patches in my 2005 box, updated the MDAC with all versions from 2.6 forward, reinstalled the DTC tools, reinstalled all of the XML patches and updates; still no luck. I did not have this problem until I reformated my HD about 2 weeks ago. Prior to that it all worked fine.|||After re-instaling, did you also try to register the XML DLLs that Bob suggested? I know they should have been registeded by setup when reinstalling, but just in case ...
Donald Farmer
|||I'm having the same issues and have not done a reinstall. I did try to reregister the referenced .dlls, but it did not help.|||
Has anyone found a solution to this problem yet?
I am trying to run a 'copy database objects' task programatically from vb.net. The SSIS package runs fine from BIDS but fails to load from the file system in the 'loadpackage' call with this 0xc0011008 message.
fyi here is the code...
Private Sub backgroundWorker2_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs) Handles BackgroundWorker2.DoWork
Dim pkgLocation As String
Dim pkg As New Package
Dim app As New Application
Dim pkgResults As DTSExecResult
Dim autoEvent As New AutoResetEvent(False)
pkgLocation = e.Argument.ToString()
pkg = app.LoadPackage(pkgLocation, Nothing) ' this is the error line
pkgResults = pkg.Execute()
If pkgResults = DTSExecResult.Success Then
e.Result = "Success"
Else
e.Result = "Failed"
End If
end sub
As you can see this is running on a worker thread.
Does anyone have any ideas?
Thanks and Regards
Ray
|||Bob Bojanic wrote:
Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
This solves this problem.
Problems with SQL 2005 Export Wizard
I am trying to transfer data from SQL Express to SQL Server 2005. The data is from Paypal Commerce Starter Kit from ASP.NET site.
I have tried several options (Optimize for many tables, Run in Transaction). However the data is not exported. This is the error I am getting:
TITLE: Operation stopped...
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
BUTTONS:
OK
Here is some more info:
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Dts.Runtime.DtsContainer.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Management.Dts.DtsTransferProvider.Configure(ITransferMetadataProvider metadataProvider)
at Microsoft.SqlServer.Dts.DtsWizard.Execute.DoTransferConfigureProvider(Exception& ex)
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass.LoadFromXML(Object pNode, IDTSEvents90 pEvents)
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
If LoadFromXML() fails it suggests that your package might be corrupt. Can you take that .dtsx file and open it in BIDS? (just right-click and Edit)
-Jamie
|||Thanks, but there is no package created. I just use Export Data wizard...|||
The Export Data wizard fails at "Create Temporrary XML file for table metadeta". here is mor edetails:
Operation stopped...
- Create a TransferProvider. (Success)
- Create a temporary file for destructive SQL. (Success)
- Create a temporary file for constructive SQL. (Success)
- Create a temporary XML file for table metadata. (Success)
- Configure the TransferProvider with files and Source/Destination connection info. (Error)
Messages
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
- Execute the transfer with the TransferProvider. (Stopped)
- Execute the destructive SQL. (drop tables) (Stopped)
- Execute the constructive SQL. (create tables) (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[aspnet_Applications] (Stopped)
- Copying to [dbo].[aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Membership] (Stopped)
- Execute transfer package for [dbo].[aspnet_Membership] (Stopped)
- Copying to [dbo].[aspnet_Membership] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Paths] (Stopped)
- Execute transfer package for [dbo].[aspnet_Paths] (Stopped)
- Copying to [dbo].[aspnet_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Profile] (Stopped)
- Execute transfer package for [dbo].[aspnet_Profile] (Stopped)
- Copying to [dbo].[aspnet_Profile] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[aspnet_Roles] (Stopped)
- Copying to [dbo].[aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Execute transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Copying to [dbo].[aspnet_SchemaVersions] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[aspnet_Users] (Stopped)
- Copying to [dbo].[aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Execute transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Copying to [dbo].[aspnet_WebEvent_Events] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Categories] (Stopped)
- Execute transfer package for [dbo].[CMRC_Categories] (Stopped)
- Copying to [dbo].[CMRC_Categories] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content] (Stopped)
- Copying to [dbo].[CMRC_Content] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Copying to [dbo].[CMRC_Content_Versions] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Execute transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Copying to [dbo].[CMRC_InventoryHistory] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Logs] (Stopped)
- Execute transfer package for [dbo].[CMRC_Logs] (Stopped)
- Copying to [dbo].[CMRC_Logs] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Copying to [dbo].[CMRC_OrderItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Orders] (Stopped)
- Execute transfer package for [dbo].[CMRC_Orders] (Stopped)
- Copying to [dbo].[CMRC_Orders] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Copying to [dbo].[CMRC_OrderStatus] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Products] (Stopped)
- Execute transfer package for [dbo].[CMRC_Products] (Stopped)
- Copying to [dbo].[CMRC_Products] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Copying to [dbo].[CMRC_ShippingRates] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCart] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Copying to [dbo].[CMRC_TaxRates] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Copying to [dbo].[vw_aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Copying to [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Copying to [dbo].[vw_aspnet_Profiles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Copying to [dbo].[vw_aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Copying to [dbo].[vw_aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_User] (Stopped)
|||
Hi all,
I'm having the same problem. Did anybody found a solution for this?
Thanks
|||Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
|||I am having the same problem with my SQL 2005 server (Developer Edition), however, I needed to transform the database to SQL 2000 server. I went to the SQL 2000 box and ran the transform from there and it works fine. I have put all of the latest patches in my 2005 box, updated the MDAC with all versions from 2.6 forward, reinstalled the DTC tools, reinstalled all of the XML patches and updates; still no luck. I did not have this problem until I reformated my HD about 2 weeks ago. Prior to that it all worked fine.|||After re-instaling, did you also try to register the XML DLLs that Bob suggested? I know they should have been registeded by setup when reinstalling, but just in case ...
Donald Farmer
|||I'm having the same issues and have not done a reinstall. I did try to reregister the referenced .dlls, but it did not help.|||
Has anyone found a solution to this problem yet?
I am trying to run a 'copy database objects' task programatically from vb.net. The SSIS package runs fine from BIDS but fails to load from the file system in the 'loadpackage' call with this 0xc0011008 message.
fyi here is the code...
Private Sub backgroundWorker2_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs) Handles BackgroundWorker2.DoWork
Dim pkgLocation As String
Dim pkg As New Package
Dim app As New Application
Dim pkgResults As DTSExecResult
Dim autoEvent As New AutoResetEvent(False)
pkgLocation = e.Argument.ToString()
pkg = app.LoadPackage(pkgLocation, Nothing) ' this is the error line
pkgResults = pkg.Execute()
If pkgResults = DTSExecResult.Success Then
e.Result = "Success"
Else
e.Result = "Failed"
End If
end sub
As you can see this is running on a worker thread.
Does anyone have any ideas?
Thanks and Regards
Ray
|||Bob Bojanic wrote:
Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
This solves this problem.sql
Problems with SQL 2005 Export Wizard
I am trying to transfer data from SQL Express to SQL Server 2005. The data is from Paypal Commerce Starter Kit from ASP.NET site.
I have tried several options (Optimize for many tables, Run in Transaction). However the data is not exported. This is the error I am getting:
TITLE: Operation stopped...
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
BUTTONS:
OK
Here is some more info:
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Dts.Runtime.DtsContainer.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Management.Dts.DtsTransferProvider.Configure(ITransferMetadataProvider metadataProvider)
at Microsoft.SqlServer.Dts.DtsWizard.Execute.DoTransferConfigureProvider(Exception& ex)
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass.LoadFromXML(Object pNode, IDTSEvents90 pEvents)
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
If LoadFromXML() fails it suggests that your package might be corrupt. Can you take that .dtsx file and open it in BIDS? (just right-click and Edit)
-Jamie
|||Thanks, but there is no package created. I just use Export Data wizard...|||The Export Data wizard fails at "Create Temporrary XML file for table metadeta". here is mor edetails:
Operation stopped...
- Create a TransferProvider. (Success)
- Create a temporary file for destructive SQL. (Success)
- Create a temporary file for constructive SQL. (Success)
- Create a temporary XML file for table metadata. (Success)
- Configure the TransferProvider with files and Source/Destination connection info. (Error)
Messages
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
- Execute the transfer with the TransferProvider. (Stopped)
- Execute the destructive SQL. (drop tables) (Stopped)
- Execute the constructive SQL. (create tables) (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[aspnet_Applications] (Stopped)
- Copying to [dbo].[aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Membership] (Stopped)
- Execute transfer package for [dbo].[aspnet_Membership] (Stopped)
- Copying to [dbo].[aspnet_Membership] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Paths] (Stopped)
- Execute transfer package for [dbo].[aspnet_Paths] (Stopped)
- Copying to [dbo].[aspnet_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Profile] (Stopped)
- Execute transfer package for [dbo].[aspnet_Profile] (Stopped)
- Copying to [dbo].[aspnet_Profile] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[aspnet_Roles] (Stopped)
- Copying to [dbo].[aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Execute transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Copying to [dbo].[aspnet_SchemaVersions] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[aspnet_Users] (Stopped)
- Copying to [dbo].[aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Execute transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Copying to [dbo].[aspnet_WebEvent_Events] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Categories] (Stopped)
- Execute transfer package for [dbo].[CMRC_Categories] (Stopped)
- Copying to [dbo].[CMRC_Categories] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content] (Stopped)
- Copying to [dbo].[CMRC_Content] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Copying to [dbo].[CMRC_Content_Versions] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Execute transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Copying to [dbo].[CMRC_InventoryHistory] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Logs] (Stopped)
- Execute transfer package for [dbo].[CMRC_Logs] (Stopped)
- Copying to [dbo].[CMRC_Logs] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Copying to [dbo].[CMRC_OrderItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Orders] (Stopped)
- Execute transfer package for [dbo].[CMRC_Orders] (Stopped)
- Copying to [dbo].[CMRC_Orders] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Copying to [dbo].[CMRC_OrderStatus] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Products] (Stopped)
- Execute transfer package for [dbo].[CMRC_Products] (Stopped)
- Copying to [dbo].[CMRC_Products] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Copying to [dbo].[CMRC_ShippingRates] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCart] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Copying to [dbo].[CMRC_TaxRates] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Copying to [dbo].[vw_aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Copying to [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Copying to [dbo].[vw_aspnet_Profiles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Copying to [dbo].[vw_aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Copying to [dbo].[vw_aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_User] (Stopped)
|||Hi all,
I'm having the same problem. Did anybody found a solution for this?
Thanks
|||Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
|||I am having the same problem with my SQL 2005 server (Developer Edition), however, I needed to transform the database to SQL 2000 server. I went to the SQL 2000 box and ran the transform from there and it works fine. I have put all of the latest patches in my 2005 box, updated the MDAC with all versions from 2.6 forward, reinstalled the DTC tools, reinstalled all of the XML patches and updates; still no luck. I did not have this problem until I reformated my HD about 2 weeks ago. Prior to that it all worked fine.|||After re-instaling, did you also try to register the XML DLLs that Bob suggested? I know they should have been registeded by setup when reinstalling, but just in case ...
Donald Farmer
|||I'm having the same issues and have not done a reinstall. I did try to reregister the referenced .dlls, but it did not help.|||Has anyone found a solution to this problem yet?
I am trying to run a 'copy database objects' task programatically from vb.net. The SSIS package runs fine from BIDS but fails to load from the file system in the 'loadpackage' call with this 0xc0011008 message.
fyi here is the code...
Private Sub backgroundWorker2_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs) Handles BackgroundWorker2.DoWork
Dim pkgLocation As String
Dim pkg As New Package
Dim app As New Application
Dim pkgResults As DTSExecResult
Dim autoEvent As New AutoResetEvent(False)
pkgLocation = e.Argument.ToString()
pkg = app.LoadPackage(pkgLocation, Nothing) ' this is the error line
pkgResults = pkg.Execute()
If pkgResults = DTSExecResult.Success Then
e.Result = "Success"
Else
e.Result = "Failed"
End If
end sub
As you can see this is running on a worker thread.
Does anyone have any ideas?
Thanks and Regards
Ray
|||Bob Bojanic wrote:
Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
This solves this problem.
Problems with SQL 2005 Export Wizard
I am trying to transfer data from SQL Express to SQL Server 2005. The data is from Paypal Commerce Starter Kit from ASP.NET site.
I have tried several options (Optimize for many tables, Run in Transaction). However the data is not exported. This is the error I am getting:
TITLE: Operation stopped...
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
BUTTONS:
OK
Here is some more info:
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Dts.Runtime.DtsContainer.LoadFromXML(XmlNode node, IDTSEvents events)
at Microsoft.SqlServer.Management.Dts.DtsTransferProvider.Configure(ITransferMetadataProvider metadataProvider)
at Microsoft.SqlServer.Dts.DtsWizard.Execute.DoTransferConfigureProvider(Exception& ex)
===================================
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageClass.LoadFromXML(Object pNode, IDTSEvents90 pEvents)
at Microsoft.SqlServer.Dts.Runtime.PersistImpl.LoadFromXML(XmlNode node, IDTSEvents events)
If LoadFromXML() fails it suggests that your package might be corrupt. Can you take that .dtsx file and open it in BIDS? (just right-click and Edit)
-Jamie
|||Thanks, but there is no package created. I just use Export Data wizard...|||The Export Data wizard fails at "Create Temporrary XML file for table metadeta". here is mor edetails:
Operation stopped...
- Create a TransferProvider. (Success)
- Create a temporary file for destructive SQL. (Success)
- Create a temporary file for constructive SQL. (Success)
- Create a temporary XML file for table metadata. (Success)
- Configure the TransferProvider with files and Source/Destination connection info. (Error)
Messages
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
ADDITIONAL INFORMATION:
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
- Execute the transfer with the TransferProvider. (Stopped)
- Execute the destructive SQL. (drop tables) (Stopped)
- Execute the constructive SQL. (create tables) (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[aspnet_Applications] (Stopped)
- Copying to [dbo].[aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Membership] (Stopped)
- Execute transfer package for [dbo].[aspnet_Membership] (Stopped)
- Copying to [dbo].[aspnet_Membership] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Paths] (Stopped)
- Execute transfer package for [dbo].[aspnet_Paths] (Stopped)
- Copying to [dbo].[aspnet_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationAllUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Execute transfer package for [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Copying to [dbo].[aspnet_PersonalizationPerUser] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Profile] (Stopped)
- Execute transfer package for [dbo].[aspnet_Profile] (Stopped)
- Copying to [dbo].[aspnet_Profile] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[aspnet_Roles] (Stopped)
- Copying to [dbo].[aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Execute transfer package for [dbo].[aspnet_SchemaVersions] (Stopped)
- Copying to [dbo].[aspnet_SchemaVersions] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[aspnet_Users] (Stopped)
- Copying to [dbo].[aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Execute transfer package for [dbo].[aspnet_WebEvent_Events] (Stopped)
- Copying to [dbo].[aspnet_WebEvent_Events] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Categories] (Stopped)
- Execute transfer package for [dbo].[CMRC_Categories] (Stopped)
- Copying to [dbo].[CMRC_Categories] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content] (Stopped)
- Copying to [dbo].[CMRC_Content] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Execute transfer package for [dbo].[CMRC_Content_Versions] (Stopped)
- Copying to [dbo].[CMRC_Content_Versions] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Execute transfer package for [dbo].[CMRC_InventoryHistory] (Stopped)
- Copying to [dbo].[CMRC_InventoryHistory] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Logs] (Stopped)
- Execute transfer package for [dbo].[CMRC_Logs] (Stopped)
- Copying to [dbo].[CMRC_Logs] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderItems] (Stopped)
- Copying to [dbo].[CMRC_OrderItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Orders] (Stopped)
- Execute transfer package for [dbo].[CMRC_Orders] (Stopped)
- Copying to [dbo].[CMRC_Orders] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Execute transfer package for [dbo].[CMRC_OrderStatus] (Stopped)
- Copying to [dbo].[CMRC_OrderStatus] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_Products] (Stopped)
- Execute transfer package for [dbo].[CMRC_Products] (Stopped)
- Copying to [dbo].[CMRC_Products] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShippingRates] (Stopped)
- Copying to [dbo].[CMRC_ShippingRates] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCart] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCart] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Execute transfer package for [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Copying to [dbo].[CMRC_ShoppingCartItems] (Stopped)
- Create a temporary table transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Execute transfer package for [dbo].[CMRC_TaxRates] (Stopped)
- Copying to [dbo].[CMRC_TaxRates] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Applications] (Stopped)
- Copying to [dbo].[vw_aspnet_Applications] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Copying to [dbo].[vw_aspnet_MembershipUsers] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Profiles] (Stopped)
- Copying to [dbo].[vw_aspnet_Profiles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Roles] (Stopped)
- Copying to [dbo].[vw_aspnet_Roles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_Users] (Stopped)
- Copying to [dbo].[vw_aspnet_Users] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Copying to [dbo].[vw_aspnet_UsersInRoles] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Paths] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_Shared] (Stopped)
- Create a temporary table transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Execute transfer package for [dbo].[vw_aspnet_WebPartState_User] (Stopped)
- Copying to [dbo].[vw_aspnet_WebPartState_User] (Stopped)
|||Hi all,
I'm having the same problem. Did anybody found a solution for this?
Thanks
|||Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
|||I am having the same problem with my SQL 2005 server (Developer Edition), however, I needed to transform the database to SQL 2000 server. I went to the SQL 2000 box and ran the transform from there and it works fine. I have put all of the latest patches in my 2005 box, updated the MDAC with all versions from 2.6 forward, reinstalled the DTC tools, reinstalled all of the XML patches and updates; still no luck. I did not have this problem until I reformated my HD about 2 weeks ago. Prior to that it all worked fine.|||After re-instaling, did you also try to register the XML DLLs that Bob suggested? I know they should have been registeded by setup when reinstalling, but just in case ...
Donald Farmer
|||I'm having the same issues and have not done a reinstall. I did try to reregister the referenced .dlls, but it did not help.|||Has anyone found a solution to this problem yet?
I am trying to run a 'copy database objects' task programatically from vb.net. The SSIS package runs fine from BIDS but fails to load from the file system in the 'loadpackage' call with this 0xc0011008 message.
fyi here is the code...
Private Sub backgroundWorker2_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs) Handles BackgroundWorker2.DoWork
Dim pkgLocation As String
Dim pkg As New Package
Dim app As New Application
Dim pkgResults As DTSExecResult
Dim autoEvent As New AutoResetEvent(False)
pkgLocation = e.Argument.ToString()
pkg = app.LoadPackage(pkgLocation, Nothing) ' this is the error line
pkgResults = pkg.Execute()
If pkgResults = DTSExecResult.Success Then
e.Result = "Success"
Else
e.Result = "Failed"
End If
end sub
As you can see this is running on a worker thread.
Does anyone have any ideas?
Thanks and Regards
Ray
|||Bob Bojanic wrote:
Could you guys try to register the xml dlls:
regsvr32.exe msxml3.dll
regsvr32.exe msxml6.dll
HTH.
This solves this problem.
Wednesday, March 21, 2012
Problems with performance when programmatically printing large amounts of pages
We are using VB.NET 2005 to develop a WinForms application that uses SQL Server 2005 Reporting Services to produce reports.
Originally we tried using code found on Bryan's WebLog, http://blogs.msdn.com/bryanke/articles/71491.aspx, but found that for reports of 300 pages it was taking about 2 minutes to render each page.
When using RenderStream to render idividual pages, reports of about 20 pages printed without a problem, but for reports of 300 pages we recieved the follwoing error:
"The stream cannot be found. The stream identifier that is provided to an operation cannot be located in the report server database."
Is there some cache or something that we should be using? Any ideas appreciated.
-- Leah
The rendering code:
Public Function RenderReport(ByVal reportPath As String) As Byte()()
Dim deviceInfo As String = Nothing
Dim format As String = "IMAGE"
Dim firstPage As Byte() = Nothing
Dim encoding As String = ""
Dim mimeType As String = ""
Dim warnings As Warning() = Nothing
Dim reportHistoryParameters As ParameterValue() = Nothing
Dim streamIDs As String() = Nothing
Dim pages As Byte()() = Nothing
deviceInfo = String.Format("<DeviceInfo><OutputFormat>{0}</OutputFormat>{1}</DeviceInfo>", "emf", m_strDeviceInfo)
Try
firstPage = m_reportingService.Render(reportPath, format, Nothing, deviceInfo, m_parameterValues, Nothing, Nothing, encoding, mimeType, reportHistoryParameters, warnings, streamIDs)
m_numberOfPages = streamIDs.Length + 1
ReDim pages(m_numberOfPages - 1)
Dim iIndex As Integer = 0
pages(0) = firstPage
Dim pageIndex As Integer = 1
For pageIndex = 1 To m_numberOfPages - 1
' original page rendering from Bryan's blog
'deviceInfo = String.Format("<DeviceInfo><OutputFormat>{0}</OutputFormat><StartPage>{1}</StartPage{2}</DeviceInfo>", "emf", pageIndex + 1, m_strDeviceInfo)
'pages(pageIndex) = m_reportingService.Render(reportPath, format, Nothing, deviceInfo, m_parameterValues, Nothing, Nothing, encoding, mimeType, reportHistoryParameters, warnings, streamIDs)
' Attempt using streams, indexing in to pull back pages in order
iIndex = Convert.ToInt32(streamIDs(pageIndex - 1).Substring(streamIDs(pageIndex - 1).LastIndexOf("_"c) + 1))
pages(iIndex - 1) = m_reportingService.RenderStream(reportPath, format, streamIDs(pageIndex - 1), Nothing, deviceInfo, m_parameterValues, encoding, mimeType)
Next pageIndex
Catch ex As SoapException
m_strErrorMessage = ex.Message
Catch ex As Exception
m_strErrorMessage = ex.Message
End Try
Return pages
End Function
The best way to get streams for printing is to use URL access to render the report. Generate the url and for your first request pass in the first and last page page number (or nothing if you want all pages), as well as rs:PersistStreams=True. Then continue calling render with the same url only instead of passing rs:PersistStreams=True, pass in rs:GetNextStream=True. Do this until you get back an empty response.
Your first url should look like this:
http://<machinename>/ReportServer?<path to report>&<report params in format name=value>&rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emf&rc:StartPage=1&rc:EndPage=300&rc:PageWidth=11.0in&rc:PageHeight=8.500in&rc:MarginTop=6.350mm&rc:MarginBottom=6.350mm&rc:MarginLeft=6.350mm&rc:MarginRight=6.350mm&rs:PersistStream=True
This will cause Report Server to Render the entire report on the first request and then server back each page on subsequent request untill all pages have been exhausted. Your current code is attempting to render the entire report on each request which will take forever on large reports.
I hope that helps.
|||Thanks for the reply.
This approach is very different to what we are doing (which as you say, was taking forever).
Could you give more information on how to use the url? Is it part of the web service?
|||If you browse to http://<machine>/ReportServer, you are doing what is call Url access. That is viewing report items via a url (as opposed to using a SOAP call). To do this in you app, create a web request object and set the url to the one mentioned above. You can then send the request and read the response stream to get the data.
Look at the following msdn articles for creating and using web requests:
http://msdn2.microsoft.com/en-us/library/bw00b1dc.aspx
http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.aspx
The code will be very similiar to your current code, since the SOAP proxy just wraps a WebRequest object. You need to set the url and the Credentials property to make sure you are properly authenticated.
I hope that helps.
|||So there was no way to get the RenderStream code I posted above to work? :)
It is just that since it was tested as working with good performance for reports up to 100 pages. I thought there was some persistance / cache thing I might have been missing to make it work for large reports.
I will look through the links you provided. Will post back.
|||Unable to get this to work (see below). My preference would be to be able to use the webservice.
In the meantime I have found some code on CodeProject that print a generated PDF. I will look at using this to get users going.
Thanks,
Leah
--
Details of problem with URL access
Code adapted from the links and related help topics.
Tested the code generated URL (strCreateUrl ) by pasting it into a browser and found we had a one page emf.
The ReceiveStream generated could not be indexed. To print using WinForms model we need a stream that we can index for page by page printing.
Code:
Dim strCreateUrl As String = "http://myServer/ReportServer?/myReportPath"
Dim myEnumerator As IEnumerator = m_parameterValues.GetEnumerator
Dim aParameterValue As ParameterValue
While myEnumerator.MoveNext()
aParameterValue = CType(myEnumerator.Current, ParameterValue)
strCreateUrl += "&" + aParameterValue.Name + "=" + aParameterValue.Value
End While
strCreateUrl += "&rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emf&rc:StartPage=1&rc:PageWidth=11.0in&rc:PageHeight=8.500in&rc:MarginTop=6.350mm&rc:MarginBottom=6.350mm&rc:MarginLeft=6.350mm&rc:MarginRight=6.350mm&rs:PersistStream=True"
Dim myRequest As System.Net.WebRequest = System.Net.WebRequest.Create(strCreateUrl)
myRequest.Credentials = System.Net.CredentialCache.DefaultCredentials
' Return the response.
Dim myResponse As System.Net.HttpWebResponse = CType(myRequest.GetResponse(), System.Net.HttpWebResponse)
Dim ReceiveStream As Stream = myResponse.GetResponseStream()
Your code looks right, the problem you state is because you only call it once. Each call will only get you one page. Your next call should replace PersistStream=True with GetNextStream=True. You continue calling with GetNextStream=True until the response stream is empty. You can store each response as you would like (in the print control we actually store the response in temp files in case there are many pages).
I hope this helps.
|||Do you have any sample code for this?
I have tried to quickly write code that will read through the next streams but I do not know how to detect the last stream.
Thanks,
Leah
__
Code attemp:
Dim strCreateUrl As String = http://myServer/ReportServer?/myReport
Dim myEnumerator As IEnumerator = m_parameterValues.GetEnumerator
Dim aParameterValue As ParameterValue
While myEnumerator.MoveNext()
aParameterValue = CType(myEnumerator.Current, ParameterValue)
strCreateUrl += "&" + aParameterValue.Name + "=" + aParameterValue.Value
End While
strCreateUrl += "&rs:Command=Render&rs:format=IMAGE&rc:OutputFormat=emf&rc:StartPage=1&rc:PageWidth=11.0in&rc:PageHeight=8.500in&rc:MarginTop=6.350mm&rc:MarginBottom=6.350mm&rc:MarginLeft=6.350mm&rc:MarginRight=6.350mm"
' call first page with persist as true
Dim myRequest As System.Net.WebRequest = System.Net.WebRequest.Create(strCreateUrl + "&rs:PersistStream=True")
myRequest.Credentials = System.Net.CredentialCache.DefaultCredentials
' Return the response.
Dim myResponse As System.Net.HttpWebResponse = CType(myRequest.GetResponse(), System.Net.HttpWebResponse)
Dim ReceiveStream As Stream = myResponse.GetResponseStream()
Dim iPageCounter As Integer = 0
While True
Try
myRequest = System.Net.WebRequest.Create(strCreateUrl + "&rs:GetNextStream=True")
ReceiveStream = myResponse.GetResponseStream()
If ReceiveStream Is Nothing Then
Exit While
End If
iPageCounter += 1
Catch ex As Exception
Exit While
End Try
End While
' Close the response to free resources.
myResponse.Close()
Thanks for your answer.
Using ReceiveStream.Length == 0 caused an exception.
In the autos window the RecieveStream length property is shown as:
- Length {"This stream does not support seek operations."} Long
RecieveStream is actually of type System.Net.ConnectStream.
If you think Length property should work... do you think I should I cast the RecieveStream?
|||Ahh, trying to do this from memory is not working. :) Ok, one more try. If you read the stream, it should not have any length. I will try and dig up some code tomorrow.|||Update on status.
Still have not gotten the URL Access technique (as suggested by Daniel) to work.
Further testing of the RenderStream approach shows that it can work on reports up to 240 pages, reports larger then this fail with follwoing SOAP Exception: "The stream cannot be found. The stream identifier that is provided to an operation cannot be located in the report server database"
Another team here has decided to use the RenderStream solution in their applicaiton because it appears to work for reports below 100 pages (100 pages is their largest report). My concern with this approach is that the reports do not appear to be consistantly persisting.
As a temporary fix for the applicaiton I am working on I have implemented a print solution that will render a PDF to file and create a process that uses Adobe to Print to the default printer.
Just writing this update I have had come up with some more ideas to try. I will let you know how I go. In the meantime if you can come up with more details on how you got the URL Access printing working it would be much appreciated. :)
_
Render Stream implementation (extract of code psoted in first post on this thread)
For pageIndex = 1 To m_numberOfPages - 1
' Attempt using streams, indexing in to pull back pages in order
iIndex = Convert.ToInt32(streamIDs(pageIndex - 1).Substring(streamIDs(pageIndex - 1).LastIndexOf("_"c) + 1))
pages(iIndex - 1) = m_reportingService.RenderStream(reportPath, format, streamIDs(pageIndex - 1), Nothing, deviceInfo, m_parameterValues, encoding, mimeType)
Next pageIndex
|||Here is code I use to get the response:
responseLength = (int) response.ContentLength; // -1 means content length not sent so we must get the size.if (responseLength == -1)
{
responseLength = 0;
using (Stream stream = response.GetResponseStream())
{
const int readSize = 64 * 1024;
int amountRead = 0;
byte[] input = new byte[readSize];
do
{
amountRead = stream.Read(input, 0, readSize);
responseLength += amountRead;
} while (amountRead > 0);
}
}
|||Thanks for posting this code.
I am trying to work out where this fits in. I am assuming that your code is used to work out the amount of bytes in the stream so you can read the bytes in the stream into a page array of byte arrays. So your code would be used inside a loop which will GetNextStream while there are still pages.
Could you let me know if I am on the right track?
Thanks,
Leah
Code first draft (not working)
' call first page with persist as true
Dim myRequest As System.Net.WebRequest = System.Net.WebRequest.Create(strCreateUrl + "&rs:PersistStream=True")
myRequest.Credentials = System.Net.CredentialCache.DefaultCredentials
' Return the response.
Dim myResponse As System.Net.HttpWebResponse = CType(myRequest.GetResponse(), System.Net.HttpWebResponse)
While True
Try
Dim responseLength As Integer = CInt(myResponse.ContentLength) ' -1 means content length not sent so we must get the size.
If responseLength = -1 Then
responseLength = 0
' Using
Dim stream As Stream = myResponse.GetResponseStream
Try
Const readSize As Integer = 64 * 1024
Dim amountRead As Integer = 0
Dim input(readSize) As Byte
Do
amountRead = stream.Read(input, 0, readSize)
responseLength += amountRead
Loop While amountRead > 0
Finally
CType(stream, IDisposable).Dispose()
End Try
End If
' TO DO: add code here to read the amountRead of bytes into my page array of byte arrays
myRequest = System.Net.WebRequest.Create(strCreateUrl + "&rs:GetNextStream=True")
'myResponse = CType(myRequest.GetResponse(), System.Net.HttpWebResponse)
Catch ex As Exception
Exit While
End Try
End While
myResponse.Close()
|||You don't need the TODO. You are already reading in the data. I should have explained that the sample I gave, did not care about the content (it was from a test) it only cared about the length. The code is throwing away the data currently.
So if the ContentLength is set, just create a byte array of the correct size, then do a single read to get the data. If not, in the loop you are reading the data, just store it where you want.
You exit the loop when responseLength is zero.
I hope that helps.