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
Ashot Geodakov - 27 Sep 2007 21:21 GMT
Are you running any version of MS SQL Server in your production environment?
> Hello,
>
[quoted text clipped - 12 lines]
>
> Lint
Lint Radley - 27 Sep 2007 21:32 GMT
Yes
> Are you running any version of MS SQL Server in your production environment?
>
[quoted text clipped - 14 lines]
>>
>> Lint
Ashot Geodakov - 27 Sep 2007 23:25 GMT
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.
> Yes
>
[quoted text clipped - 17 lines]
>>>
>>> Lint
Lint Radley - 28 Sep 2007 13:34 GMT
Hi Ashot,
It's actually a Windows Forms application, written in C#. Any thoughts
regarding that?
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
[quoted text clipped - 21 lines]
>>>>
>>>> Lint