.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SharePoint Link list: After moving to prod, links still point to dev server

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Hi all,

I have to move my dev site at http://localhost/sites/dev/ to the live environment at http://localhost/sites/live/.

On Dev server I have a lot of Link Lists with links pointing within the site.

******* Even if I enter a relative URL in Link lists, they are automatically converted to absolute URLs. I.e. /Lists/Overview will automatically be converted to http://localhost/sites/dev/Lists/Overview. ************

Now when I save site as template and move to to http://localhost/sites/live, the links in link lists still point to the dev server URLs (e.g. http://localhost/sites/dev/some page.aspx).

I read somewhere that saving site as site template and then moving to live server will automatically change links. This obviously doesn't seem to work for me.

Any help will be appreciated on how to migrate so that all links point to live site.

Thanks in advance.

View Complete Post

More Related Resource Links

Creating List Definitions with Custom List Columns for SharePoint Server 2007

Learn to use Visual Studio 2008 Extensions for Windows SharePoint Services to create a SharePoint list definition that implements custom list columns.

Importing SharePoint List Data into Project Server 2007 Custom Fields

Learn how to use the programmability features of Project Server 2007 and Windows SharePoint Services 3.0 to import SharePoint list data into an enterprise custom field.

How to get rid of the (More Links.) link on lists in SharePoint 2010?

I have a list of 5 items. The view settings are set so that the Item Limit is 20. I would like the eliminate the (More Links...) link under the list when the web part is on the page. I also tried setting the Toolbar properties to No Toolbar. Any ideas? Thanks.

How to link SharePoint List with MS Access 2007 programmatically

Hi, can anybody tell me how to link SharePoint List with MS Access 2007 without opening Access environment. I want to do it programmatically through C#/VB.net doesn't matter. Your help will very much appreciated. Thank you so much! -Jarexs

Creating Lists On Share-point 2010 Server from .stp list template files using Features

Plz, let me know, how to create list on share-point 2010 server from .stp list template files using features in C#

what is the best way to move a wss 3 list to Sharepoint 2010 server?

