Site Definitions Gone

Hello All,
I launched DW CS3 today and my site definitions have all disappeared. They were their last week and for months before that, but when I launched today, all of them are gone. I haven't done any updates to my machine recently that would have effected this as far as i know.
1. What could have happened?
2. How can I get DW to see my preferences or what ever it needs to "re-connect" to my site definitons. I'm running Mac OS 10.5.6 on a new'ish 24" imac.
Any and all help is really appreciated since I have pretty much all my connections data in the site definitions.
Thanks!
Steven O'

1. Crash happens. Backup regularly.
2. Reload from backup. See step 1

Similar Messages

  • All site definitions gone in DW CS4

    I'm using CS4 on a Mac running OS10.5.6. I accidentally removed one site, went into Time Machine and recovered it, then next time I started up CS4 ***all*** my sites are gone -- some 30 sites. I still have CS3 running (I have to support others here at work with older versions), so I can go and export some of the sites from CS3, but there are still many sites that were only built in CS4. Any idea on how to get these back? Is there a file I can restore from Time Machine that might contain that? I read the previous posts regarding missing site definitions, but they refer to the PC registry - not a solution for a Mac user. Help! Thanks for any suggestions.

    You're a star, David! Thank you, thank you, thank you!

  • Where have my site definitions gone?

    I launched Dreamweaver CS5 today, only to find that none of my 30+ sites were available in my Site Management window, and I don't know why.  The only clue I have is that a couple weeks back, I updated all of my Adobe programs, for the first time in a month or two.  Dreamweaver was among them, as I remember it specifically.
    Since that update, I hadn't launched DW until today, only to find my sites missing.
    I've found a few posts about something similar to this, and have attempted their solutions.  These include verifying/repairing my keychain, and replacing my Site Prefs file (user>library>application support>adobe>common>10>sites) from a Time Machine backup.  Neither of these worked.
    I have months of solid backups through Time Machine, at this point I just don't know what I need to restore though.  Does anyone have any insight or suggestions to how to remedy this problem?  It will be a major inconvenience to have to setup all these site again.
    PS. Note that all my site files are secure, I have only lost the site definitions in Dreamweaver.
    Thanks in advance for any help on this matter.

    I launched Dreamweaver CS5 today, only to find that none of my 30+ sites were available in my Site Management window, and I don't know why.
    Nobody does!  This is an intermittent (luckily rare) problem that DW has had for years.  THe solution of course is to keep a full backup of your site definitions using the Site Manager's EXPORT function.
    Anyhow, on a Mac, your site and site prefs are saved here -
    /Users/<username>/Library/Application Support/Adobe/Common/11/Sites

  • Lost Site Definitions

    Hi All,
    Using Dreamweaver CS3 & Mac OS 10.4.11, so no Time Machine
    Opened DW this morning and ALL site definitions gone. Have some of them backed up to .ste so can recover them easily, only about 25% though.
    Any ideas?
    Thanks
    Niall

    Aquaweb_IRL wrote:
    Any ideas?
    Yes, check the Dreamweaver FAQ. You'll be surprised what you can find in there. You're in luck because you're on a Mac. Windows users who fail to export their site definitions won't be so fortunate.

  • 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 has disappeared

    hey there, I did a disk cleanup last night and lo... this
    morning I have no file information on dreamweaver. I have learnt
    from this to keep a record of all the site definition data , but in
    the meantime, as I hadn't made a note of those, I have lost all the
    details for connecting to my three websites.
    Can anyone tell me where this information may be and how I
    can reconnect dreamweaver to it? I haven't emptied my recycle bin
    yet but can't see anything in there that may contain this data.
    love Kim

    What version of DW do you have, Kim? If you have 8 (I can't
    remember if MX
    2004 had this or not .. been years since I used it), you can
    reimport the
    site definitions (if you exported them initially). If you
    don't have the
    ste files saved somewhere, then you'll have to rebuild them
    .. thank
    goodness you only have 3 and not 30. :)
    The site definition info is stored in the registry on Windows
    .. not sure on
    Mac. However .. if it's gone .. it's probably gone from the
    registry as
    well and unless you do it routinely, I don't advise people to
    mess with the
    registry.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner''s
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "kimmgould" <[email protected]> wrote in
    message
    news:er6b0c$1p8$[email protected]..
    > hey there, I did a disk cleanup last night and lo...
    this morning I have
    > no
    > file information on dreamweaver. I have learnt from this
    to keep a record
    > of
    > all the site definition data , but in the meantime, as I
    hadn't made a
    > note of
    > those, I have lost all the details for connecting to my
    three websites.
    >
    > Can anyone tell me where this information may be and how
    I can reconnect
    > dreamweaver to it? I haven't emptied my recycle bin yet
    but can't see
    > anything
    > in there that may contain this data.
    >
    > love Kim
    >

  • Re: Site definition file help needed.

    On Fri, 22 Dec 2006 09:38:17 -0800, Kevin D-R
    <[email protected]> wrote:
    >Which brings me to Dreamweaver. I have copied everything
    over and
    >reinstalled Dreamweaver, but my site definition
    information is gone.
    >
    >Any ideas on how to get that copied over?
    The site definition is stored in the Windows system registry.
    If you
    cannot boot from the old hard drive, you may need to re-enter
    the site
    information.
    Gary

    Thanks so much for your response Anita.
    Since I posted this, I noticed a blurb on the Weblogic site that mentioned Service
    Pack 9 fixes any problems with JSSE and SSL from within a Weblogic jsp/servlet.
    That service pack also includes an example of using the Weblogic SSL routines
    to make outgoing HTTPS connections. So, I'm trying to install service pack 9 and
    use the example code included in the distribution. I may end up trying what you
    listed below however, because SP 9 seems to be screwing up some of our functionality.
    <sigh> It nevers ends....
    "Anita" <[email protected]> wrote:
    >
    1) Put the JSSE classes in the lib/ext directory.
    2) in the Weblogic.properties file change the weblogic.security.SSLHandler.enable=true
    to weblogic.security.SSLHandler.enable=false
    3) in the weblogic.policy file under a 'grant' directive for all code
    bases,
    put permission java.util.PropertyPermission "java.protocol.handler.pkgs",
    "write";

  • CS3 quit and lost all site definitions

    I wasn't doing anything out of the ordinary when Dreamweaver
    CS3 suddenly quit. When I relaunched the app, all my site
    definitions were gone. Any idea why or how I can get them back?

    Had you EXPORTED your site definitions previously? If not,
    you may be out
    of luck.
    It's always a good idea to keep a backup of your site
    definitions by
    EXPORTing them from Site Manager to cover you for just this
    kind of thing.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JHB513" <[email protected]> wrote in
    message
    news:g92bo0$ku0$[email protected]..
    >i am on a macbook pro running 10.5.4
    >
    > i actually wrote the wrong thing earlier... it wasn't
    dreamweaver that
    > crashed, it was the whole computer... got that gray
    screen that says i
    > should
    > hold down the power button for a few seconds.
    >

  • Aargh - DW deleted all site definitions

    Hi there
    I've just installed DW8 without any problems - the whole
    process was smooth
    and all site definitions were ported across.
    I then (as instructed) went on to delete DWMX2004 and 'bang'
    suddenly all my
    site definitions are gone from DW8 and I'm back to square one
    I did do a backup of the DW MX2004 site profiles etc using
    the MM-Exporter
    tool (just in case) but trying to use this to recreate in DW8
    doesn't work
    as it says there are loads of files missing which it needs (I
    guess from the
    DW MX 2004 installation)
    Can anyone shed any words of wisdom before I have to go
    through and
    reconfigure 60 or 70 site definitions?
    Thanks
    Jos

    > I did do a backup of the DW MX2004 site profiles etc
    using the MM-Exporter
    > tool (just in case) but trying to use this to recreate
    in DW8 doesn't work
    > as it says there are loads of files missing which it
    needs (I guess from
    > the DW MX 2004 installation)
    What? The exporter works with DMX2004 to DW8. What kind of
    errors did you
    get? To tell you the truth, I haven't used it since DW began
    doing exports
    of multiple sites, which works just fine.
    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
    ==================
    "Jos Medinger" <[email protected]> wrote in
    message
    news:el8u2q$kpt$[email protected]..
    > Hi there
    >
    > I've just installed DW8 without any problems - the whole
    process was
    > smooth and all site definitions were ported across.
    >
    > I then (as instructed) went on to delete DWMX2004 and
    'bang' suddenly all
    > my site definitions are gone from DW8 and I'm back to
    square one :(
    >
    > I did do a backup of the DW MX2004 site profiles etc
    using the MM-Exporter
    > tool (just in case) but trying to use this to recreate
    in DW8 doesn't work
    > as it says there are loads of files missing which it
    needs (I guess from
    > the DW MX 2004 installation)
    >
    > Can anyone shed any words of wisdom before I have to go
    through and
    > reconfigure 60 or 70 site definitions?
    >
    > Thanks
    >
    > Jos
    >

  • Where have Site Profles gone

    I have MX and I am stunned that all my defined sites have
    gone from the right side panel.
    Are they normally stored in a separate data file ? If so what
    would it be and where would it be.
    If not, what could be the cause of this?
    Thanks

    guessing windows OS?
    dreamweaver stores the site definitions in the Registry file.
    If the registry file is "flaky" or if the box is unplugged
    before updates to
    the Registry file are done, the site definiton info can be
    wiped.
    there's a third party tool for windows that will let you make
    back up files
    of the site defintions.
    http://mm-exporter.joexx.de/
    you can also use the Export button in the define sites dialog
    box to create
    .ste files
    If only the site definitions where lost- no site files were
    lost. no actual
    site assets. Define the sites again, then back up the site
    definitions, and
    go on.
    > Yes I know it would be my end and don't blame MX at all,
    just would like to
    > know what I or my box may have done to cause this.
    >
    > I will check the manual and the help file but would also
    like to know what
    > file it is in if it is a file.
    >
    > All my files are still in html some with css and some
    with templates.
    >
    > Thanks,
    >
    >
    >
    >
    >
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Sites are gone????

    I am using Dreamweaver MX (maybe version 6) on Windows XP.
    Today I opened Dreamweaver and all of my websites (about 17) are
    not in the Files menu Site tab. It just says Define sites and has
    Edit Sites in the pulldown instead of the 17 sites that used to be
    there. This is a huge pain in the butt as I will need to put in all
    17 sites again with passwords and FTP info. Does anyone know where
    site info is stored and if it can be recovered? and also is there
    any way to back up this info? What a pain.

    It's stored in the Windows Registry. If you have DMX which is
    indeed
    version 6, I think that version had the ability to export the
    site
    definitions. It's a one by one operation, but it's better
    than not having
    the information. Have you done that? If you have and you have
    a folder
    with the site definitions somewhere on your computer, then
    you simply
    reimport them. If you haven't, they are probably gone from
    the registry and
    you will have to rebuild them.
    But it's only 17 .. I have 50 some. :)
    Incidentally, this was a Windows bug and not a Dreamweaver
    one that caused
    the registry to lose the information.
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's
    Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "kptgreg2" <[email protected]> wrote in
    message
    news:fntgpt$2m5$[email protected]..
    >I am using Dreamweaver MX (maybe version 6) on Windows
    XP. Today I opened
    > Dreamweaver and all of my websites (about 17) are not in
    the Files menu
    > Site
    > tab. It just says Define sites and has Edit Sites in the
    pulldown instead
    > of
    > the 17 sites that used to be there. This is a huge pain
    in the butt as I
    > will
    > need to put in all 17 sites again with passwords and FTP
    info. Does
    > anyone
    > know where site info is stored and if it can be
    recovered? and also is
    > there
    > any way to back up this info? What a pain.
    >

  • Show a WebPart view in a visual studio site definition

    Hi Guys ,
    i developed a Site definition in VS. In this Definition i have a list instance  based on Promoted link template (type 170).Now i want to show in the Deafault.aspx a view of the promoted link but when i put the snipet
    <WebPartPages:WebPartZone runat="server" FrameType="TitleBarOnly" ID="full" Title="loc:full">
    <WebPartPages:XsltListViewWebPart runat="server"
    ListUrl="Lists/List1"
    IsIncluded="True"
    JsLink="clientTemplate.js"
    NoDefaultStyle="TRUE"
    PageType="PAGE_NORMALVIEW"
    Default="False"
    ViewContentTypeId="0x">
    </WebPartPages:XsltListViewWebPart>
    </WebPartPages:WebPartZone>
    the server respond me  : ..Type 'Microsoft.SharePoint.WebPartPages.WebPartZone' does not have a public
    property named  'XsltListViewWebPart'. I added
    <%
    @RegisterTagprefix="WebPartPages"Namespace="Microsoft.SharePoint.WebPartPages"Assembly="Microsoft.SharePoint,
    Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>
    but it doesn´t work..
    Any suggestion?

    Hi gohberto,
    Before <WebPartPages:XsltListViewWebPart> tag,you can add <zoneTemplate>
    Here is a code snippet for your reference:
    <WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main">
    <ZoneTemplate>
    <WebPartPages:XsltListViewWebPart runat="server" ListUrl="Lists/My List" [abbreviated...]>
    <XmlDefinition>
    <View Name="Some View" Type="HTML" Hidden="TRUE" TabularView="FALSE" DisplayName="" Url="View.aspx" Level="255" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/generic.png">
    <Query>
    <OrderBy>
    <FieldRef Ascending="FALSE" Name="ID"/>
    </OrderBy>
    </Query>
    <ViewFields>
    <FieldRef Name="ID"/>
    </ViewFields>
    <RowLimit Paged="TRUE">1</RowLimit>
    <Aggregations Value="Off"/>
    <Toolbar Type="Standard"/>
    </View>
    </XmlDefinition>
    <DataFields>
    </DataFields>
    </WebPartPages:XsltListViewWebPart>
    </ZoneTemplate>
    </WebPartPages:WebPartZone>
    Here is a similar thread for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/7740935e-d4d7-46f8-9dac-09b9c46855c6/type-microsoftsharepointwebpartpageswebpartzone-does-not-have-a-public-property-named-webpart?forum=sharepointcustomizationlegacy
    Best Reagrds
    Zhengyu Guo
    TechNet Community Support

  • Backing up and restoring site definitions

    Losing your site definitions in Dreamweaver can be a disaster, but it does happen sometimes. The best way to prepare for such an eventuality is to back up your site definitions on a regular basis.
    Creating a backup
    You can back up all your site definitions in a single operation by selecting Site > Manage Sites. In the dialog box that opens, Shift-click to select all site names, and then click Export.
    In Dreamweaver CS6, the Manage Sites dialog box looks like this:
    In earlier versions of Dreamweaver, it looks like this:
    Dreamweaver asks if you want to include passwords and login details (this is the default option). Whichever option you choose will be applied to all sites, so click Cancel if you want to treat some sites separately, and export your sites in two sets by using Ctrl/Cmd-click to select them.
    When you click OK, Dreamweaver asks where you want to export the definitions. Navigate to a suitable location, leave the File name field unchanged, and click Save. Although only one site name is listed in the File name field, Dreamweaver exports all the site definitions as .ste files in a single operation.
    NOTE: This process backs up only the details of your sites, such as the location of the root folder, FTP details, and so on. It does not back up the actual files in your site, such as .html (or .php, .asp, .cfm) files, images, and style sheets. It's a good idea to use your normal file backup routine on your actual files from time to time, as well as exporting the site definitions.
    Restoring site definitions
    In the event of losing your site definitions in Dreamweaver or moving to a new computer, open the Manage Sites dialog box, and use the Import button to navigate to your backup .ste files.
    What if I don't have a backup?
    Often, if you don't have a backup of .ste files, you need to go through the whole process of re-entering the details for each site manually.
    However, you might be able to restore them by using a restore point on Windows or Time Machine in Mac OS X.
    On Windows, the site definitions for Dreamweaver CS6 are stored in the Windows Registry at HKEY_CURRENT_USER\Software\Adobe\Common\12.0\Sites.
    In Mac OS X, they are at Macintosh HD:<username>:Library:Application Support:Adobe:Common:12.0:Sites:Site Prefs.
    In recent versions of Mac OS X, the Library folder is hidden. In the Mac Finder, select Go > Go to Folder, type ~/Library in the search field, and click Go.
    Dreamweaver CS5.5 site definitions are in the same location, except use 11.5 instead of 12.0. The numbers for CS4 and CS3 are 10 and 9 (without a decimal fraction) respectively. For earlier versions of Dreamweaver, substitute Macromedia for Adobe, and adjust the number accordingly.
    If you don't have a backup of the actual files on your site, download the files from your remote server.

    Hello,
    We are running iPlanet 5.2 Messaging Server and need
    to migrate to another (duplicate) 5.2 Messaging
    Server. We have all the software installed and the
    LDAP user accounts created. Now we just need to move
    the existing mail from one server to the other.
    I found the Backing Up and Restoring the Message
    Store section in the Admin Guide says to back up and
    restore your data, Messaging Server provides the
    imsbackup and imsrestore utilities.
    However I am wondering about the Queue?
    Under <instance>/imta/queue
    What is the difference between the Message Store
    and the Queue? The Message Store is where messages get delivered to, so you can read them.'
    The queue is where messages are temporarily stored, pending delivery to wherever they go.
    You can use tar, cpio, or what have you for the queue. Stop the server first. . .
    You then just restore the files to the new server. No need to restart or anything like that. Just dump the files in, and run
    imsimta cache -sync
    to tell the MTA to re-read the queue.
    Can I just backup and restore the
    Queue using tar or cpio?
    Thanks in advance for any advice.
    Regards,
    Tim

  • Remote and Testing Server Site Definitions

    I am confused about what information I should put in my
    remote site definition info and testing server FTC Host directory
    text boxes. My host placed 3 directories: database, log, and www on
    my server and Dreamweaver placed two directories, Connections and
    _mmServerScripts in the same directory as the above 3. I have
    placed all of my site files, including my home page and folders in
    the www directory and my Access database in the database directory.
    Dreamweaver placed the connection info in the Connections folder an
    d _mmServerScripts in the same directory.
    In order to construct my local site to match the remote site,
    I created a www folder on my local site and placed all of my HTML
    files and supporting folders in it.
    From various Adobe Tech Notes I have read, I was led to
    believe my FTP host directory
    Should be www/. However, when I do this and create a new web
    page on my local site and upload it to my remote site, Dreamweaver
    creates a new www directory inside of the one my host created on
    the remote site and uploads the file to it instead of placing it in
    the www directory my host created. Also, when I use F12 to test my
    page in my browser I get a 404 page not found because Dreamweaver
    placed a www in the page URL that shouldn’t be there and
    after I remove it I’m able to see my page in my browser. My
    URL prefix on my testing server site definition is:
    http://I.P.number.html.
    What am I not doing right?
    Should I use www/ as my FTP host directory or leave it blank?
    Also, what should my URL prefix be?
    Thanks for your help.

    What you need to do is set up so that in the remote server
    you point to the
    www level on the server, and don't replicate this locally.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Jim_Moore" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am confused about what information I should put in my
    remote site
    >definition
    > info and testing server FTC Host directory text boxes.
    My host placed 3
    > directories: database, log, and www on my server and
    Dreamweaver placed
    > two
    > directories, Connections and _mmServerScripts in the
    same directory as the
    > above 3. I have placed all of my site files, including
    my home page and
    > folders
    > in the www directory and my Access database in the
    database directory.
    > Dreamweaver placed the connection info in the
    Connections folder an d
    > _mmServerScripts in the same directory.
    >
    > In order to construct my local site to match the remote
    site, I created a
    > www
    > folder on my local site and placed all of my HTML files
    and supporting
    > folders
    > in it.
    >
    > From various Adobe Tech Notes I have read, I was led to
    believe my FTP
    > host
    > directory
    > Should be www/. However, when I do this and create a new
    web page on my
    > local
    > site and upload it to my remote site, Dreamweaver
    creates a new www
    > directory
    > inside of the one my host created on the remote site and
    uploads the file
    > to it
    > instead of placing it in the www directory my host
    created. Also, when I
    > use
    > F12 to test my page in my browser I get a 404 page not
    found because
    > Dreamweaver placed a www in the page URL that shouldn?t
    be there and after
    > I
    > remove it I?m able to see my page in my browser. My URL
    prefix on my
    > testing
    > server site definition is:
    http://I.P.number.html.
    >
    > What am I not doing right?
    > Should I use www/ as my FTP host directory or leave it
    blank?
    > Also, what should my URL prefix be?
    >
    > Thanks for your help.
    >
    >

  • 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

Maybe you are looking for

  • How do I execute a returned sql string from a function on the command line?

    Hi, I have written a pl/sql function that will dynamically create a sql select statement. I need to be able to execute this statement from the command line. e.g from sqlplus Say my function is called "sql_create" and it returns "select * from custome

  • Programmatically transform xml report using Labview

    I want to transform the standard xml report from Teststand into a more user-friendly file format for users that need to view reports, but don't have access to the test station.  Check out the attached code.  It should work, but I get this error. "Obj

  • Is the Swing Package in Java obsolete?

    hey guys, i'm just a newbie java enthusiast here and all the while i've been learning to manipulate data in minimal ways using the Swing package especially the JOptionPane class. is this class/package already obsolete? a person here in school told me

  • System Preferences won't (often) open

    From the Dock, from the Apple menu, from Applications - most of the time System Prefs bounces in the Dock until I force quit. I trash the plist file and then it will open, sometimes from the Dock, sometimes from the Apple menu, sometimes from Applica

  • Network adapter LEDs

    Where would I find out the meanings of the LEDs next to the ethernet cable connector?  Left one is solid green - right one is flashing orange. Thx