473,382 Members | 1,392 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

DataSet Problems only When Published

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
Sep 27 '07 #1
4 1432
Are you running any version of MS SQL Server in your production environment?

"Lint Radley" <sc********@forwardbounding.comwrote in message
news:oUTKi.1119$6h.292@trnddc06...
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

Sep 27 '07 #2
Yes

Ashot Geodakov wrote:
Are you running any version of MS SQL Server in your production environment?

"Lint Radley" <sc********@forwardbounding.comwrote in message
news:oUTKi.1119$6h.292@trnddc06...
>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

Sep 27 '07 #3
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.

"Lint Radley" <sc********@forwardbounding.comwrote in message
news:SrUKi.1121$6h.202@trnddc06...
Yes

Ashot Geodakov wrote:
>Are you running any version of MS SQL Server in your production
environment?

"Lint Radley" <sc********@forwardbounding.comwrote in message
news:oUTKi.1119$6h.292@trnddc06...
>>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
Sep 27 '07 #4
Hi Ashot,

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

Lint

Ashot Geodakov wrote:
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.

"Lint Radley" <sc********@forwardbounding.comwrote in message
news:SrUKi.1121$6h.202@trnddc06...
>Yes

Ashot Geodakov wrote:
>>Are you running any version of MS SQL Server in your production
environment?

"Lint Radley" <sc********@forwardbounding.comwrote in message
news:oUTKi.1119$6h.292@trnddc06...
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
Sep 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Wayne Wengert | last post by:
I am using VB ASP.NET. In my page I convert an uploaded XML file to a dataset as follows: Dim ds1 As DataSet = New DataSet ds1.ReadXml(strPathName, XmlReadMode.Auto) Now I want to append...
5
by: Roy Lawson | last post by:
I am having no problems connecting to a DB, creating a DataAdapter, and creating a dataset...and connecting to the data. Using the builtin data objects to do all this. My only problem now is...
3
by: Anthony | last post by:
Hi There When trying to add a dataset to a web form I get the following error msg. "There were problems generating . To resolve this problem build the project, fix the errors and generate...
22
by: Arne | last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart from a pocket PC to a webservice. What is the right datatype? II have tried dataset as a datatype, but I can't get it to...
0
by: ~J~ | last post by:
Hi, I really hope someone can help me out here. In relation to this thread ( http://www.thescripts.com/forum/thread349557.html ) I'm having a similar issue and getting nowhere fast! In a...
15
by: Joseph Geretz | last post by:
I'm a bit puzzled by the current recommendation not to send Datasets or Datatables between application tiers. http://support.microsoft.com/kb/306134 ...
2
by: Magnus Bergh | last post by:
I got a weird problem with designer. I have created a spearate assembly (DLL) containing my dataset classes and other classes which are shared bewteen the projects in the solution. When I try to...
2
by: rustyc | last post by:
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-) As I said over there: ... for a little side project at home, I'm writing a ham radio web site in...
4
by: John Sheppard | last post by:
Hello there I was wondering if anyone could help me, I am trying to pass a typed dataset to a dialoged child form by reference. I have binding sources sitting on the child form. So to refresh...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.