Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

DataSet Problems only When Published

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lint Radley - 27 Sep 2007 20:55 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.