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

Notification

Icon
Error

2 Pages12>
Installing 2.5 For the First Time - Runtime Error
Corey Bryant
#1 Posted : Sunday, 25 September 2011 3:12:35 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

I went to the Download Page for Gallery Server Pro and downloaded the Gallery Server Pro 2.5 (Source Code Build 2.5.0, Released June 14, 2011 (5.7 MB)) and uploaded it to www.coreybryant.com/photo-album.

When I try to run the install (http://www.coreybryant.com/photo-album/?g=install), I get a Runtime Error:
Code:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Runtime Error 

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. 

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>
 

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>

I also downloaded the Gallery Server Pro Binary Pack (Last Updated June 23, 2011 (20 MB)) but have not uploaded it yet.

I have been reading through the documentation, but I was hoping someone will be able to give me a little push on this.

Thank you!
Corey
Corey Bryant
#2 Posted : Sunday, 25 September 2011 7:47:07 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

I changed off to Off and I received a new error:
Code:
Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error: 


Line 24: 		<httpRuntime requestValidationMode="2.0"/>
Line 25: 		
Line 26: 		<galleryServerPro>
Line 27: 			<core galleryResourcesPath="gs"/>
Line 28: 			<dataProvider defaultProvider="SqlCeGalleryServerProProvider">
 

Source File: D:\Websites\coreybryant.com\wwwroot\photo-album\web.config    Line: 26 

I found this reference on page 203 in the manual.

I don't know if you are familiar with Helm and / or if I need to ask the hosting company to set up a virtual directory (or if this is not correct) but I added a virtual directory through the Helm Control Panel.

I'll take another stab at in the morning, but if anyone has some ideas, it will be much appreciated.

Thank you,
Corey Bryant attached the following image(s):
Corey Bryant attached the following image(s): 20110925-helm-virtual-directory-coreybryant.com-photoalbum.png
Corey
Roger Martin
#3 Posted : Monday, 26 September 2011 7:35:17 AM(UTC)
Roger Martin

Rank: Administration

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

You are on the right track. The directory has to be configured as an application. Most hosting companies let you do this through their web interface, but perhaps your doesn't, so you might have to contact them.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#4 Posted : Monday, 26 September 2011 12:43:26 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Thanks! They just emailed me and I am getting another error
Code:
Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Unrecognized configuration section system.web.extensions.

Source Error: 


Line 132:	</location>
Line 133:	
Line 134:	<system.web.extensions>
Line 135:		<scripting>
Line 136:			<webServices>
 

I thought I read that it would work on .NET 2.0 or 3.5. I am waiting to hear back from them to see what version is installed.

I found some code that I thought would tell me what version:
Code:
<%@ Page Language="VB" %>

<script runat="server">
     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
         lblVersion.Text = "Your server is running ASP.NET and the version is " & System.Environment.Version.ToString()
     End Sub
 </script>

<html>
 <head>
     <title>ASP.NET Version</title>
 </head>
 <body>
     <form id="form1" runat="server">
         <asp:Label ID="lblVersion" runat="server"></asp:Label>
     </form>
 </body>
 </html>

But I received an error
Code:
Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Unrecognized configuration section system.web.extensions.

Source Error: 


Line 132:	</location>
Line 133:	
Line 134:	<system.web.extensions>
Line 135:		<scripting>
Line 136:			<webServices>

Thanks again!
Corey
Corey Bryant
#5 Posted : Monday, 26 September 2011 1:35:31 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

The server has .NET Framework 3.5 installed. I don't know if that helps / matters.
Corey
Roger Martin
#6 Posted : Monday, 26 September 2011 2:25:22 PM(UTC)
Roger Martin

Rank: Administration

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

Gallery Server Pro 2.5 requires .NET 4.0. If you want, you can grab an older 2.4 version to run on .NET 3.5.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#7 Posted : Monday, 26 September 2011 4:46:49 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Thanks! Do I download / install 2.4.0 - Released October 12, 2010 or 2.4.8 - Released April 29, 2011?

I take it the binary pack can be used once I get this up and running?
Corey
Roger Martin
#8 Posted : Monday, 26 September 2011 8:15:14 PM(UTC)
Roger Martin

Rank: Administration

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

Use the most recent 2.4.* release - that is, 2.4.8.

Yes, you can use the current binary pack with that version.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#9 Posted : Tuesday, 27 September 2011 6:49:43 AM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Thanks, I am removing those files (I did not remove the folder so that hopefully the app pool will still stay there).

I downloaded that version. Is there a PDF for me to read through on installing that one?

I also installed all the files / folders that was in the Web folder into the photo-album folder.

Thank you!
Corey
Roger Martin
#10 Posted : Tuesday, 27 September 2011 7:09:33 AM(UTC)
Roger Martin

Rank: Administration

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

Just use the 2.5 Admin Guide, as the installation process is the same (main difference is that SQLite is replaced with SQL CE).
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#11 Posted : Tuesday, 27 September 2011 2:33:58 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Thanks - that seems to be getting a bit closer. I turned the errors to Off and I am getting this error:
Code:
Line 131:
Line 132:		<httpModules>
Line 133:			<add name="ComponentArtUploadModule" type="ComponentArt.Web.UI.UploadModule, ComponentArt.Web.UI" />
Line 134:			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
Line 135:		</httpModules>

I searched the forums for some ideas, but so far I don't see anything.

Thanks again!
Corey
Roger Martin
#12 Posted : Tuesday, 27 September 2011 9:20:27 PM(UTC)
Roger Martin

Rank: Administration

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

I don't see an error message in there. Are you forgetting something?
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#13 Posted : Wednesday, 28 September 2011 2:24:41 PM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Sorry about that, I forgot to include the first part of it.
Code:
Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Could not load file or assembly 'ComponentArt.Web.UI' or one of its dependencies. The system cannot find the file specified. (D:\Websites\coreybryant.com\wwwroot\photo-album\web.config line 133)
Corey
Roger Martin
#14 Posted : Wednesday, 28 September 2011 2:50:21 PM(UTC)
Roger Martin

Rank: Administration

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

It is expecting ComponentArt.Web.UI.dll in D:\Websites\coreybryant.com\wwwroot\photo-album\bin. It should have been included in the download.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#15 Posted : Thursday, 29 September 2011 6:46:12 AM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Thanks, now I am getting closer. When I downloaded the Source Code, I uploaded all the files / folders in the Website to photo-album.

There is one H:\Library\Scripts\ASP.NET\GalleryServerPro_V2_4_8_Source\Website\assemblies (which is http://www.coreybryant.com/photo-album/assemblies
and then H:\Library\Scripts\ASP.NET\GalleryServerPro_V2_4_8_Source\TIS.GSP.WebControls\assemblies which I did not upload)

Are these usually the same and should I get permissions on these files?
Corey
Roger Martin
#16 Posted : Thursday, 29 September 2011 8:28:08 AM(UTC)
Roger Martin

Rank: Administration

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

I don't understand your question. But if you want to know which files should be distributed, look at the compiled version of GSP.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#17 Posted : Tuesday, 11 October 2011 7:06:09 AM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

Sorry for the delayed response, I had a reaction to a medication and could not respond.

I am curious, is there some code I could run to see if this script will properly run / install on my server?

Thank you!
Corey
Roger Martin
#18 Posted : Tuesday, 11 October 2011 7:17:25 AM(UTC)
Roger Martin

Rank: Administration

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

Sorry, I don't understand your question, nor do I understand what you are trying to do.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Corey Bryant
#19 Posted : Tuesday, 11 October 2011 8:56:51 AM(UTC)
Corey Bryant

Rank: Member

Joined: 25/09/2011(UTC)
Posts: 23
Man
Location: Castle Rock

We were just having a very difficult time installing the program. First, I found out that the server had ASP.NET 3.5 so I had to download / install GSP 2.4. We ran into some issues with that as well.

I was curious if there was a script that could be run to make sure all the components needed for GSP are installed on the server.

For example, I have an ASP script, start with
Code:
<%@Language="VBScript"%>
<%

on error resume next
response.buffer = true
server.scripttimeout = 1000

installedCOMs = 0
onNum = 0
lastUpdate = "4/3/2003"
newVersion = False

' The Components
' format: comObject|comURL|comName|comCategory|comCategory2
com = "CDONTS.NewMail|http://www.microsoft.com|CDONTS (free)|1|"
com = com & vbnewline & "MSWC.NextLink|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp7pmc.asp|Microsoft Content Linking Component|0|"
com = com & vbnewline & "MSWC.BrowserType|http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iisref/html/psdk/asp/comp3xx0.asp|Microsoft Browser Capability|2|"
com = com & vbnewline & "MSWC.ContentRotator|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp09dg.asp|Microsoft Content Rotator|0|"
com = com & vbnewline & "MSWC.AdRotator|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp59f8.asp|Microsoft Ad Rotator|0|"
com = com & vbnewline & "MSWC.PermissionChecker|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp3hf8.asp|Microsoft Permission Checker Component|0|"
com = com & vbnewline & "MSWC.Status|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp1qt0.asp|Microsoft Status Component|0|"
com = com & vbnewline & "MSWC.Tools|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp7g8k.asp|Microsoft Tools Component|0|"
com = com & vbnewline & "MSWC.PageCounter|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp00vo.asp|Microsoft Page Counter Component|0|"
com = com & vbnewline & "MSWC.IISLog|http://msdn.microsoft.com/library/en-us/iisref/html/psdk/asp/comp6i5w.asp|Microsoft Logging Utility Component|0|"

This will test a few components (Like ContentRotator) and it helps me to know that I have the right components.
Corey
Roger Martin
#20 Posted : Tuesday, 11 October 2011 9:11:15 AM(UTC)
Roger Martin

Rank: Administration

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

No script like that exists, nor is it really necessary. As long as your system meets the requirements (at bottom of features page), you should be fine.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
Rss Feed  Atom Feed
Users browsing this topic
Guest
2 Pages12>
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.