Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Install on SBS 2003 - quite the process...
Billsey
#1 Posted : Wednesday, 22 June 2011 4:36:46 PM(UTC)
Rank: Member

Joined: 22/06/2011(UTC)
Posts: 7
Location: Oregon, USA

OK, here's what I've run into so far getting it installed in the IIS 6 environment.

I configured the Gallery directory under a separate application pool. (This creates a virtual directory.)

I set that directory up for ASP.NET 4.0. (The default 1.1 didn't work, neither did 2.0)

I changed the permissions on the App_data directory to allow full access for IUSR_servername and NETWORK SERVICE.

And the installer finally ran! It went through to completion using the embedded database with only the "Attention - Cannot automatically restart" warning at the end.

After erroring out by attempting to navigate to the site I did a restart on IIS.

I got to a Gallery Server Pro cannot write to the directory ... gallery\gs\mediaobjects. Changed it's permissions to match the App_data directory.

And things seem to be working! :-)

Now all I need to do is figure out how to import pictures that are local to the server, but not on the web...
Roger Martin
#2 Posted : Wednesday, 22 June 2011 7:22:04 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Sounds like you don't like reading the Admin Guide. :-) Everything you mentioned is covered in the installation section. And advice on the best way to import lots of pictures is in there, too...
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Billsey
#3 Posted : Wednesday, 22 June 2011 8:49:33 PM(UTC)
Rank: Member

Joined: 22/06/2011(UTC)
Posts: 7
Location: Oregon, USA

Roger Martin;7385 wrote:
Sounds like you don't like reading the Admin Guide. :-) Everything you mentioned is covered in the installation section. And advice on the best way to import lots of pictures is in there, too...

You mean that 160+ page 13.5M document on the Support page? :-) Of course I didn't read it, that would have been entirely too much work... Actually, I hadn't noticed it, I just did forum searches figuring everyone else out there had gone through the process too. I'm downloading the file now on my laptop, the tablet doesn't like scrolling smoothly in Adobe Reader, so it's really tough to deal with large documents there. Every tiny swipe moves me three or four pages.

Once the download is done I'll look through it and see if I can import the pictures.
Billsey
#4 Posted : Wednesday, 22 June 2011 9:47:08 PM(UTC)
Rank: Member

Joined: 22/06/2011(UTC)
Posts: 7
Location: Oregon, USA

OK, started the import process by changing the directory in Media Objects - General then started synchronizing. After a while (I was running about 0.3 objects/sec) it errored:

Code:
Processing: Becky _ Jeffs\03 08 01 Plane to Norway\Norway 003.jpg

Error: System.ArgumentException: Property cannot be found.

HTTP Status: 500

Stack trace:

at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle) at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache) at System.Windows.Media.Imaging.BitmapDecoder.Create(Stream bitmapStream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption) at GalleryServerPro.Business.WpfMetadataExtractor.GetBitmapMetadata(String imageFilePath) at GalleryServerPro.Business.WpfMetadataExtractor.AddWpfBitmapMetadata(String imageFilePath, IGalleryObjectMetadataItemCollection metadataItems) at GalleryServerPro.Business.Metadata.MediaObjectMetadataExtractor.GetGalleryObjectMetadataItemCollection() at GalleryServerPro.Business.Image..ctor(Int32 id, IAlbum parentAlbum, String title, String hashKey, String thumbnailFilename, Int32 thumbnailWidth, Int32 thumbnailHeight, Int32 thumbnailSizeKb, String optimizedFilename, Int32 optimizedWidth, Int32 optimizedHeight, Int32 optimizedSizeKb, String originalFilename, Int32 originalWidth, Int32 originalHeight, Int32 originalSizeKb, Int32 sequence, String createdByUsername, DateTime dateAdded, String lastModifiedByUsername, DateTime dateLastModified, Boolean isPrivate, Boolean isInflated, FileInfo imageFile) at GalleryServerPro.Business.Image..ctor(FileInfo imageFile, IAlbum parentAlbum) at GalleryServerPro.Business.Factory.CreateImageInstance(FileInfo imageFile, IAlbum parentAlbum) at GalleryServerPro.Business.Factory.CreateLocalMediaObjectInstance(FileInfo mediaObjectFile, IAlbum parentAlbum) at GalleryServerPro.Business.Factory.CreateMediaObjectInstance(FileInfo mediaObjectFile, IAlbum parentAlbum, String externalHtmlSource, MimeTypeCategory mimeTypeCategory) at GalleryServerPro.Business.SynchronizationManager.CreateNewMediaObject(IAlbum album, FileInfo file) at GalleryServerPro.Business.SynchronizationManager.SynchronizeMediaObjectFiles(DirectoryInfo directory, IAlbum album) at GalleryServerPro.Business.SynchronizationManager.SynchronizeChildDirectories(DirectoryInfo parentDirectory, IAlbum parentAlbum) at GalleryServerPro.Business.SynchronizationManager.SynchronizeChildDirectories(DirectoryInfo parentDirectory, IAlbum parentAlbum) at GalleryServerPro.Business.SynchronizationManager.Synchronize(String synchId, IAlbum album, String userName) at Gsp.Gallery.Synchronize(Int32 albumId, String synchId, Boolean isRecursive, Boolean overwriteThumb, Boolean overwriteOpt, Boolean regenerateMetadata)

I should note that the zOpt and zThumb files were both created for the "Norway 003.jpg" file, the next file in order is "Norway 004.jpg" and seems to be normal... Except the image size is 768x1024 instead of 1024x768.
Roger Martin
#5 Posted : Thursday, 23 June 2011 12:39:18 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

This is a bug that I fixed and released in a patch. Read about it in this blog post.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Billsey
#6 Posted : Thursday, 23 June 2011 1:05:40 PM(UTC)
Rank: Member

Joined: 22/06/2011(UTC)
Posts: 7
Location: Oregon, USA

I can verify that the patch fixed my problems. I was able to copy the problem files back and do a synchronize successfully. :-)
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.