Disjointed slices, creating expandable site

This is my first time using DW and am learning as I go along.
I imported my slices/html file from Photoshop. Everything looked
great until I began trying to make the site expandable vertically
to accommodate an auto-expanding content area. Bars that could
repeat vertically look great, but I now have disjointed slices
above and below my side navigation box, where you can now see the
background between slices. There is also an unwanted space between
my content box and the heading of the site.
Perhaps I need to change some code, but I'm feeling around in
the dark on this. Thank you!

You will have to upload this page to some web space somewhere
and post a
link to it, please.
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
==================
"tonysweetphoto" <[email protected]> wrote
in message
news:[email protected]
> This is my first time using DW and am learning as I go
along. I imported
> my
> slices/html file from Photoshop. Everything looked great
until I began
> trying
> to make the site expandable vertically to accommodate an
auto-expanding
> content
> area. Bars that could repeat vertically look great, but
I now have
> disjointed
> slices above and below my side navigation box, where you
can now see the
> background between slices. There is also an unwanted
space between my
> content
> box and the heading of the site.
>
> Perhaps I need to change some code, but I'm feeling
around in the dark on
> this. Thank you!
>
> <html>
> <head>
> <title>TS_site3</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
> <style type="text/css">
> <!--
> body {
> background-color: #333135;
> }
> -->
> </style>
> <link href="site_layout.css" rel="stylesheet"
type="text/css">
> <link href="site_content.css" rel="stylesheet"
type="text/css">
> </head>
> <body leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
> <!-- ImageReady Slices (TS_site3.tif) -->
> <div id="site_layout">
> <table width="1001" height="601" border="0"
align="center"
> cellpadding="0"
> cellspacing="0" id="Table_01">
> <tr>
> <td rowspan="6"
background="images/left_bar.gif"> </td>
> <td>
> <img src="images/image_top.gif" width="174"
height="17" alt=""></td>
> <td rowspan="6"
background="images/grad.jpg"> </td>
> <td colspan="3" rowspan="2"
>
background="images/logo.jpg"><p> </p>
> <p> </p></td>
> <td colspan="2" rowspan="2">
> <img src="images/top_utilnav.gif" width="59"
height="135"
> alt=""></td>
> <td>
> <img src="images/spacer.gif" width="1" height="17"
alt=""></td>
> </tr>
> <tr>
> <td>
> <img src="images/image.jpg" width="174" height="118"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="1" height="118"
alt=""></td>
> </tr>
> <tr>
> <td
background="images/image_bottom.gif"></td>
> <td colspan="4" rowspan="2" valign="top"><div
id="site_content">
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> <p> </p>
> </div></td>
> <td rowspan="4"
background="images/right_bar.gif"> </td>
> <td>
> <img src="images/spacer.gif" width="1" height="19"
alt=""></td>
> </tr>
> <tr>
> <td rowspan="2">
> <img src="images/nav.gif" width="174" height="450"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="1" height="418"
alt=""></td>
> </tr>
> <tr>
> <td rowspan="2"
background="images/bottom_white.gif"> </td>
> <td rowspan="2"
background="images/bottom_nav.gif"> </td>
> <td colspan="2" rowspan="2"
background="images/copy.gif"> </td>
> <td>
> <img src="images/spacer.gif" width="1" height="19"
alt=""></td>
> </tr>
> <tr>
> <td
background="images/bottom_grey.gif"> </td>
> <td>
> <img src="images/spacer.gif" width="1" height="9"
alt=""></td>
> </tr>
> <tr>
> <td>
> <img src="images/spacer.gif" width="32" height="1"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="174" height="1"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="70" height="1"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="131" height="1"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="278" height="1"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="256" height="1"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="27" height="1"
alt=""></td>
> <td>
> <img src="images/spacer.gif" width="32" height="1"
alt=""></td>
> <td></td>
> </tr>
> </table>
> <p> </p>
> </div>
> <!-- End ImageReady Slices -->
> </body>
> </html>
>

