Web Forms :: Can Use 1 Sitemap For Two Different Websites

Feb 24, 2011

I took over my company's website and I'm reordering the layout and colors. I can't change the structure of the websites. It's one website but it has two different parts. A static part sits on one server and the part the users login is on another server.

What I would like to know is if can use one sitemap for both so I don't have to maintain two. I also want to generate a site map dynamically and I can't do that with two different sitemaps.

View 1 Replies


Similar Messages:

Web Forms :: Parser Error Message - XML Sitemap Config File Web.sitemap Could Not Be Loaded

May 11, 2010

We are getting this error message when we try to click the link in the menu to go to Report Server:

Source Error:
Line 31: <siteMapNode title="Reports" description="Reports">
Line 32:
Line 33: <siteMapNode url="https://ffxsqldgc01.ffx.co.fairfax.va.us/Reports/Pages/Folder.aspx?ItemPath=%2fDPZ&ViewMode=List" title="View Reports"
description="Click here to view the reports" />
Line 34: </siteMapNode>
Line 35:

I tried to add after the &, as it was suggested on one of the forum but it did not work. Any other ideas.

View 5 Replies

Configuration :: Use To Copy/publish Websites To Web Server Is Not Allowing Us Access To Push Websites?

Oct 15, 2010

the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the below link, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there. http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31be047e-4716-4974-b8a1-be0111b50199 I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.

View 3 Replies

Sitemap Randomly Breaks Over Time / Could Not Find The Sitemap Node With URL '~/Default.aspx'

Aug 2, 2010

I've been having some production runtime errors that I don't fully understand. This has happened to us on a couple different ASP.NET 4.0 Web Sites (shudders - yes, I know - we're porting it to MVC but that's taking some time).

First of all, we have never been able to reproduce this issue in development/QA environments. Secondly, upon deployment, the issue seems to be non-existent. Sometimes the issue manifests within a day or two of deployment and other times the deployment will be live for a month without it manifesting at all. However, once it manifests, then ANY page viewed under the web site causes the error. Lastly, this problem seemed to only come up once we migrated to .NET 4.0. We started at 2.0, a year ago upped to 3.5, and recently upped to 4.0 with this solution and most child projects.

The error:

Could not find the sitemap node with URL '~/Default.aspx'.

A simplified version of our sitemap (with some names changed and uninteresting nodes removed) is as follows:

<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0">
<siteMapNode roles="*" title="EG">
<siteMapNode url="~/../SM/Default.aspx" title="Welcome" description="" roles="*" />
<siteMapNode url="~/../SD/Default.aspx" title="SD" description="" roles="*" />
<siteMapNode url="~/../SMD/Default.aspx" title="SMD" description="" roles="*" />

[code]...

I have confirmed in all of the SiteMaps that there is a node with url="~/Default.aspx" with roles="*" (which includes public/anonymous access), so I am very confused as to why this problem occurs.

SiteMap does not have a node for Default.aspx. All of them do. SiteMap's Default.aspx node is not accessible for security reasons to the current user/role. They're all accessible to anonymous users and this problem even exists for super admin users. Passed-in URL contains querystrings (Default.aspx?abcd). I don't know if this is a problem (I sure would hope not) but once the problem manifests itself, I can handwrite the URL with no querystrings and the problem still exists.

SiteMap changes. It doesn't Service's permissions to the sitemap file. The sitemap works perfectly fine after a deployment, so unless permissions are changed in a way that IISRESET fixes, then this is not an issue. The worker process becomes globally corrupt. I don't think so. We have ~12 web sites all in the same app pool and the problem always stays confined within a single web site. Also, we have yet to have this happen to more than a single web site at a time although it has manifested itself in 4 different ones so far.

View 1 Replies

SiteMap Change SiteMapProvider / Create Multiple Web.sitemap Files?

Jan 25, 2011

I've got a custom menu navigation built from a web.sitemap file, the first line of this would be something like:

SiteMapNodeCollection topLevelNodes = SiteMap.RootNode.ChildNodes;

However, now I want to be able to create multiple web.sitemap files, and then programmatically determine which web.sitemap file to use, but I can't seem to find out how to do this. I'm assuming I could either create one custom SiteMapProvider that can perform the logic to determine which web.sitemap file to load, or I have multiple providers, each one with the SiteMapFile property set to a specific *.sitemap file, and then switch providers programmatically before I access SiteMap.RootNode.

View 2 Replies

Web Forms :: Programmatically Reference .sitemap File That Isn't The Root Web.sitemap File?

Nov 4, 2010

How would I programatically reference a .sitemap file that is not the root web.sitemap file? I have a file called research.sitemap in a folder a level under root. I want to refernce this file in my code behind like his: SiteMapNode m1 = SiteMap.RootNode (but since this isnt web.sitemap in the root, I dont know how to get access to it).

View 1 Replies

Web Forms :: Sitemap Node - Seond Line Of Sitemap Node Won't Indent?

Mar 25, 2010

I have a second level node that goes onto two lines. The first line indents 15px as is set by the class for node level 2. The seond line kicks back to the same level as 1st level nodes. Here's what I mean:

Parent Node

Second node

line 2 of second node

I want it to be like this:

Parent Node

Second Node

line 2 of second node

View 4 Replies

C# - How To Get The Name Of Sitemap File From Sitemap Provider

Oct 6, 2010

I am creating a CacheDependency on the file that my SiteMap provider uses. I would like to get the name of the file from my sitemap provider instead of hard coding it. Is there a way?

Edit

