DataSet Problems only When Published

  • Thread starter Thread starter Lint Radley
  • Start date Start date
L

Lint Radley

Hello,

My project contains a dataset which accesses an MDF database file
created within the project. When debugging the program, everything works
great. However, when I publish and install the project, the program
always hangs on a GetData() method which was generated automatically by
the DataSet Designer.

I'm really out of ideas to try, and Google has not been much help.

For reference, I am using .NET 2.0 Framework, and the publish fails even
on the same machine in which Debug works.

Thanks,

Lint
 
I think if you attach your .MDF file to that SQL Server and change the
connection string in your web app to point to that database before
publishing, everything should work fine.
 
Hi Ashot,

It's actually a Windows Forms application, written in C#. Any thoughts
regarding that?

Lint
 
Back
Top