Servergrid UserLink

... connection ... education ... discovery ... information ...
Welcome to Servergrid UserLink Sign in | Join | Help
in
Home Blogs Forums Photos Downloads Servergrid Join Now Private Messages

Dataset creation App_code directory

Last post 10-19-2007, 10:58 PM by PHenry. 2 replies.
Sort Posts: Previous
  • Dataset creation App_code directory

     10-19-2007, 6:54 PM

    • Joined on 10-20-2007
    • Posts 2
    • Points 11
    • Top 75 Contributor

    When working on my ASP.Net web site trying to create a Dataset I get the following message:

     "Your are attempting to add a dataset to an ASP.NET application For a dataset to be generally conumerable in your site, it should be placed inside the 'App_Code' Folder. Would you like to pleace the dataset in the 'App_Code' Folder? YES / NO / Cancel"

    I am using "Visual Web Developer 2005" by the FTP method of connection to "win21.securedc.com" and have already created an 'App_Code' directory.   

    If I answer 'NO' I can create the Dataset in a nonimated folder but no parts of the site can access it.

    If I answer 'YES' a new App_Code folder is created  but it is created at the "win21.securedc.com" root which is above my domain folder in the directory tree and can not be seen at domain level and thus does not work either.

    Obviously selecting 'Cancel' does nothing

    Has anyone had this problem and worked out a solution.

     

     

  • Re: Dataset creation App_code directory

     10-19-2007, 10:45 PM

    Moderator
    • Joined on 11-05-2006
    • Posts 78
    • Points 394
    • Top 10 Contributor
      Male
    Hi,   Please check your project properties to ensure that it is configured to upload files into the folder with the same name as your domain name.  The following is an example,  domain.com and your application should automatically upload your App_Code files into the domain.com/App_Code.  If that does not help please consult your Visual Web Developer documentation or manually upload the App_Code folder in your domain folder.
  • Re: Dataset creation App_code directory

     10-19-2007, 10:58 PM

    • Joined on 10-20-2007
    • Posts 2
    • Points 11
    • Top 75 Contributor

    Thanks Calvin,

    I have worked out the problem.

    If in Visual Web Developer I open the web site with the FTP connection as "//win21.securedc.com/my domain" instead of "//win21.securedc.com" everything is in the correct place and all works as it should. 

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems