Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7525057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:13:58+00:00 2026-05-30T03:13:58+00:00

I trying to publish my app from my own PC to the server "C:\Development\MyApp"

  • 0

I trying to publish my app from my own PC to the server "C:\Development\MyApp"
Everything works fine on my PC but when I publish the application the server my MasterPage looses all the images for the header… It also has problems with tabs when I click on a tab it tells me that the path is incorrect and that Folder/File does not exist.

Here is my code from the master file I don’t see anything out of ordinary that could be causing this issue I hope you do :).

<div id="topContant" 
    style="background-image: url('/App_Themes/Sugar2006/images/Header.jpg')">
     <table cellspacing="0" cellpadding="0" border="0" 
         style="height: 80px; width: 100%;">
     <tr>
        <td height="60"  rowspan="1">
            <img alt="" class="style1" 
            src="/App_Themes/Sugar2006/images/assisted-living-concepts.gif" />
        </td>
        <td align="left" valign="top" nowrap class="style2" style="padding-right: 10px;">
            <asp:Label ID="WelcomeUser" runat="server" Text="Welcome: " ForeColor="White"></asp:Label>
            <br />
            <asp:HyperLink ID="lnkMyAccount" Text="My Account" 
                NavigateUrl="~/Users/MyAccount.aspx" style="color:White" CssClass="myAreaLink" 
                Runat="server" Font-Size="Small" />
                &nbsp;|&nbsp;
            <%
                if (CPDManagement._code.Security.IS_ADMIN) {
                %>
                <asp:HyperLink ID="lnkAdmin" Text="Admin" 
                NavigateUrl="~/Administration/default.aspx" style="color:White" 
                CssClass="myAreaLink" Runat="server" Font-Size="Small" />
                <%

                %>
                &nbsp;|&nbsp;
                <%
                }
            %>
            <asp:HyperLink ID="lnkAbout" Text="About" NavigateUrl="~/Home/About.aspx" 
                style="color:White" CssClass="myAreaLink" Runat="server" Font-Size="Small" />
                <%--<br><%= Application["CONFIG.platform_title"] %>--%>
        </td>
        </tr>
        </table>       

</div>




<div id="navcontainer"                                 
    
    style="border-style: outset; border-width: thin; background-color: #663300; height: 30px; ">                
    <ul id="navlist">
        <li runat ="server" id="Home"> <a id="current" href="/Home/Home.aspx" title="Home"><span>Home</span></a></li>
        <%--<li runat ="server" id="Tab2"> <a href="" title="Tab 2"><span>Tab 2</span></a></li>--%>
    </ul>
</div>
<div>

The its failing to display "App_Themes" and also fails to reference to href="/Home/Home.aspx" when clicked on the Home button.
I have tried placing a "~" before the "/" or removing the "~" and "/" and nothing.
Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:14:00+00:00Added an answer on May 30, 2026 at 3:14 am

    In case you need to resolve path in non-server tags, use ResolveUrl:

    <li runat ="server" id="Home"> <a id="current" href='<%= ResolveUrl("~/Home/Home.aspx") %>' title="Home"><span>Home</span></a></li>
    

    Also, if you use theming, for images consider using SkinId with asp:Image. For background images, move declarations to css under theme folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I trying to publish my app from my own PC to the server "C:\Development\MyApp"
I'm trying to publish to facebook from my program, but I'm getting: {error:{type:OAuthException,message:(#3) App
I am trying to publish scores from my app. But unfortunately I am unable
I'm trying to use FB Connect on my app, and everything works fine in
I'm trying to make my app publish to all my friend's walls. From what
I am trying to publish an event from an F# type, but I want
I am working on a ClickOnce application. I am trying to publish it from
I am trying to publish a message on my facebook wall from my application.
I'm trying to publish my app with ClickOnce to install from a Web page.
I'm trying to publish a .NET 4.0 application to a web server using Visual Studio 2010

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.