Duh, I forgot to mention: XmlSiteMapProvider that comes with ASP.NET

Edit 2

Reflector shows a private member field called _filename that isn't exposed in any way as far as I can tell.

View 1 Replies

Web Forms :: Run Two Websites On Single Url?

Dec 2, 2010

i hv say two website web1 and web2 both hv diff appdata and style sheet,webconfig.how can host this on single url with username and password. suppose for rajeev it redirect to web1 and for ravi redirect to web2.Is it possible todo this kind of thing. India mart did this on their websites. they have various links in thier website. suppose for website web1 they have the [URL] and so on.

View 11 Replies

Web Forms :: Browsing Other Websites In ASP Application

Dec 2, 2010

In my present project I have to open one site through my asp.net application and this site I have to control. And after that if we close the site the application master page should display. How I can accomplish the requirement .Any ideas will be very useful for me to start thinking on those lines.

View 3 Replies

Web Forms :: Redirect To Other Websites From Mysite?

Sep 29, 2010

i have my website . website.com and having webpage need to enter general details like where to travel, dates of travel, no of adults and childrens like the way we found when we book a hotel or flight in any of websites like hotels.com and expedia.com ...etc

what i need is, when the user enter the those details in my webpage, i want to navigate them to the hotels.com, expedia.com and others with list of all the required information

for hotels i can pass the parameters in querystring and for others like expedia.com i am unable to do that, they are posting the values.

let me tell onething. when we are booking a flight in one website say cheaptickets.com , there we find option like COMPARE TICKETS WITH other site. there how it is sending those details to different websites showing list of differet sites.

View 1 Replies

Web Forms :: Detecting Content Changes On Websites?

Nov 12, 2010

As per the requirement of my client I would like to create an application which detects content changes on the websites we provide. Like we will have an admin section where we add the websites we want to keep a track of. And on the other side it tell us of any new content on those websites. The websites will be kind of general news website and won't have RSS feeds. I would like to know if there is any way to do something like this. Any ideas are welcome. I would like to know just the logic how to create such a thing.

View 5 Replies

Web Forms :: How To Design Responsive Websites

Sep 25, 2013

my cilents asking for responsive designs means if i open the website in mobile means mobile version of website has to display and it as for tablets

View 1 Replies

Web Forms :: Insert Weather Information Into Websites?

May 4, 2010

how can i insert weather information panel into my asp.net web site?

View 1 Replies

Web Forms :: Designing Professional Websites - Particular Tips?

Feb 16, 2010

Web Page Design is a very important stage while developing an asp.net project as it will create the look and feel of the site. So I want to be careful in this stage. Could you give me some practical tips for designing professional looking website? Or Is there any website that offers free Master Page design templates? I am going to develop a new web application for my company. So I want to provide a good looking, easy to navigate and consistent web application to them. Thanks in advance to all who reply.

View 2 Replies

Web Forms :: Trying To Create Websites Dynamically According To Some Htm Templates?

Jan 25, 2010

m trying to create websites dynamically according to some htm templates.So far so good, I can read the html using the "System.Net.WebRequest" methods.Now I want to load from such templates some usercontrols... explain it:HTML-template look like this:

[Code]....

"%UC1%" and "%UC2%" would be place holder for some usercontrols..UC1:

[Code]....

Now, I want that some .aspx page reads the html template (this is done) and replace the found placeholders (eg: %UC1%) with corresponding UserControl.

View 2 Replies

Web Forms :: Upload A File Automatically In Websites?

Sep 22, 2010

Can we upload a file automatically in websites? I mean,I have a website where a default log folder is there and I will to upload automatically the log file present in the folder.

View 2 Replies

Web Forms :: Creating Applications That Can Be Embedded In Websites?

Oct 24, 2010

I am staring a new site that would provide simple gadgets that can be embedded into any site for easy use. i am developing my application in .net,vs2008 ,c# . but i have no idea about developing applications that can be embedded.

View 3 Replies

Web Forms :: Display RSS Feed From Other Websites Into Our Website

Feb 27, 2013

Is this possible to add RSS Feed in our website, which will display all updates and events happening in other companies..

View 1 Replies

Web Forms :: Create A Filter Like Online Shopping Websites

May 7, 2015

How I can filter like [URL]..... which Control they use?

View 1 Replies

Web Forms :: Optimize Websites Load Page Time

Oct 18, 2013

How I can optimize my website's  load page time?

View 1 Replies

Web Forms :: How To Zoom Image On Mouse Over Like Shopping Websites

May 7, 2015

how to zoom image in side like in shopping sitewhen we put mouse over the particular portion of of image,that portion zooms in the side.how to do this with simple codes?

View 1 Replies

Web Forms :: Call One From 2 Web.sitemap On Web App?

Nov 9, 2010

I have a website, on the root i have web.sitemap that works fine for the web users, i have an admin area that is in a sub folder, ths second we.sitemap is on this sub folder how can i call this one ?

View 3 Replies

Web Forms :: Page Url In Web.sitemap

Feb 16, 2010

Im using url rewriting and i want to use web.sitemap, so how can give the url of page since it virtual?

View 2 Replies

Web Forms :: Sitemap - Same URL For More Than One Sitemapnode?

Jul 28, 2010

i created a web.sitemap file where I have listed the following:

[Code]....

I need to set some values before the menu item navigates to the page. I'd like to use the same aspx page for more than one menu item and I'd like to avoid the use of querystrings in my code. However, I realize that it's not possible to set the same url in the web.sitemap file. If I don't specify a url, the menu item created is not click-able.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved