cancel
Showing results for 
Search instead for 
Did you mean: 

error generating report vs2010 framework 4

Former Member
0 Kudos
131

Hi,

I'm trying to make a report in crystal report using VS2010.

when opening a report gives the following error:

CrystalDecisions.CrystalReports.Engine.DataSourceException: Falha ao carregar as informações do banco de dados.

Erro no arquivo temp_f23fcb31-46a7-43bc-8873-8105ab3e4df2 {BD1CF2CC-AA86-4DAC-9A17-C8CF2F3C8CEB}.rpt:

falha ao carregar informações do banco de dados. ---> System.Runtime.InteropServices.COMException: Falha ao carregar as informações do banco de dados.

Erro no arquivo temp_f23fcb31-46a7-43bc-8873-8105ab3e4df2 {BD1CF2CC-AA86-4DAC-9A17-C8CF2F3C8CEB}.rpt:

falha ao carregar informações do banco de dados.

em CrystalDecisions.ReportAppServer.Controllers.DatabaseControllerClass.ReplaceConnection(Object oldConnection, Object newConnection, Object parameterFields, Object crDBOptionUseDefault)

em CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val, Type type)

em CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)

--- Fim do rastreamento de pilha de exceções internas ---

em CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)

em CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSourceInternal(Object val, Type type)

em CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(DataSet dataSet)

em Ordem_de_Servico.cls_OS.Imprimir(DataTable dt, Int32 indice)

em Ordem_de_Servico.frm_MDI.ImprimirOS()

em Ordem_de_Servico.frm_MDI.imprimirToolStripMenuItem1_Click(Object sender, EventArgs e)

em System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

em System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

em System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

em System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

em System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

em System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

em System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

em System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

em System.Windows.Forms.Control.WndProc(Message& m)

em System.Windows.Forms.ScrollableControl.WndProc(Message& m)

em System.Windows.Forms.ToolStrip.WndProc(Message& m)

em System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)

em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

what i make?

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Moved to .NET SDK forum.

Have you install [CR for VS 2010|http://www.sdn.sap.com/irj/boc/crystalreports-dotnet]? It's the only version of CR supported in VS 2010.

Make sure you are using 4.0 full Framework, client is not enough.

Set your Project for x86 or x64 only, do not use AnyCpu.

Update your Video Driver, it's typically the cause of the Mouse Movement error.

Do not use a folder called c: emp, if you have one rename it to c:mytemp

Don

former_member183750
Active Contributor
0 Kudos

Have a look at [this|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/19067] [original link is broken] [original link is broken] [original link is broken] [original link is broken]; blog.

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

Answers (0)