what is the best way to move a wss 3 list to Sharepoint 2010 server? (note, the wss3 is a hosted sharepoint so we don't have access to the server o/s) tx!  ==GP Blog== http://dynamicssmallbusiness.blogspot.com/ ==Free GP Addons/Customizations/Tips== http://landiscomputer.com/offer/1010_GP_Newsletter.htm ==GP Tweets== http://twitter.com/search?q=%23dyngp#search?q=%23dyngp

Best practices on moving SharePoint databases physically, while keeping them on the same SQL server?

I'd need to move the SharePoint 2010 databases (preferably all of them) with as little hassle as possibly from one partition to another. I tried once, and ended up with a broken SharePoint and had to recover from backups. What's the best practices for moving the databases without breaking SharePoint completely in the process? I'm guessing I need to shut down the SharePoint server for this... That's not impossible if needed.

how to deploy a workflow design in SharePoint Designer 2007 in a list from development server to pro


how to deploy a workflow design in SharePoint Designer 2007 in a list from development server to production server. 

 i create a workflow in a list with SPD 2007 . I want to deploy it to production server who i can do this.

Thanks and Regards Er.Pradipta Nayak

Moving a larger Sharepoint 2007 site collection over to a new server



We have a Sharepoint 2007 site collection roughly 36 GB in size and have been having problems moving the site to a new server farm (Also 2007). We are trying the Sharepoint backup and restore method, but I understand that this method is not recommended for sites over 5GB. Has anyone moved a site of this size and how did you do it?

Thanks  Ron


Moving SharePoint Database to non trusted domain SQL server



We have SharePoint and SQL server in a extranet domain. We would like move the SQL server databases for SharePoint to our corporate SQL server (on the corporate domain). 

The Corporate domain does not trust the extranet domain, and thus the web farm account cannnot be specified on the corportare SQL instance. If it possible to migrate the databases to a non tusted domain?

I've seen the script to create a new Config database using SQL authentication

psconfig -cmd configdb -create -server <SQL server name> -database <database name> -dbuser <SQL account> -dbpassword <SQL password> -user <AD user account> -password <AD user password>

Can I edit the config of SharePoint to point to the new SQL server, or do I need to create the entire sharepoint enviromnent again and attach the content databases?

I also have a SSP database that's heavily customised for searcvhing and the BDC. Will this need recreating again or can I move the BDC database  to the new server and attach?


Where Does a SharePoint List Data stored in SQL server ?


can you please specify where will the sharepoint list data will be saved in sql server?


please throw your thoughts?


Thanks in Advance!


Share Knowledge and Spread Love!

Opening SharePoint List Attachments - HTTP 500 Internal Server Error


We are getting "HTTP 500 - internal server error" upon opening list attachments. The list attachments are added programmatically to the list item.

This doesn't happen for all the items in the list, but only for few items.

There is no error in the SharePoint logs and the event viewer.

Has anyone encountered this issue/error?

Moving Sharepoint 2007 from Virtual Server 2005 to Hyper-V


I'm a little unsure of the exact sequence to move my Sharepoint 2007 Virtual server from VS2005 to Hyper-V.  In my enviroment, my sharepoint machine and SQL machine are on 2 different boxes.  SQL 2005 is on Hyper-V and Sharepoint is on Virtual Server 2005.  Do I shutdown the SQL VM before I move Sharepoint???   Will the new VM and SQL sync back up without any help??

Also, what happens to the SQL database if the new Sharepoint VM (on Hyper-V) has issues or problems??  Does that make my SQL server

out of sync with my old Sharepoint VM???  I have done multiple moves between VS2005 and Hyper-V so I really familiar with the process.

I usually keep the old VM around for a while after moving just in case there is a problem.   I can always blow away the new VM and crank up the old.   Viola!  I'm back to square one.

Any ideas??



SharePoint 2010 Approval Workflow email is not showing link to Workflow Task list



I have created an out of box Approval workflow in SharePoint 2010. I am receiving email with below information

Task assigned by Chinna Malipedu on 10/7/2010.

Due by 1/1/0001

Approval started by Chinna Malipedu on 10/7/2010 11:43 AM
Comment: Approve



To complete this task:
1. Review SharePoint2010.
2. Perform the specific activities required for this task.
3. Use the Open this task button to mark the task as completed. (If you cannot update this task, you might not have access to it.)

But I need to go to Workflow Task List by clicking 3 item "Use the Open this Task" , this is not a link here

or I want like "Edit this task to mark the task as completed."  Edit this task should link to Task List

How to do this? do i missing any configuration?

I have successfully done the same  in MOSS 2007.                                                               Is there  any extra&n

SharePoint 2010 Foundation - Standalone - SQL Server Express 2008 R2 - Moving databases to another d


Setting up a new install who will be using SharePoint Foundation 2010 in Standalone mode. They do not have SQL SERVER 2008 so need to utilize the Standalone option and the latest version of SQL Server 2008 Express R2. They are just getting started with SharePoint and it is unknown how much the technology will be embraced to afford to purchase SQL Server at this point. I wanted to get that explanation out of the way before everyone tells me the best practice of installing in Farm mode only! I realize the best practice but sometimes we have to roll with the punches because getting a client to begin using SharePoint on their current budget is better than never getting the chance to use it at all.

So SharePoint Foundation 2010 is installed with the default SQL Server 2008 R2 Express instance. Is there a procedure for moving the databases to a new drive? What is the default instance name that is created? I'm having a hard time locating that information in the documentation. I've done this before with WSS 3.0 without issue but wondered if there were any documents on moving the newest databases and what the default instance name is. Thank you in advance.


moving sharepoint server 2007 to another domain


We are moving from our company location to another location with different network and different domain.at the first location we are using sharepoint server 2007 on windows server 2003

at the location that we are moving to,we are trying to install sharepoint server 2007 on windows server 2008,so I installed sherepoint server 2007,opened the site ,it got opened with me,took restore from the old company location,tried to restore it on the new location got error hresult ox80040e05,also when i tried to open the site ,i got error accesss denied

does moving sharepoint to different domain not on same network require more steps

Opening SharePoint List Attachments - HTTP 500 Internal Server Error

Hi All,


We are programmatically attaching documents/attachments to the list item through a web-part.

I'm using the below code to accomplish this. (Fileupload control is rendered in the webpart)

Stream inputStream = this.fileUploadCtrl.PostedFile.InputStream;

byte[] buffer = new byte[inputStream.Length];

inputStream.Read(buffer, 0, (int)inputStream.Length);



spListItem.Attachments.Add(this.fileUploadCtrl.PostedFile.FileName, buffer);



The attachments are getting added fine. But in some cases, only the file is attached but not the contents. when we click on the attached file name, we get the following error:


Has anyone encountered this issue? Any help is highly appreciated.


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend