Problem in site definition

I have created a template for my site.So,I created new pages from this temlpate.Eventhough i did it,there is a msg pops up above as "Dynamically-related files cannot be discovered because there is no site definition for this document".What could i do?

#1 Define your testing server folder.  See screenshot.  Your set-up will be xamp\htdocs.  That's where your local site folder should be too.
#2 Advanced button > Testing Server: PHP  MySql.  Save
#3 Final Screen
Nancy O.

Similar Messages

  • Problems with site definition in CS5

    I am trying to define a new site in DW CS5. When I enter the site information in the dialogue box I get the following message:
    The spry assets folder is not inside the site. Please select a valid folder in your local site root.
    The program automatically creates a folder for Spry assets but the error message still appears. I tried creating a new folder, but had the same results. I can't get past this screen. Why is this happening?

    Randy,
    Thanks for your prompt response. The problem is, if I am defining a new site, there are no pre-existing folders. I am calling my site "HF", so Dreamweaver automatically chooses "/Users/Aaron/Documents/HF/SpryAssets" as the default folder for spry assets. If I use the "browse for folder" icon, I can select another folder, but what else would I choose? (I tried choosing other folders, as well as creating a new folder, and neither worked).I'm really stumped!
    Aaron
    Date: Mon, 7 Jun 2010 09:19:07 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problems with site definition in CS5
    I am trying to define a new site in DW CS5. When I enter the site information in the dialogue box I get the following message: The spry assets folder is not inside the site. Please select a valid folder in your local site root.
    The program automatically creates a folder for Spry assets but the error message still appears. I tried creating a new folder, but had the same results. I can't get past this screen. Why is this happening?
    Yes, it's an annoying bug. In the Site Definition dialog, go to the Advanced > Spry tab and use the "browse for folder" dialog to select your SpryAssets folder and it will fix the path for you.
    HTH,
    Randy
    >

  • Create a Site Definition file with Visual Web part in Visual Studio

    I tried to create a site definition file in Visual Studio 2013 and SharePoint 2013 by following the MSDN tutorial:
    Walkthrough: Create a Basic Site Definition Project. Near the end, I added a virtual web part control to the site definition and registered MyWebPartControls in the site definition's default ASPX page as written in the MSDN tutorial:
    Unfortunately, IntelliSense doesn't show any MyWebPartControls: tags, and VisualWebPart1 is highlighted with a warning “Element 'SMWebPart3' is not a known element. This can
    occur if there is a compilation error in the Web site, or the web.config file is missing.”
    Since it’s a warning, I went ahead to build and deploy the solution. However, when I used the site definition template to create a subsite, it returned a parser error:
    Unknown server tag 'MyWebPartControls:TestSiteDef1.VisualWebPart1'
    I spent half day researching and debugging, and finally solved the problem. The issue is on the registration line:
    <%@ Register Tagprefix="MyWebPartControls" Namespace="TestSiteDef.VisualWebPart1" Assembly="$SharePoint.Project.AssemblyFullName$" %>
    The $SharePoint.Project.AssemblyFullName$ is a replaceable parameter to provide values for SharePoint solution items whose actual values are not known at design time. Unfortunately, it does not find the right assembly name during the deployment. It should
    be replaced by the Assembly’s Strong Name. Here is how I fixed the problem step by step:
    In Solution Explorer, open the package node and double click Package.package
    Click Manifest tab in the Package.package.
    Copy the full assembly name in the package’s manifest. It may be similar like this:
              Assembly="TestSiteDef,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    Back to the site definition’s default.aspx page, replace the
                     Assembly="$SharePoint.Project.AssemblyFullName"
    in the registration line with the copied text:
    Assembly="TestSiteDef,
    Version=1.0.0.0, Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    Change the Namespace from
    Namespace="TestSiteDef.VisualWebPart1"
    to
    Namespace="TestSiteDef".
    The line to register the web part in a site definition file will look like this:
    <%@
    Register
    Tagprefix="MyWebPartControls"
    Namespace="TestSiteDef "
    Assembly="TestSiteDef, Version=1.0.0.0,
    Culture=neutral, PublicKeyToken=a300f1f2da8ae976"
    %>
    Clean, build and deploy the solution. It works like charm. (Note: the warning message on visual web part may still exist, but you can ignore it).

    Assuming your .ascx.vb file is inheriting from the web part class, you can add the custom properties in the same manor (language syntax aside).
    Be sure to use the attributes to correctly identify and scope the properties. (see:
    http://www.sbrickey.com/Tech/Blog/Post/SharePoint_Attributes_for_Web_Part_properties)
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com

  • Site Definitions not working in CC 2014

    Since the update, my site definitions are no longer working. I try to set up a new site, navigate to the correct folder and get the warning: 'site is inside the site "x"' This may cause conflicts … ' etc. The site folder isn't inside another site at all. I've even tried trashing the 'x' site folder, and Dreamweaver just throws up the same warning with the next alphabetically listed folder. Then I tried removing all the site definitions and setting up a new one, but I get the same problem. Is anyone else suffering?

    In order to preview .php pages locally, you need a local testing server (Wamp, Xampp, Mamp).  Is yours properly defined in DW CC?  See screenshots.
    Nancy O.

  • Preview versus Real View Not the Same, Site Definition Errors - Dreamweaver CS4

    I am having trouble working on sites where it seems that Dreamweaver wants me to specify different file locations for various "includes" depending on whether I want to view the site as a preview (F12) vs. on a local test server vs. on the real website server.  Note I am using Dreamweaver CS4 (ver. 10) on Windows, my local test server is Apache running via an Xampp installation on Windows, and my production server is also Apache, running at Hostgator.  I am building a fairly basic html site using SSI via SHTML files, rather than PHP or a more sophisticated method.  Here is what seems to be happening:
    1.  In my index.shtml file I call, for example, a subheader file called "header-nosub-menu.inc.htm."  I have my site definitions set to "relative to document root."  Using the insert -> SSI command, Dreamweaver links to the file with the following: My first problem is that, as specified, the subheader.menu.inc.htm file is not found and the preview gives me an error.  I get the same error if i try to display the file on my local test server (http://localhost/domainname).  However, if I upload the file to my production server, it seems to work fine.  If I change the include command to: #include virtual="./includes/subheader.menu.inc.htm," by manually inserting the "./" to change the directory reference, then the file seems to work in all three situations  Which is the correct directory specification, and why is Dreamweaver not generating it automatically?
    While I can make the manual changes in the directory specifications, I am concerned that if Dreamweaver is making an error in this instance, it may generate more serious problems that are harder to find later.
    2. The second issue seems to involve the Site Definition file configuration.I get an error message when I set up my site definition in what seems to be the correct way, specifically, using the following specifications:
    Local Root folder:  "C:\htdocs\domainname-dev\"
    http address:   "http://www.domainname/"
    testing server folder:  "C:\htdocs\domainname-dev"
    url prefix:  "http://localhost/domainname-dev"
    The error message is: "The site url prefix for the testing server does not match the site url prefix specified in the http address for the site."
    However, when I change the testing server url prefix to one that does not yield an error message ("http://localhost") I then have problems with the preview (F12) display.  Specifically, instead of a preview request generating the following url: "http://localhost/domainname-dev/TMPm393xnclqu.shtml" I find that it generates the following: "http://localhost/TMPm393xnclqu.shtml"  The so called incorrect definition seems to be the correct one, but  why is Dreamweaver not recognizing it as such?  Am I making a error somewhere else in my configuration?
    I would appreciate any assistance that anyone here can provide,
    Thanks,
    http://localhost/

    except for the Apache virtual host configuration, which I do not see a need for
    I wasn't suggesting that you use virtual hosts (although I have defined about 50 virtual hosts on my own development machine). I was trying to understand the url you listed:
    http://www.domainname/
    Without a virtual host definition, that would have no meaning and could not point to anything, unless you simply were leaving off the TLD in the example. (.com, .net, etc)
    I often use the PHP $_SERVER superglobal to define paths and handle differences between the development environment and the remote server environment. Examples:
    DOCUMENT_ROOT: D:/ZendServer/Apache2/htdocs/website/ranch (machine path)
    REQUEST_URI: /topic/calendar (url parameters)
    SCRIPT_NAME: index.php
    HTTP_REFERER: (the url of the script preceding the current script)
    HTTP_HOST: (this is the domain name. It is very useful for distinguishing between the local and remote environments)
    COMPLETE EXAMPLE:
    echo "<p><a class='noPrint' href='".$_SERVER['HTTP_REFERER']."'>RETURN TO PREVIOUS PAGE</a></p>";

  • To decide save site as a template, web template or site definition

    hi,
    I have to create a generic site template which has few tabs in the home page and on click of these links/tabs
    in this site template it will navigate to the sub sites created under that[this generic site template shud contain 3 sub sites -
    [1 blog, 1 search center sub site, meeting workspace as tabs in the site template’s top navigation] and
    a) 2 Doc Libs
    b) 2 splists by default present in this site template [ most prob. its a team site template]
     What should be the correct approach for creating this site template:
     I have thought of implementing using:
     a) save site as a template and upload this wsp into the solution gallery. and based on this site template
    i will create new subsites. one problem i will be facing is that, mine is a publishing site template not team site template.
     b) create a  web template having the above subsites and doc libs and splists
     c) last option is to create a  site definition [ complex ]
    which one should i choose, assuming that, there would be future changes from customer side in the
    site template.like, adding a new splist, sp doclic or a new custom web part.
    in that case, adding a new addtion to the already existing site template will not affect/reflect the already running
    sites' content.
    only those new sites which is created  based on the updated site template would be having the new additions 
    implemented.
      help is highly appreciated.

    Hi,
    From your description, the most concern you might have is that customers will have the requirements to add other components into their sites and created with them afterwards.
    Since SharePoint 2010, it is recommended to take use of something like “a la carte” pattern to manage SharePoint sites. If there are needs to add sites, lists or other components,
    we can make them as solution(.wsp) and deploy to our sites. By doing this, we will be more flexible and easier to manage the features and structure of sites.
    So you can just create a site template with simple structure and deploy the solutions you want after sites created.
    Here are two links about
    Plan for sites and solutions for your reference:
    http://technet.microsoft.com/en-us/library/cc789336(v=office.14).aspx
    http://technet.microsoft.com/en-us/library/ee476993(v=office.14).aspx
    What’s more, you can take a look at the two links below about
    Custom Web Templates and Custom Site Definitions:
    http://msdn.microsoft.com/en-us/library/office/aa979683(v=office.14).aspx
    http://sharepointchick.com/archive/0001/01/01/site-definitions-vs.-webtemplates.aspx
    Thanks
    Patrick Liang
    TechNet Community Support

  • Site definition Help needed....Thanks

    I am working with Dreamweaver 8.  Vista operating system.  My problem is a simple one but I am really
    stuck on it.
    In the past I have learned that to set my site definitions
    to always work OFF line and then transfer changes to my hosing company.  For some reason this has changed to working
    ON line in the ftp:\\ mode.
    I am unable to find a way to get back to the SITE
    DEFINITIONS PAGES to change back to “Edit locally and then upload to remote
    testing server.”  Need help, PLEASE
    Joe

    DW will just give a site a name when you first try to define
    a site. That pop-up box which says those names should give you the
    option to click in the text areas and change the name and path to
    whatever you wish.
    To answer your questions I will say the following:
    1 - To do this would would serve no purpose I will explain
    why with the answer to #2.
    2. I wouldn't recommend putting only C:\ in the local root
    folder box. That would potentially cause issues down the road
    because then DW would have access to work in the WINDOWS directory
    and this is not good. I would highly recommend keeping it in your
    user account on Windows XP (this is anything inside the
    C:\Documents and Settings\Username folder, which includes your My
    Documents folder). Now to jump back to #2. Without defining a
    proper directory you would not be able to use its functions for
    PHP, ASP or any server-side script. You would also not be able to
    insert Flash files onto your web pages nor would you be able to use
    the new features such as Spry. This is because DW needs a folder to
    work in so that it can create the associated files and folders
    which accompany making those types of scripts and functions. You
    don't necessarily need to connect it to a remote website if you do
    not have one, but you do need to specify a local folder to work in
    and I would highly recommend it. Thus defining the Name only gives
    the site definition a way for you to reference the site, even if it
    is for testing many sites. For instance I put my sites in a folder
    called "Sites" and then inside that folder I have many subfolders
    which are defined sites in Dreamweaver. Each folder has a name
    which corresponds to it that DW sees.

  • Site Definition Requirements to use Spry

    What do my site definitions need to be set at to use Spry.  I am using both DW 4 & 5.
    Thanks

    Thank you Murray,
    Now a bit more detail.  I currently manage a site that has been around for a long time.  When I try to use spry accordian within that site (in a new or existing shtml document), the accordian features don't work properly (panel tabs and content are not distinguishable - just a list, and he tabs do not expand).  If I save an existing or create a new shtml page to my desktop, and add spry accordian there, then save back to my original site, no problem.  Adobe tech support told me that it was a problem with my "definitions" file.  Any clues to what my problem is?
    Best Regards....

  • Site Definition losing FTP User ID and Password

    My configuration:
    iMac 2.4 GHz Intel C2D
    10.6.1 Snow Leopard
    DW v10 (Build 4117)
    Not sure if my issue is related to the one described in this thread.
    I recently performed a clean install of Snow Leopard and DW. Afterwards I imported my site definitions and everything was fine. On quiting and then re-opening DW the FTP User ID and (optionally Password) in the site sefinition(s) have disappeared. I re-entered them and am able to connect to my site(s) via FTP, but again on closing and re-opening DW the information has disappeared again.
    What I've done;
    - deleted and re-configured all Site Definitions several times.
    - deleted the ~/Library/Application Support/Adobe/Dreamweaver CS4/en_US/Configuration/ folder
    but still the problem persists.
    Not sure if this a Snow Leopard/DW incompatibility issue, but I do recall this happening maybe once or twice with Leopard.
    Any help would be gratefully appreciated.

    I beleive this happens if:
    - you are using a trial version
    - you don't enter your keychain password to record this information
    I lost my kechain passwordon my mac,and i have to reenter password and FTP info everytime. Very frustrating util I can find the time to figure out how to reset my Mac keychain password.

  • Site definition settings - simple question

    When I use Dreamweaver to FTP my site elements via my Mac I
    have no problems. Sadly not the case with a PC though. I cannot
    connect, yet all the site definition settings are the same as for
    my Mac. Is this a simple problem to solve?

    As David says, such problems are almost always the result of
    Firewall
    intervention. You might consider disabling the firewall
    altogether if you
    are using a Router for your internet connection, since the
    router also
    provides this functionality.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "dulcettones" <[email protected]> wrote in
    message
    news:euqmjt$o3d$[email protected]..
    > Hello David.
    >
    > I've checked the passive FTP box. Now when I try to
    connect it finds the
    > /www/ folder where the site elements belong, but it
    doesn't show any of
    > them.
    >
    > When you say change the firewall settings, do you mean I
    have to disable
    > them
    > everytime I want to FTP to the server. I cannot find a
    check box that
    > enables
    > the McAfee security centre to allow Dreamweaver inbound
    and outbound
    > access.
    >
    > Thanks for your help.
    >

  • Site definition issue (maybe???)

    My desktop computer had some issues and I am having a hardware and operating system upgrade done on it. It had six hard drives, none of which were damaged and all of the data is intact. This data includes all of my DW CS4 sites which are in one of two directorys  (i.e, "Client A-M" and "Client N-Z"), under a client sub-directory in the client's name.
    I have a free-standing docking station where I mounted the hard drive with the client files and copied them to an external drive which is attached to my laptop, which has a full CS4 Premium Design Suite, including DW CS4, installed. I have already edited and updated some sites, a couple with no problems, and a couple with some problems reocognizing and updating templates.
    In a previous post, I addressed this issue and it was suggested that on the ones where I had problems, the issue was site definition files. I have just recieved a request to do some updating on a site which I have not opened on the laptop. As a prevention to avoid any problems, my quesiton is this:
    Should I redefine the site in it's existing folder on the laptop as a new site since this installation of DW CS4 has never seen that site before and the subject site is not on its recognized list of sites.
    Thanks in advance for you help,
    Joe
    PS: What is the file extension for the site definition files, and where do they reside on the computer?
    J.

    Without knowing the issues it's hard to determine.  You could always try to bring the files over.  Assuming your computer was setup with a RAID configuration and you didn't lose data then you should have no issues transferring the files.  But if you were running 6 independent hard drives and you have already run into issues you may want to consider just entering the data in fresh just to ensure no corruption down the road.  The files for the site definitions will vary.  Typically on the Mac they are located in the Library->Application Support->Adobe->Dreamweaver CS5 folder, on Windows it's hidden away in the Application Data folder.

  • Site definition/localhost trouble

    On advice of another poster, I scrapped an old site definition that may have a troublesome bad link for a fresh one.  It was not successful.
    I am receiving a "not found" error, as the URL for my formmail page is appearing incomplete.  It should be http://localhost/srbartending/srbregistermail.php
    but it is coming up http://localhost/srbregistermail.php
    If I hand type the correct URL, it's there.  The testing server site definition page is set properly.  It works on the remote server.
    I am mystified -- can anyone help?
    Thx, Ned

    I've noticed that too.
    But if I create a folder within the folder I want to go to, it will select the folder I wanted to go to.
    Thats my work around. I think it could be some cache problem.

  • Site definition window gone?

    After upgrading to Lion my site definition window is gone for the website that I created (darhosta.com). Does anyone know how to get it back? Do I create a new site or do something else?
    I wish I would have never upgraded to Lion. To many problems!
    Thanks, Lou Hosta

    I figured it out. I just had to plug in the url, password, ftp site, etc.

  • Site definition dialogue box CS5 categories will not expand to offer menu options

    Using Windows 7, Dreamweaver CS5, site definition dialogue box will not respond when clicking categories on left of box in order to set up local info like asset folder etc.
    Some machines at Uni have no problem with this but some do. Also, the same machine responds differently when logged on as an administrator or student or teacher.
    Can you shed any light on what might be causing this problem, please?

    Windows 7 security settings are precluding non-admin level users from writing data to certain files/folders used by DW CS5.
    Solution:
    Log-on as Administrator.
    Contact your IT dept.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Site definition DW-MX ver 6.1

    Site defintion will not let me input any information on
    'create new/edit site' to FTP with.
    It will not recognize FTP server info. But when I input exact
    info. in an FTP agent like SW-FTP
    connection is established everything works. I really think my
    DW-MX has been corrupted or
    something 'cause I should be able to use my site definition
    (FTP) in DW. Maybe Zone Alarm
    firewall problem. Please advise me how to get FTP to work and
    upload files. thanks

    did you read the technote i linked?
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16485
    Read that linked technote.
    "Dreamweaver TechNote
    Error when accessing sites: Server busy ... the other program
    is busy ...
    choose 'Switch To' to activate
    Issue
    When attempting to create a new site or edit an existing
    site, Dreamweaver
    fails with the following error:
    Server Busy
    This action cannot be completed because the other program is
    busy. Choose
    'Switch To' to activate the busy program and correct the
    problem.
    buttons: [Switch To...] [Retry] [Cancel] (grayed out)
    Note: This TechNote only applies to Windows XP Pro and
    Windows 2000 Pro
    users who have Microsoft Internet Information Services (IIS)
    installed"
    the fix is given further down.
    > Yes...I get a 550 error and/or server busy. On one site
    it tells me your
    > connected
    > but nothing is screened and freezes screen.

Maybe you are looking for

  • Windows Update KB2919355 don't start

    Hi, i'm trying to install the KB2919355 Update since a few days now. I downloaded the installer from the microsoft web page. All other Updates are installed. If I try to start the Update with a double-click, the Update file starts the extracting and

  • Exporting Illustrator Symbols to a New Art Board

    Anyone know of any scripts that will: Take Adobe Illustrator Symbols in your current document's symbol library and... Place them on an art board in either the same document or a new one? The symbols should retain their original sizes, with an option

  • Approval Preview

    Hi Friends, I want to display the approval preview for shopping carts and the follow on documents as a table by default. Can you please let me know where to make the changes? Regards, Kumar Edited by: Kumar on Apr 10, 2008 9:45 AM

  • Removed an edited folder from Catalog - Bad move?

    I have searched the forum for a specific answer, but I either overlooked it or failed to enter the exact search terms I needed.... I removed a folder of 173 edited DNG's from the Catalog. Don't ask why! Am I correct in assuming that all of the preset

  • Steps required to enable SSO

    I know i'm kind of asking a lot here...but can someone walk me through the procedure. I have AD connectivity working already, groups, users, etc are syncing properly. I want to create a experience definition that leverages WIA to automatically log in