Archive for January, 2014

January 12, 2014

Resize the virtual disk

1

you can extend the space of your existing virtual hard disk by executing the following command:

“C:\Program Files\Oracle\VirtualBox\VBoxManage.exe” modifyhd OldDisk.vdi –resize 51200

51200 MB / 1024 MB => 50 GB

previously my virtual hard drive size was 25 GB and i just extended the same to 50 GB.

Upon that login to your virtual machine and then right click “My Computer” and select “Manager”. Then “Disk Management”. You will see some new spaces added after the C or whatever the corresponding drive. Then right click the corresponding drive and select “Extend Volume”. Follow the wizard and its done.

January 7, 2014

Apps for SharePoint 2013

When I was setting up the SharePoint Apps environment in one of our client site, I have followed the below article to configure the same:

https://www.nothingbutsharepoint.com/

upong configuring the apps successfully the administrator of the SharePoint site can be able to navigate to SharePoint online store and can add the same to the site even. Even though when accessing the added SharePoint app it doesn’t display the app instead its getting crashed.

The redirection happens as below with the instance id of the SharePoint apps as below:

http://abcportal.efg.com.co/etc/_layouts/15/appredirect.aspx?instance_id=a72b7806%2Dca1a%2D41c7%2D974e%2D6f7145def00c

As the two applications (SharePoint site and the apps site) are not running under same domain, seems the IIS having problem with redirecting to the other application (SharePoint apps).

when i went through the logs was able to find the below related to the two apps added in the site:

Doing appredirect from appredirect.aspx: in site: 8308f31c-8e95-4bb2-ac5d-bfc6032efe2d with 302 redirect to: http://apps-a859967b8e5983.ETCApps.com/etc/ArtezioSPPhotoWallInstagram/Pages/Default.aspx?SPHostUrl=http%3A%2F%2Fcoeportal%2Eetc%2Eedu%2Fetc&SPLanguage=en%2DUS&SPClientTag=6&SPProductNumber=15%2E0%2E4551%2E1001&SPAppWebUrl=http%3A%2F%2Fapps%2Da859967b8e5983%2EETCApps%2Ecom%2Fetc%2FArtezioSPPhotoWallInstagram

Doing appredirect from appredirect.aspx: in site: 8be20238-f1a2-43c3-9d83-535554a7e4d0 with 302 redirect to: http://apps-a859967b8e5988.ETCApps.com/GoogleSearchApp/Pages/GoogleSearchWebpart.aspx?SPHostUrl=http%3A%2F%2Fcoeportal%2Eetc%2Eedu&SPLanguage=en%2DUS&SPClientTag=33&SPProductNumber=15%2E0%2E4551%2E1001&SPAppWebUrl=http%3A%2F%2Fapps%2Da859967b8e5988%2EETCApps%2Ecom%2FGoogleSearchApp

So finally there was a resolution to the above. the Resolution is to create a new SharePoint web application with the empty host header. Once its done the apps started to work without any further headache. 🙂

References:

http://social.technet.microsoft.com

http://absolute-sharepoint.com/