Problems witth conversion to WAP

Last post 06-11-2008 10:21 PM by Thomas Sun – MSFT. 5 replies.

Sort Posts:

  • Problems witth conversion to WAP

    06-04-2008, 8:40 AM
    • Loading...
    • mattKrist
    • Joined on 06-03-2008, 8:23 PM
    • Posts 10

    Hi!

     

    I have i simular thread in a another pot on this forum but i think this is the place to get an answer to my question.

    I have done a conversion to a WAP from a web site application in VS 2008. After that all my strongly typed Dataset returned error 29, missing reference... 

     I have tryed to set the namespace   (using MyNameSpce) this does not work either...

     Hoe should i convert my project and make it work? Im using vs2008 an C#.

  • Re: Problems witth conversion to WAP

    06-06-2008, 3:40 AM
    Answer

    Hi,

    When we convert the ASP.NET website to ASP.NET web application in Visual Studio, we need to make some changes to make it works, such as add reference and NameSpace.

    In your case, you need to open each DataSet in the Data Designer and select each TableAdapter and re-set the connectionstring for the object (you can do this by selecting the TableAdapter in the designer and then changing the "ConnectionString" property in the propertygrid).

    For more informarion, see http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx (Section: Appendix 1: Migrating Declarative Typed DataSets (.xsd files)).

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Problems witth conversion to WAP

    06-09-2008, 5:28 AM
    • Loading...
    • mattKrist
    • Joined on 06-03-2008, 8:23 PM
    • Posts 10

    I have done that for all my datasets but i will not work anyway.

    The namespace seems to be the problem i i cant figure out how to overcome this issue...

     

     

    /MK

  • Re: Problems witth conversion to WAP

    06-10-2008, 6:16 AM

    Hi,

    Thanks for your response.

    If you are missing an assembly reference, you need to go to the reference manager and add it again.

    You also can locate where you use this DataSet to modify Namespace.

     

    I hope this helps.

     

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Problems witth conversion to WAP

    06-11-2008, 8:54 AM
    • Loading...
    • mattKrist
    • Joined on 06-03-2008, 8:23 PM
    • Posts 10

    I have tryeed to do the same thing in VS 2005 But im still stuck in the namespace issue...

    I have to put the default namespace  before all my datasets..

    im so lost in this.... Should i give up? 

     

  • Re: Problems witth conversion to WAP

    06-11-2008, 10:21 PM

    Hi,

    I think you can do it. You can create a simple test web site project and convert it to web application project following http://msdn.microsoft.com/en-us/library/aa983476(VS.80).aspx. If you can convert it correctly, you also can convert your original project.

    By default, pages and classes built by using the Visual Studio 2005 Web site project model do not automatically include a code namespace. However, pages, controls, and classes built by using the Visual Studio 2005 Web application project model automatically include a code namespace.

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (6 items)
Microsoft Communities
Page view counter