Rank: Member
Joined: 11/12/2008 Posts: 6 Location: Bangalore
|
Hi,
I am integrating gallery server pro in my application by creating a folder in my application and including all the gallery pro pages in it (I did it by including the compiled code).
I moved the web.config(setting concerned to authentication, authorization,membership,roles etc) to the root web.config.
The web_sqlserver.config also was moved out of the folder containing gallery server pro.
I set right the location for master pages too.
However i am finally getting an error in referencing the Resource files as shown below. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: The resource object with key 'Master_Site_Logged_On_Msg' was not found.
Source Error:
Line 12: <LoggedInTemplate> Line 13: <asp:Panel ID="Panel1" runat="server" CssClass="loggedonview" EnableViewState="false"> Line 14: <asp:LoginName ID="LoginName1" runat="server" EnableViewState="false" FormatString="<%$ Resources:GalleryServerPro, Master_Site_Logged_On_Msg %>" /> Line 15: <asp:LoginStatus ID="LoginStatus1" runat="server" EnableViewState="false" OnLoggedOut="LoginStatus1_LoggedOut" LoginText="<%$ Resources:GalleryServerPro, Master_Site_Login_Text %>" Line 16: LogoutText="<%$ Resources:GalleryServerPro, Master_Site_Logout_Text %>" />
Source File: /GalleryPro/master/site.master Line: 14
I earlier tried integrating gallery server pro by including the source code (builds successfully and runs when used independently) in my project under a folder which did not work.
I also tried including the existing gallery server pro projects in my existing project which did not work either.
Please guide me (suggest an optimal solution) in integrating gallery server pro in my application.
Regards, Damodar
|
Rank: Administration
Joined: 8/3/2007 Posts: 844 Location: Fort Atkinson, WI
|
Language resources are in a resource file named GalleryServerPro.resx in the App_GlobalResources directory. You need to copy this file to the App_GlobalResources directory in your app.
Rather than trying to integrate GSP into your app, you may find it easier to keep GSP as a separate application running in a subdirectory. You can modify the master pages to make it look like your site. That's what I did with this forum software - it is running as its own web app in the 'forum' directory, but I edited the master page to include the header design from the rest of this web site.
Also note that I am currently working on 2.2, where GSP is a single user control that is much easier to add into an existing website.
Roger Martin Lead Developer for Gallery Server Pro
|