Similar Messages

  • Why is my flash content not working on my dreamweaver created html site?

    This is a problem that's happening on my website I'm creating.  I created a quick test website to show you the problem on the fourm.  It's the same problem, and if you can provide the solution to this test website I can apply it to my main website.
    Test website on server:
    test331754952.net23.net
    What I did:
    -launched flash
    -typed "test" and made it spin 360 degrees
    -published swf
    -launched dreamweaver
    -created a site
    -moved swf to site folder
    -saved a html file to the site folder
    -in dreamweaver, went to insert, media, swf, then selected the swf I made
    -it inserted the swf, creating a gray placeholder for it
    -re-saved the html document, at which point dreamweaver created a folder named script and 2 files, an swf, and a javascript file
    Site Directory:
    Scripts Sub-Directory:
    What happens:
    -when I launch the swf on my machine, it plays fine
    -when I open the swf directly on the test website on the server, it plays fine
    -when I open the html with the embended swf on the test website on the server, it shows a gray box, then goes white
    -In dreamweaver, when I go to preview in browser and choose internet explorer, it tells me I don't have new flashplayer(I do: flashplayer 11) 
    Ie also pokes up a box at the bottom that says its not allowing content.  When I click allow content, it creates a gray box
    -In dreamweaver, when I go to preview in borwser and choose google chrome, it tells me flash player has stopped a potentionally unsafe operation.  When I close this dialog box, it gives me a gray box where my swf should be embeded.
    -I've tried changing global flash secuirty setting and it does nothing
    -I've tried visiting the test website on multiple computers in my household to no avail
    -I've tried having friends visit the site on their computer at their house to no avail
    -I did't touch the code on this test website-the code is exactly what dreamweaver generated
    Html Document Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="test">
      <param name="movie" value="test.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="15.0.0.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="test.swf" width="550" height="400">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="15.0.0.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>
    Javascript file code(the one dreamweaver made when I inserted swf):
    /*! SWFObject v2.0 <http://code.google.com/p/swfobject/>
    Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
    This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
    var swfobject = function() {
    var UNDEF = "undefined",
      OBJECT = "object",
      SHOCKWAVE_FLASH = "Shockwave Flash",
      SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
      FLASH_MIME_TYPE = "application/x-shockwave-flash",
      EXPRESS_INSTALL_ID = "SWFObjectExprInst",
      win = window,
      doc = document,
      nav = navigator,
      domLoadFnArr = [],
      regObjArr = [],
      timer = null,
      storedAltContent = null,
      storedAltContentId = null,
      isDomLoaded = false,
      isExpressInstallActive = false;
    /* Centralized function for browser feature detection
      - Proprietary feature detection (conditional compiling) is used to detect Internet Explorer's features
      - User agent string detection is only used when no alternative is possible
      - Is executed directly for optimal performance
    var ua = function() {
      var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF && typeof doc.appendChild != UNDEF && typeof doc.replaceChild != UNDEF && typeof doc.removeChild != UNDEF && typeof doc.cloneNode != UNDEF,
       playerVersion = [0,0,0],
       d = null;
      if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
       d = nav.plugins[SHOCKWAVE_FLASH].description;
       if (d) {
        d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
        playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
        playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
        playerVersion[2] = /r/.test(d) ? parseInt(d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
      else if (typeof win.ActiveXObject != UNDEF) {
       var a = null, fp6Crash = false;
       try {
        a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7");
       catch(e) {
        try {
         a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6");
         playerVersion = [6,0,21];
         a.AllowScriptAccess = "always";  // Introduced in fp6.0.47
        catch(e) {
         if (playerVersion[0] == 6) {
          fp6Crash = true;
        if (!fp6Crash) {
         try {
          a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
         catch(e) {}
       if (!fp6Crash && a) { // a will return null when ActiveX is disabled
        try {
         d = a.GetVariable("$version");  // Will crash fp6.0.21/23/29
         if (d) {
          d = d.split(" ")[1].split(",");
          playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
        catch(e) {}
      var u = nav.userAgent.toLowerCase(),
       p = nav.platform.toLowerCase(),
       webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
       ie = false,
       windows = p ? /win/.test(p) : /win/.test(u),
       mac = p ? /mac/.test(p) : /mac/.test(u);
      /*@cc_on
       ie = true;
       @if (@_win32)
        windows = true;
       @elif (@_mac)
        mac = true;
       @end
      return { w3cdom:w3cdom, pv:playerVersion, webkit:webkit, ie:ie, win:windows, mac:mac };
    /* Cross-browser onDomLoad
      - Based on Dean Edwards' solution: http://dean.edwards.name/weblog/2006/06/again/
      - Will fire an event as soon as the DOM of a page is loaded (supported by Gecko based browsers - like Firefox -, IE, Opera9+, Safari)
    var onDomLoad = function() {
      if (!ua.w3cdom) {
       return;
      addDomLoadEvent(main);
      if (ua.ie && ua.win) {
       try {  // Avoid a possible Operation Aborted error
        doc.write("<scr" + "ipt id=__ie_ondomload defer=true src=//:></scr" + "ipt>"); // String is split into pieces to avoid Norton AV to add code that can cause errors
        var s = getElementById("__ie_ondomload");
        if (s) {
         s.onreadystatechange = function() {
          if (this.readyState == "complete") {
           this.parentNode.removeChild(this);
           callDomLoadFunctions();
       catch(e) {}
      if (ua.webkit && typeof doc.readyState != UNDEF) {
       timer = setInterval(function() { if (/loaded|complete/.test(doc.readyState)) { callDomLoadFunctions(); }}, 10);
      if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, null);
      addLoadEvent(callDomLoadFunctions);
    function callDomLoadFunctions() {
      if (isDomLoaded) {
       return;
      if (ua.ie && ua.win) { // Test if we can really add elements to the DOM; we don't want to fire it too early
       var s = createElement("span");
       try { // Avoid a possible Operation Aborted error
        var t = doc.getElementsByTagName("body")[0].appendChild(s);
        t.parentNode.removeChild(t);
       catch (e) {
        return;
      isDomLoaded = true;
      if (timer) {
       clearInterval(timer);
       timer = null;
      var dl = domLoadFnArr.length;
      for (var i = 0; i < dl; i++) {
       domLoadFnArr[i]();
    function addDomLoadEvent(fn) {
      if (isDomLoaded) {
       fn();
      else {
       domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
    /* Cross-browser onload
      - Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
      - Will fire an event as soon as a web page including all of its assets are loaded
    function addLoadEvent(fn) {
      if (typeof win.addEventListener != UNDEF) {
       win.addEventListener("load", fn, false);
      else if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("load", fn, false);
      else if (typeof win.attachEvent != UNDEF) {
       win.attachEvent("onload", fn);
      else if (typeof win.onload == "function") {
       var fnOld = win.onload;
       win.onload = function() {
        fnOld();
        fn();
      else {
       win.onload = fn;
    /* Main function
      - Will preferably execute onDomLoad, otherwise onload (as a fallback)
    function main() { // Static publishing only
      var rl = regObjArr.length;
      for (var i = 0; i < rl; i++) { // For each registered object element
       var id = regObjArr[i].id;
       if (ua.pv[0] > 0) {
        var obj = getElementById(id);
        if (obj) {
         regObjArr[i].width = obj.getAttribute("width") ? obj.getAttribute("width") : "0";
         regObjArr[i].height = obj.getAttribute("height") ? obj.getAttribute("height") : "0";
         if (hasPlayerVersion(regObjArr[i].swfVersion)) { // Flash plug-in version >= Flash content version: Houston, we have a match!
          if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements
           fixParams(obj);
          setVisibility(id, true);
         else if (regObjArr[i].expressInstall && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { // Show the Adobe Express Install dialog if set by the web page author and if supported (fp6.0.65+ on Win/Mac OS only)
          showExpressInstall(regObjArr[i]);
         else { // Flash plug-in and Flash content version mismatch: display alternative content instead of Flash content
          displayAltContent(obj);
       else {  // If no fp is installed, we let the object element do its job (show alternative content)
        setVisibility(id, true);
    /* Fix nested param elements, which are ignored by older webkit engines
      - This includes Safari up to and including version 1.2.2 on Mac OS 10.3
      - Fall back to the proprietary embed element
    function fixParams(obj) {
      var nestedObj = obj.getElementsByTagName(OBJECT)[0];
      if (nestedObj) {
       var e = createElement("embed"), a = nestedObj.attributes;
       if (a) {
        var al = a.length;
        for (var i = 0; i < al; i++) {
         if (a[i].nodeName.toLowerCase() == "data") {
          e.setAttribute("src", a[i].nodeValue);
         else {
          e.setAttribute(a[i].nodeName, a[i].nodeValue);
       var c = nestedObj.childNodes;
       if (c) {
        var cl = c.length;
        for (var j = 0; j < cl; j++) {
         if (c[j].nodeType == 1 && c[j].nodeName.toLowerCase() == "param") {
          e.setAttribute(c[j].getAttribute("name"), c[j].getAttribute("value"));
       obj.parentNode.replaceChild(e, obj);
    /* Fix hanging audio/video threads and force open sockets and NetConnections to disconnect
      - Occurs when unloading a web page in IE using fp8+ and innerHTML/outerHTML
      - Dynamic publishing only
    function fixObjectLeaks(id) {
      if (ua.ie && ua.win && hasPlayerVersion("8.0.0")) {
       win.attachEvent("onunload", function () {
        var obj = getElementById(id);
        if (obj) {
         for (var i in obj) {
          if (typeof obj[i] == "function") {
           obj[i] = function() {};
         obj.parentNode.removeChild(obj);
    /* Show the Adobe Express Install dialog
      - Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
    function showExpressInstall(regObj) {
      isExpressInstallActive = true;
      var obj = getElementById(regObj.id);
      if (obj) {
       if (regObj.altContentId) {
        var ac = getElementById(regObj.altContentId);
        if (ac) {
         storedAltContent = ac;
         storedAltContentId = regObj.altContentId;
       else {
        storedAltContent = abstractAltContent(obj);
       if (!(/%$/.test(regObj.width)) && parseInt(regObj.width, 10) < 310) {
        regObj.width = "310";
       if (!(/%$/.test(regObj.height)) && parseInt(regObj.height, 10) < 137) {
        regObj.height = "137";
       doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
       var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
        dt = doc.title,
        fv = "MMredirectURL=" + win.location + "&MMplayerType=" + pt + "&MMdoctitle=" + dt,
        replaceId = regObj.id;
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       if (ua.ie && ua.win && obj.readyState != 4) {
        var newObj = createElement("div");
        replaceId += "SWFObjectNew";
        newObj.setAttribute("id", replaceId);
        obj.parentNode.insertBefore(newObj, obj); // Insert placeholder div that will be replaced by the object element that loads expressinstall.swf
        obj.style.display = "none";
        win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
       createSWF({ data:regObj.expressInstall, id:EXPRESS_INSTALL_ID, width:regObj.width, height:regObj.height }, { flashvars:fv }, replaceId);
    /* Functions to abstract and display alternative content
    function displayAltContent(obj) {
      if (ua.ie && ua.win && obj.readyState != 4) {
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       var el = createElement("div");
       obj.parentNode.insertBefore(el, obj); // Insert placeholder div that will be replaced by the alternative content
       el.parentNode.replaceChild(abstractAltContent(obj), el);
       obj.style.display = "none";
       win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
      else {
       obj.parentNode.replaceChild(abstractAltContent(obj), obj);
    function abstractAltContent(obj) {
      var ac = createElement("div");
      if (ua.win && ua.ie) {
       ac.innerHTML = obj.innerHTML;
      else {
       var nestedObj = obj.getElementsByTagName(OBJECT)[0];
       if (nestedObj) {
        var c = nestedObj.childNodes;
        if (c) {
         var cl = c.length;
         for (var i = 0; i < cl; i++) {
          if (!(c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param") && !(c[i].nodeType == 8)) {
           ac.appendChild(c[i].cloneNode(true));
      return ac;
    /* Cross-browser dynamic SWF creation
    function createSWF(attObj, parObj, id) {
      var r, el = getElementById(id);
      if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
       attObj.id = id;
      if (ua.ie && ua.win) { // IE, the object element and W3C DOM methods do not combine: fall back to outerHTML
       var att = "";
       for (var i in attObj) {
        if (attObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries, like Object.prototype.toJSONString = function() {}
         if (i == "data") {
          parObj.movie = attObj[i];
         else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          att += ' class=" + attObj[i] + "';
         else if (i != "classid") {
          att += ' ' + i + '="' + attObj[i] + '"';
       var par = "";
       for (var j in parObj) {
        if (parObj[j] != Object.prototype[j]) { // Filter out prototype additions from other potential libraries
         par += '<param name="' + j + '" value="' + parObj[j] + '" />';
       el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
       fixObjectLeaks(attObj.id); // This bug affects dynamic publishing only
       r = getElementById(attObj.id);
      else if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements: fall back to the proprietary embed element
       var e = createElement("embed");
       e.setAttribute("type", FLASH_MIME_TYPE);
       for (var k in attObj) {
        if (attObj[k] != Object.prototype[k]) { // Filter out prototype additions from other potential libraries
         if (k == "data") {
          e.setAttribute("src", attObj[k]);
         else if (k.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          e.setAttribute("class", attObj[k]);
         else if (k != "classid") { // Filter out IE specific attribute
          e.setAttribute(k, attObj[k]);
       for (var l in parObj) {
        if (parObj[l] != Object.prototype[l]) { // Filter out prototype additions from other potential libraries
         if (l != "movie") { // Filter out IE specific param element
          e.setAttribute(l, parObj[l]);
       el.parentNode.replaceChild(e, el);
       r = e;
      else { // Well-behaving browsers
       var o = createElement(OBJECT);
       o.setAttribute("type", FLASH_MIME_TYPE);
       for (var m in attObj) {
        if (attObj[m] != Object.prototype[m]) { // Filter out prototype additions from other potential libraries
         if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          o.setAttribute("class", attObj[m]);
         else if (m != "classid") { // Filter out IE specific attribute
          o.setAttribute(m, attObj[m]);
       for (var n in parObj) {
        if (parObj[n] != Object.prototype[n] && n != "movie") { // Filter out prototype additions from other potential libraries and IE specific param element
         createObjParam(o, n, parObj[n]);
       el.parentNode.replaceChild(o, el);
       r = o;
      return r;
    function createObjParam(el, pName, pValue) {
      var p = createElement("param");
      p.setAttribute("name", pName);
      p.setAttribute("value", pValue);
      el.appendChild(p);
    function getElementById(id) {
      return doc.getElementById(id);
    function createElement(el) {
      return doc.createElement(el);
    function hasPlayerVersion(rv) {
      var pv = ua.pv, v = rv.split(".");
      v[0] = parseInt(v[0], 10);
      v[1] = parseInt(v[1], 10);
      v[2] = parseInt(v[2], 10);
      return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
    /* Cross-browser dynamic CSS creation
      - Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
    function createCSS(sel, decl) {
      if (ua.ie && ua.mac) {
       return;
      var h = doc.getElementsByTagName("head")[0], s = createElement("style");
      s.setAttribute("type", "text/css");
      s.setAttribute("media", "screen");
      if (!(ua.ie && ua.win) && typeof doc.createTextNode != UNDEF) {
       s.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
      h.appendChild(s);
      if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
       var ls = doc.styleSheets[doc.styleSheets.length - 1];
       if (typeof ls.addRule == OBJECT) {
        ls.addRule(sel, decl);
    function setVisibility(id, isVisible) {
      var v = isVisible ? "inherit" : "hidden";
      if (isDomLoaded) {
       getElementById(id).style.visibility = v;
      else {
       createCSS("#" + id, "visibility:" + v);
    function getTargetVersion(obj) {
         if (!obj)
             return 0;
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "swfversion") {
          return c[i].getAttribute("value");
      return 0;
    function getExpressInstall(obj) {
         if (!obj)
             return "";
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "expressinstall") {
           return c[i].getAttribute("value");
      return "";
    return {
      /* Public API
       - Reference: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation
      registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr) {
       if (!ua.w3cdom || !objectIdStr) {
        return;
       var obj = document.getElementById(objectIdStr);
       var xi = getExpressInstall(obj);
       var regObj = {};
       regObj.id = objectIdStr;
       regObj.swfVersion = swfVersionStr ? swfVersionStr : getTargetVersion(obj);
       regObj.expressInstall = xiSwfUrlStr ? xiSwfUrlStr : ((xi != "") ? xi : false);
       regObjArr[regObjArr.length] = regObj;
       setVisibility(objectIdStr, false);
      getObjectById: function(objectIdStr) {
       var r = null;
       if (ua.w3cdom && isDomLoaded) {
        var o = getElementById(objectIdStr);
        if (o) {
         var n = o.getElementsByTagName(OBJECT)[0];
         if (!n || (n && typeof o.SetVariable != UNDEF)) {
             r = o;
         else if (typeof n.SetVariable != UNDEF) {
          r = n;
       return r;
      embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) {
       if (!ua.w3cdom || !swfUrlStr || !replaceElemIdStr || !widthStr || !heightStr || !swfVersionStr) {
        return;
       widthStr += ""; // Auto-convert to string to make it idiot proof
       heightStr += "";
       if (hasPlayerVersion(swfVersionStr)) {
        setVisibility(replaceElemIdStr, false);
        var att = (typeof attObj == OBJECT) ? attObj : {};
        att.data = swfUrlStr;
        att.width = widthStr;
        att.height = heightStr;
        var par = (typeof parObj == OBJECT) ? parObj : {};
        if (typeof flashvarsObj == OBJECT) {
         for (var i in flashvarsObj) {
          if (flashvarsObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries
           if (typeof par.flashvars != UNDEF) {
            par.flashvars += "&" + i + "=" + flashvarsObj[i];
           else {
            par.flashvars = i + "=" + flashvarsObj[i];
        addDomLoadEvent(function() {
         createSWF(att, par, replaceElemIdStr);
         if (att.id == replaceElemIdStr) {
          setVisibility(replaceElemIdStr, true);
       else if (xiSwfUrlStr && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) {
        setVisibility(replaceElemIdStr, false);
        addDomLoadEvent(function() {
         var regObj = {};
         regObj.id = regObj.altContentId = replaceElemIdStr;
         regObj.width = widthStr;
         regObj.height = heightStr;
         regObj.expressInstall = xiSwfUrlStr;
         showExpressInstall(regObj);
      getFlashPlayerVersion: function() {
       return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
      hasFlashPlayerVersion:hasPlayerVersion,
      createSWF: function(attObj, parObj, replaceElemIdStr) {
       if (ua.w3cdom && isDomLoaded) {
        return createSWF(attObj, parObj, replaceElemIdStr);
       else {
        return undefined;
      createCSS: function(sel, decl) {
       if (ua.w3cdom) {
        createCSS(sel, decl);
      addDomLoadEvent:addDomLoadEvent,
      addLoadEvent:addLoadEvent,
      getQueryParamValue: function(param) {
       var q = doc.location.search || doc.location.hash;
       if (param == null) {
        return q;
        if(q) {
        var pairs = q.substring(1).split("&");
        for (var i = 0; i < pairs.length; i++) {
         if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
          return pairs[i].substring((pairs[i].indexOf("=") + 1));
       return "";
      // For internal usage only
      expressInstallCallback: function() {
       if (isExpressInstallActive && storedAltContent) {
        var obj = getElementById(EXPRESS_INSTALL_ID);
        if (obj) {
         obj.parentNode.replaceChild(storedAltContent, obj);
         if (storedAltContentId) {
          setVisibility(storedAltContentId, true);
          if (ua.ie && ua.win) {
           storedAltContent.style.display = "block";
         storedAltContent = null;
         storedAltContentId = null;
         isExpressInstallActive = false;
    Can someone please help!  I've looked and tried prety much everything.  If you can provide a solution I would GREATLY apreciate it!

    There is no Flash player version 15... as in your code:
    <param name="swfversion" value="15.0.0.0" />
    For some reason Adobe thought it would be a good idea to target a Flash player version (15) as default.....which may be out a couple years in the future. Go figure!!!
    If you don't like player version 9, change to 10 or 11.... just not 15 (yet).
    Best wishes,
    Adninjastrator

  • How to Upload without creating a "Site"?

    Hi, is it possible to upload a page to my server using FTP without creating a "site"?
    For example: I created an .htlm page on my desktop named "Site Maintenance" to use when my site is down. This page is not part of a "Site".
    I connected to the server using FTP and I just want to be able to "Drag" the page into the "Remote Sites" panel but how do I do this?
    When I have a "Site" created, I click the small icon called "Expand to show Local and Remote Sites" and it opens the Local and Remote sites window, but is there a way to open the "Remote Sites" window so I can upload a single page? Thanks.

    Thanks for the replies. I guess I did not ask the question correctly so I will try to explain it better.
    What if I want to use the FTP client inside of Dreamweaver to just connect to my server. I can connect to the FTP (see image) but how can I drag a folder from my desktop into the server using Dreamweaver?
    I have downloaded a folder and I need to add it to my blog which is only on my server. I do not have a Dreamweaver site. Surely Dreamweaver isn't that archaic that you can't upload a file or folder to a server without having to create a site first. It was so much easier in GoLive.

  • Javascript/CSS - creating a site index

    I've been asked to create a site index for the intranet.
    The idea is that the main sections are show on the first
    page, then when clicking on a section the subsections for that
    entry will be displayed (i.e. the section will expand to show all
    the subsections).
    I'm told that it will "require CSS or JavaScript t, using a
    hide / show implementation - the CSS will hide & show the
    <DIV> tags that will create this affect".
    Could anyone help me with this - I am inexperienced with
    Javascript and CSS!!
    Many thanks!

    Hi JaneXYZ. From what you say it sounds like all you need to
    do is provide good ol' fashoined DMTL drop down text. Your first
    section could be typed into your topic. Add drop down text to
    display the second level. You can use the project's .CSS file to
    display the text as you like.

  • Creating a site for mobile devices

    Good morning,
    I have a number of questions relating to the creation of a
    site for mobile devices. My client has given me the assignment to
    re-design his current website, and to also create a sub-site
    suitable for mobiles. I have spent a number of hours looking around
    on the Internet and trying to gain a better understanding of these
    issues. Still, a number of questions remain. if you can give me any
    additional understanding, that would be great.
    Question 1:
    Is my understanding correct: I basically need to create two
    sites, one for the wide-screen browser, and one for the mobile
    browser? I can direct visitors to the mobile site using a CSS or
    javascript link - if their browser identifies them as a mobile
    browser?
    Question 2
    Mobile devices come in all sorts of shapes and sizes and
    versions. PDA\s and iPhone's have different screensizes and
    resolutions that smart--phones, which in turn are different again
    from older and simpler phones. Should I design a site for a number
    of different types of phones? That would a huge amount of work...
    Question 3
    I also own Device Central, an App which I should think is
    very useful in this situation. But I fail to understand it! OK, so
    I can see what my photo or website or flash file looks like on my
    Nokia N73 - but I am not designing specifically for that phone. I
    also want my design to look good on all the other phones! My client
    needs a website that is not tailored to one phone, but to all
    phones.
    Question 4
    And why does Device Central not have profiles for the iPhone?
    I would think it is popular enough to warrant its own profile... (I
    post this from the Netherlands, where the iPhone is not carried
    yet, and so I have only ever held one in my hand). Is this because
    the iphone can see regular sites just fine?
    Question 5
    How does Dreamweaver help me build a mobile site?
    Question 6
    My client wants to show video on his website. In fact, that's
    what this website is all about: showing sports-videos from high
    profile sporting events. Which video-formats are most suitable?
    Question 7
    Do all mobile phones support flash? Or only a few? Or none?
    It seems to me that a flash website would allow for more creativity
    in the design.
    Thanks for any help you can give. Any resources you could
    point me to are also very welcome...
    Sincerely,
    Rogier Bos
    Rotterdam, The Netherlands

    Macnimation wrote:
    > Hi,
    >
    > I'm experimenting with creating a small site off a
    standard site, for mobile
    > phone/devices.
    >
    > Basically, I want to load a basic list page, which has
    links to pages that
    > will display and run flash movies.
    >
    > The flash movies, in FLV format are already at 640 x 480
    which run fine in the
    > main site.
    >
    > Is it simply to resize the movies to fit the mobile
    content size , or will
    > they "auto" resize?
    >
    > Do I have to chnage the webserver configuration in
    anyway, its a standard IIS
    > site at the moment, but MySQL with apache is also an
    option.
    >
    > Would standard html do or would the pages have to be
    done using xhtml or wml?
    >
    > I would like if possible to get this infomration first
    before starting it, so
    > I can possibly reduce delays.
    >
    > Any help or pointers to tutorials would be grateful
    >
    I'd like to check out the PDA scene some day soon, too. In
    the meantime,
    there's a recent discussion of this topic here:
    http://www.sitepoint.com/forums/showthread.php?p=3288343#post3288343
    www.geobop.org - Family Websites
    www.invisible-republic.org - Adult political websites (Mature
    adults only)

  • Error creating new Site in Sharepoint 2013 SP1

    Hello, I am having an issue creating a new Site. The Environment is SharePoint 2013 SP1 Running on Server 2012 R2 DataCenter. This is a fresh install currently running on 2 Servers (App/Web, SQL Server). I successfully install SharePoint and then the Service
    pack, then run configuration to setup the Farm. I successfully am able to setup a Web Application and Create a site collection. When I attempt to navigate to that site collection site on port 80 I get the "Sorry, Something went wrong"
    Below is the ULS associated with the Correlation ID I was given in ULS Viewer.
    05/15/2014 14:49:29.57  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://oirwinspvwa08:80/)). Parent No 
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://oirwinspvwa08:80/) b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Micro Trace                    uls4 Medium   Micro Trace Tags: 0 nasq b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x139C SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://oirwinspvwa08:80/)). Execution Time=5.82092137408525 b839919c-2676-40cf-8b9a-b4892444c98a
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Monitoring                     nasq Medium   Entering monitored scope (Request (GET:http://oirwinspvwa08:80/)). Parent No 
    05/15/2014 14:49:29.58  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (GET:http://oirwinspvwa08:80/) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Claims Authentication          ad5sw Unexpected Failed to create instance of cookie value handler type 'Microsoft.SharePoint.IdentityModel.SPSessionSecurityTokenCookieValue'. b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Claims Authentication          ad5su Unexpected Token Cache: Could not get cookie value handler. b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Authentication Authorization   agb9s Medium   Non-OAuth request. IsAuthenticated=True, UserIdentityName=, ClaimsCount=0 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8nca Medium   Application error when access /, Error=Exception of type 'System.ArgumentException'
    was thrown.  Parameter name: encodedValue   at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea) ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8nca Medium   ...    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Runtime                        tkau Unexpected System.ArgumentException: Exception of type 'System.ArgumentException' was thrown. 
    Parameter name: encodedValue    at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea)     at Syste... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.60* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Runtime                        tkau Unexpected ...m.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ajlz0 High     Getting Error Message for Exception System.ArgumentException: Exception
    of type 'System.ArgumentException' was thrown.  Parameter name: encodedValue     at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.DecodeClaimFromFormsSuffix(String encodedValue)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(IClaimsIdentity
    claimsIdentity, String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedIdentityClaimSuffix)     at Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext
    context, String encodedUrl, NameValueCollection headers)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Objec... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ajlz0 High     ...t oSender, EventArgs ea)     at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.61  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aat87 Monitorable   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.GetPageListId: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPContext.get_ListId()     at Microsoft.SharePoint.SPContext.get_List()     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page
    page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion,
    String ctag)     at Micros... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...oft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control
    ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String
    strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Boolean localizable, Boolean defer, Boolean loadAfterUI, String language,
    Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer,
    Boolean loadAfterUI, String language, String uiVersion, String ctag)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Co... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ntrol.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath,
    String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoint.Utiliti... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...es.SPUtility.TransferToErrorPage(String message, String linkText, String
    linkUrl)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object
    oSender, EventArgs ea)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(Int... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Ptr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData,
    Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntP... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...tr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_WebTemplateConfiguration()     at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page
    page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration,
    Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion,
    String ctag)     ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...at Microsoft.SharePoint.WebControls.ScriptLink.Register(String uiVersion,
    Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)     at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String
    strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, Stri... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ng name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String
    language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)     at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean
    defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)     at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
    at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()    
    at System.Web.UI.Control.LoadRecursive()     at System.... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath,
    String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)    
    at Microsoft.SharePoin... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...t.Utilities.SPUtility.TransferToErrorPage(String message, String linkText,
    String linkUrl)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object
    oSender, EventArgs ea)     at System.EventHandler.Invoke(Object sender, EventArgs e)     at System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception
    error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationH... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...elper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr
    moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr
    pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestCont... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.64* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...ext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Database                       ahjqp High     [Forced due to logging gap, cached @ 05/15/2014 14:49:29.69, Original
    Level: Verbose] SQL connection time: 16.3469798535847 for Data Source=OIRWINSPVWD09;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Pooling=True;Min Pool Size=0;Max Pool Size=100;Connect Timeout=15;Application Name=SharePoint[w3wp][2][SharePoint_Config] b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()     at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter
    writer)     at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.P... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...rocessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler
    handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter
    writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
    at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
    at System.Ev... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...entHandler.Invoke(Object sender, EventArgs e)     at
    System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback
    cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, Requ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.72* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...estNotificationStatus& notificationStatus)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        8e2s Medium   Unknown SPRequest error occurred. More information: 0x80070005 b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        aix9j High     SPRequest.OpenWeb: UserPrincipalName=, AppPrincipalName= ,bstrUrl=http://oirwinspvwa08/ b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT:
    0x80070005 (E_ACCESSDENIED)), StackTrace:    at Microsoft.SharePoint.SPWeb.InitWeb()     at Microsoft.SharePoint.SPWeb.get_EnableMinimalDownload()     at Microsoft.SharePoint.WebControls.DeltaPage.RenderToBase(HtmlTextWriter
    writer)     at Microsoft.SharePoint.WebControls.DeltaPage.Render(HtmlTextWriter writer)     at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)     at System.Web.UI.Page.ProcessRequestMain(Boolean
    includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()    
    at System.Web.UI.Page.P... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...rocessRequest(HttpContext context)     at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler
    handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)     at System.Web.HttpServerUtility.Execute(String path, TextWriter
    writer, Boolean preserveForm)     at System.Web.HttpServerUtility.Transfer(String path)     at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
    at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)     at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
    at System.Ev... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...entHandler.Invoke(Object sender, EventArgs e)     at
    System.Web.HttpApplication.RaiseOnError()     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback
    cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, Requ... b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74* w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     General                        ai1wu Medium   ...estNotificationStatus& notificationStatus)    
    at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
    nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Micro Trace                    uls4 Medium   Micro Trace Tags: 0 nasq,8 ad5sw,0 ad5su,3 agb9s,9 8nca,0 tkau,0 ajlz0,41 aat87,0 aix9j,1 ai1wu,0
    aix9j,0 ai1wu,79 aix9j,0 ai1wu,0 aix9j,0 ai1wu b839919c-2677-40cf-8b9a-bacf488ec831
    05/15/2014 14:49:29.74  w3wp.exe (0x11EC)                        0x09E4 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (GET:http://oirwinspvwa08:80/)). Execution Time=155.111054617277 b839919c-2677-40cf-8b9a-bacf488ec831
    I am sure above tells me exactly what is wrong, but I can't decipher it, so I can forward the info to the correct team to fix (we are a very departmentalized organization). I have already completely deleted both servers in the farm and recreated from scratch
    and I get the same error, even tried a 3rd time to remove SP and download the latest patches again.
    Can anyone help?
    Kevin

    did you
    configure the object cache on the web app?
    also do you have user profile services configured, if yes then web App's app pool should have permission on UPA.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • 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

  • Create a site collection with dedicated content db with the help of server object model

    Hi,
     I have a requirement to implement a create a new site collection with dedicated content db. i have got 2 PowerShell scripts which does the same. first i will  create a content  db and then create the sitecollection with contentdb
    parameter with the created contentdb name.
    Now the site collection created must contain few doc libs and few splists with look up columns, people picker data type, multiline of text, single line of text,choice field. hence i am thinking the below approach:
     1) create a web template and include sp doclibs, splists , site columns in this.
     2) i am thinking of a ui design to create the below:
     These are called "projects" which is actually the site collection with the doclibs, splists and must be created by sharepoint admin on click of a link in my landing page.end users access these "projects"  aka 
    "site collections" and uploads the documents into these projects and collaborate.
    so my question is :  On click of a button can I create a site collection with a dedicated content db based on the web template created with the  hel of  server  object model?
    The other approach is on click of this button call the power shell script which accepts the sitecollection name and contentdb name as parameter. is this possible in  server obj.model ?
    passing a paramter from code behind- visual web part ui to power shell ?
    and it should create the site collec based on the web template and create the content db.
    my doubt #3 : will it not throw error "request timed out" when creating the site collec and contentdb from ui ?

    Try below:
    http://sharepoint.stackexchange.com/questions/21606/programmatically-create-a-site-collection-in-an-existing-mounted-content-databa
    PowerShell is just a wrapper for the object model. You shouldn't need to reference PowerShell in your feature, just create the new site collection with C# inside your feature. There's a blog post here that illustrates some code that may get you started.
    http://blog.mastykarz.nl/programmatically-creating-sites-site-collections-custom-web-template/
    http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
    # Enable the remote site collection creation for on-prem in web application level
    # If this is not done, unknon object exception is raised by the CSOM code
    $WebApplicationUrl = http://dev.contoso.com
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null)
    Write-Host "Loading SharePoint Powershell Snapin"
    Add-PSSnapin "Microsoft.SharePoint.Powershell"
    $webapp=Get-SPWebApplication $WebApplicationUrl
    $newProxyLibrary = New-Object "Microsoft.SharePoint.Administration.SPClientCallableProxyLibrary"
    $newProxyLibrary.AssemblyName = "Microsoft.Online.SharePoint.Dedicated.TenantAdmin.ServerStub, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    $newProxyLibrary.SupportAppAuthentication = $true
    $webapp.ClientCallableSettings.ProxyLibraries.Add($newProxyLibrary)
    $webapp.Update()
    Write-Host "Successfully added TenantAdmin ServerStub to ClientCallableProxyLibrary."
    # Reset the memory of the web application
    Write-Host "IISReset..."
    Restart-Service W3SVC,WAS -force
    Write-Host "IISReset complete."
    If this helped you resolve your issue, please mark it Answered

  • Create a site utilization report for SharePoint Site with these conditions

    HI,
    How do we create a site utilization report for a SharePoint 2007 site. I want to include the following conditions in the report
    a) The list of users who are accessing the site
    b) The list of users who have not accessed the site ( Can we do some filtration based on some conditions )
    c) When was the last date the user has accessed the site

    Hi Kalpana,
    Sorry for delay in reply. I don't think this can be possible from front end without involving SQL dbo users table. If you found any other alternate please share here.
    You can get site collection / sub site user details via
    SP user manager tool and for last access date - time you can use SharePoint object model. - ref : http://blogs.msdn.com/b/varun_malhotra/archive/2010/05/12/moss-2007-get-last-accessed-date-for-a-site.aspx
    Let us know if this helps
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • Unable to create sub site after setting up site subscription in Sharepoint Foundation 2013

    Hi, All,
    I have set up sit subscription in to the sharepoint. I have a Site collection which is assign to specific tenant group. I have assign sevral custom features to the tenant group. What happening now is, when I am creating a sub site, it throws an error that
    specific feature(e.g CustomList feature) is not available. So I added that feature definition to tenant group. Again I tried to create sub site. Now it shows error that specific feature(this time it shows AnnouncementList feature) is not available. So I added
    that feature too. Now its showing me these kinds of error continuously.
    So what required is I need to add all the default features to my tenant group. Do you have idea how can I add those feature by single command instead of I add it to the tenant group one by one ?
    Thanks.
    Your help is appreciated.

    You can use Powershell to create a Feature Pack that will add multiple features to a tenant group.  Here's one for the default Foundation Features.
    http://gallery.technet.microsoft.com/office/SharePoint-2013-Foundation-d3d1637f
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • DW CS5 "Get" bug in expanded site files view

    Hi,
    I just installed the CS5 Design Premium trial and have been playing with Dreamweaver. Just wondering if anyone else is experiencing the following issue...
    When in expanded site files view (showing both local and remote), selecting a file on the REMOTE site and trying to "Get" the file does not download the remote file. It instead tries to retrieve the remote copy of the file(s) selected in the LOCAL file list pane.
    If no file is selected on the local file list, pressing "Get" after selecting a REMOTE file from the list brings up the "Are you sure you wish to get the entire site" dialog.
    Steps to reproduce:
    1. Open expanded site files view (local and remote)
    2. Click on a file in the remote file list. For testing purposes, click on a file in the LOCAL list first, then select a remote file
    3. Click the Get button or right click on the remote file and choose Get.
    DW should download the selected REMOTE file if that was the last selected file prior to executing the Get command. (this is the action that DW CS3/CS4 does)
    I have submitted this bug in the official Adobe bug reporting system, but I'm curious as to whether others can reproduce this bug.
    Thanks

    @Murray, I think I have discovered exactly where the bug lies and how you may be able to reproduce it yourself...
    @quantumlight - do you happen to have your Site Files panel UNDOCKED and in its own floating panel??
    I work with Dreamweaver on a dual/multi monitor setup. I have my split design/code view on one screen, and the site files and code inspector on a DETACHED Files panel on the 2nd monitor.
    I did a full DW prefences reset and everything went back to the factory setting, with the Files panel docked to the right hand side of the DW program window. With it docked, I opened the expanded/split site files view and IT WORKED NORMALLY as is expected.
    However, as soon as I UNDOCKED the Files panel into its own floating panel and expanded the file view, the bug appeared and selecting a REMOTE FILE and pressing Get, asked to either download a copy of the selected LOCAL file, or if no local file is selected it asks "Are you sure you want to get the entire site"
    Redocking the Files panel back to its original position makes the bug disappear.
    I have tested this on two Windows 7 machines and one Mac Snow Leopard machine, both with the CS5 11.0.2 updates installed.
    It seems it's a Windows version only bug as both Win7 machines produced the bug, with the Mac machine NOT presenting the bug in either docked or floating panel state.
    Hopefully the Adobe DW guys see this soon and can work on fixing this bug in the next update.
    Do you think i should re-submit my previous bug report with this updated discovery?

  • Please! can anyone tell me if after I create a site with adobe muse, is there anyway for my client t

    Please! can anyone tell me if after I create a site with adobe muse, is there anyway for my client to edit and update text and to a lesser extent images on the website?
    I don't care if the client text/image editing and updating doesn't update in my Adobe Muse, as long as my client can update the text online.
    Please help me answer this question, I have used adobe for decades (2) and am a print designer. I want to use Muse for websites but if my clients can't update text and images, I don't see how I can make it work.
    If I have to use Business Catalist too; I don't care. I just want to be able to use this great software.
    Sorry if I soud desperate but I'm holding on starting a website for a new client and need to get this answered first.

    At the moment you can't using Muse's widgets, though you can insert html! So, you could have photo galleries linked to flickr that the client can update to, for example. I'm sure there are other options for slicker slideshows that can be updated client side!
    For text, I'm too much of a novice, unless you were wanting a blog style: http://www.muse-themes.com/blogs/news/7257782-creating-a-blog-in-adobe-muse-powered-by-nab ble
    Basically, I think you need to find the right html to embed for your purposes

  • I have created my site with Muse and have uploaded to an external ftp hosting, now my secure log in will not work because I am not using BC. Is there a way to create a secure log in that will work with out being forced to use BC?

    I have created my site with Muse and have uploaded to an external ftp hosting, now my secure log in will not work because I am not using BC. Is there a way to create a secure log in that will work with out being forced to use BC?

    Hi
    Secure Zone login feature will only work if you host your website with Business catalyst.
    Please take a look to this as an alternative
    Password Protect Pages Widget for Adobe Muse
    Also, check this thread,
    Re: Can I create a login/password protection in Muse for a HTML5 page or two?

  • Is there a way to create a site map of all RoboHelp topics in a published project?

    My company uses an external search of our published RoboHelp options (as well as the internal; the external search covers all projects instead of a single one). We're looking to change search programs, but according to our web developer a lot of searches have issues finding the topics inside the published projects because of the way it links to topics using Javascript.
    I think I know the answer to this question, considering it hasn't come up in any of my searches, but in case I need a second cup of coffee -- is there a site map or listing of links within a RoboHelp project that includes all the topics? Alternately, does anyone know of a service or program that can easily create a site map from a RH project? For reference, we're using RoboHelp 9.
    Thanks!

    Look in Tools > Reports.
    Some can be saved as files. Others you can copy and paste into a text file.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How can I create a custom feature, which will automatically take a custom master page while creating a site ?

    Hello ,
    I am new in Sharepoint development . I am trying to create a Sharepoint feature to Activate master page automatically while creating the site .Below mentioned code I am using to do this . 
    But When I am creating any site under site collection .It is not applying automatically . I have to manually Activate that feature . 
    SPSite site = properties.Feature.Parent as SPSite;
    SPWeb rootWeb = site.RootWeb;
    Uri masterUri = new Uri(rootWeb.Url + "/_catalogs/masterpage/mycustom.master");
    rootWeb.MasterUrl = masterUri.AbsolutePath;
    rootWeb.CustomMasterUrl = masterUri.AbsolutePath;
    rootWeb.Update();
    How Can I create a feature that can activate the master page at same time of site creation under Site collection ,Without any manual work .. 
    Thanks in Advance .. 

    Hi,
    You can associate master page during feature activation as follows:
    http://social.technet.microsoft.com/wiki/contents/articles/19933.sharepoint-2010-set-a-custom-master-page-during-feature-activation.aspx
    Then, you can use feature stapling to apply automatically on site creation:
    http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint-2010.aspx
    Thanks,
    Avni Bhatt

Maybe you are looking for

  • Albums not showing up in column browser

    I am using itunes 11.0.1.12.  Along the top, I have the "songs" tab checked.  Then underneath I have "genres", "artists", and "albums" in the column browser.  When I go to "rock" in genres, then "Beatles" in artists, I only have 1 album (Sgt Pepper)

  • Setting focus to a JTextArea using tab

    Hi, I have a JPanel with a lot of controls on it. When I press tab I want to move focus to the next focusable component. This works fine for JTextFields, but when the next component is a JTextArea in a JScrollPane then I have to press tab 3 times to

  • Integrating third party system with solution manger

    Dear All, How we can do integration between third patrty system and solution manager. As part of our implementation we have got some other application to be integrated with SAP . We have got ECC 6.0 and Solution manager.Can any one guide me how to do

  • Disabling the border on JTable cell renderer

    Hello all I've developed a JTable that doesn't allow cell editing and only allows single-row selection. It works fine, I've allowed the user to press <tab> to select the next row or click the mouse to select any row. The row selected is high-lighted

  • Is it possible to preview images in the files panel?

    sorry in advance for what probably is a dumb question with a simple solution. i realize i can preview images in the assets panel-- but is it possible to preview image files while in the files panel instead? i have a lot of images organized within fol