multi-site search finds other site's info.

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/10/2009 9:11:36 AM
Gravatar
Total Posts 112

multi-site search finds other site's info.

Hi Joe;

I did a search in one-site in a multi-site installation and mojoPortal returned links to another-site. When I click on any of the other-site links (of course) the link fails. I wonder if there is a way I can avoid returning other-site search results?

Metta,
Dale E. Moore

1/10/2009 9:35:46 AM
Gravatar
Total Posts 18439

Re: multi-site search finds other site's info.

You don't mention much details about your installation, version of mojoportal, Medium Trust? folder or host based sites? related sites mode?

The only situation where I can envision this happenng is in medium trust because you have to specify the index folder in Web.config or user.config like this format:

<add key="Lucene.Net.lockdir" value="D:\__projects\mojoportal\joe\Web\Data\Sites\1\index" />

so in medium trust it may not work correctly as it may use the same index files for all sites. In this case there is nothing I can think of to solve it other than to disable search and remove the search link from the skin. This is only a theory based on your statments.

In full trust I cannot produce this problem on my machine, I have not tried to produce it in medium trust.

In general this should not happen because each site has a separate seach index under /Data/Sites/[SiteID]/index, so I would look into whether files are being written there for all your sites or not.

Hope it helps,

Joe

1/14/2009 10:54:20 AM
Gravatar
Total Posts 112

Re: multi-site search finds other site's info.

Hi Joe;

Installation details:

Version 2.2.7.9 MSSQL.
Full Trust (per http://www.mojoportal.com/mediumtrust.aspx)
Folder based sites.
Not related sites mode.

I just did a search in http://FUU.MooreWorks.Net for "moore" and it returned hits for pages in http://CMS.MooreWorks.Net. CMS is site 1 in a multi-site mojoPortal installation; FUU is site 10 in the same installation.

/Data/Sites/1/index has files dated and timed this morning.
/Data/Sites/10/index has files dated and timed 4 days ago.

Searching for "video" in FUU only finds the FUU references; in CMS only finds the CMS references.

Scratching my head looking foolish,
Dale E. Moore

1/14/2009 11:00:00 AM
Gravatar
Total Posts 18439

Re: multi-site search finds other site's info.

I would try rebuilding the search index in site 10 by deleting the index files and doing a search then wait 5 minutes or so for it to build the index. Then try searching for moore and see if it still gets results from site 1.

See if the problem persists after that.

Hope it helps,

Joe

1/14/2009 12:17:13 PM
Gravatar
Total Posts 112

Re: multi-site search finds other site's info.

I deleted 1/index and 10/index contents, and searches in site 10 still return site 1 items.

I waited 10 minutes, and 1/index has files but 10/index has no files. I repeated the search with the same erronious results, waited another 10 minutes and still no files in 10/index.

1/14/2009 12:38:23 PM
Gravatar
Total Posts 18439

Re: multi-site search finds other site's info.

So the problem seems to be that site 10 is using the index from /Sites/1/index.

Are you sure you don't have something like this in Web.config or user.config

<add key="Lucene.Net.lockdir" value="C:\__dev\mojoportal\joe\Web\Data\Sites\1\index" />

obviously I don't mean the same path, but if you have this setting it may force all sites to use the /Sites/1/index

This setting is typically needed for medium trust but is not needed for full trust.

Hope it helps,

Joe

 

1/14/2009 12:51:58 PM
Gravatar
Total Posts 112

Re: multi-site search finds other site's info.

I went through 1/index, 2/index, ... and all folders have files (except 10 which is now empty.)

I went to some other sites and their search turns up site 1 results, too.

Nothing like 'add key="Lucene.Net.lockdir"' :( in my web.config:

<?xml version="1.0"?>
<configuration>

<configSections>

<section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/>

<sectionGroup name="system.web">

<!--
if installed in a Medium Trust environment, you can still use NeatUpload if
you install it in the GAC and uncomment this and several other things commented below.
-->
<!--
<section name="neatUpload" type="Brettle.Web.NeatUpload.ConfigSectionHandler, Brettle.Web.NeatUpload, Version=1.2.2386.43025, Culture=neutral, PublicKeyToken=c95290d92c5893c8" allowLocation="true" />
-->

</sectionGroup>

<!-- Microsoft AJAX Extensions Support -->

<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>

</configSections>


<!-- application specific settings -->

<!-- ERROR Logging
Look at the bottom of this file for settings to configure logging
by default it will log to a text file Data/mojoportal-log.config
as long as the Data folder is writeable
-->

<!-- for development purposes, if you create a user.config file and put it in the root
of the web, you can put development app settings like connections strings there
and they won't be overwritten by svn update. user.config is not under source control
there is a sample user.config.sample you can use as a basis but don't raname this file,
create your own
user.config and copy from the sample

settings in user.config will take precedence over settings in web.config
but changes to user.config will not be detected automatically or cause app to restart
so if you make a change there, enter a space in web.config and save to make it pickup
your change in user.config
-->
<appSettings file="user.config">

<add key="DisableSetup" value="false" />
<add key="ShowConnectionErrorOnSetup" value="true" />
<add key="ShowHistoryOnUpgradePage" value="true" />

<!--
this is really a developer feature.
if you enable this and log in to the root site as admin then
visit siteroot/Admin/dbadmin.aspx you'll find a page that can edit any table in the db
not really something to give to non developers
so disabled by default. You can also safely remove that page if you don't plan to use it.
this feature is currently broken except for MS SQL
-->
<add key="DisableDBAdminTool" value="true" />

<!-- Database Settings *********************************** -->

<!--
Set this to your corresponding db platform
subsonicMSSQL
subsonicMySql
subsonicSQLite
subsonicPostgreSql
subsonicFirebirdSql
-->
<add key="SubSonicProvider" value="subsonicMSSQL" />

<!-- MS SQL Database Settings *************************************** -->

<add key="MSSQLConnectionString" value="server=yourservername;UID=yourdatabaseusername;PWD=yourdatabaseuserpassword;database=yourdatabasename" />
<!--
For using MS SQL set this to true for best performance
but if running the web on mono you may need to set this to false.
-->
<add key="CacheMSSQLParameters" value="true" />

<!-- do not change this unless you understand the workings of the code
and have a reason to change it. -->
<add key="MSSQLOwnerPrefix" value="[dbo]." />

<!-- end MS SQL Database Settings *************************************** -->

<add key="PostgreSQLConnectionString" value="Server=localhost;Port=5432;Encoding=unicode;User Id=mojouser;Password=mojo123;Database=mojoportal;Pooling=false;CommandTimeout=120;" />

<add key="MySqlConnectionString" value="Data Source=localhost;Database=mojoportal;User ID=mojouser;Password=mojo123;Charset=utf8;" />

<add key="FirebirdConnectionString" value="Data Source=localhost;Server Type=0;Port Number=3050;Database=C:\Users\JoeAudette\devprojects\mojoportal\mojoportal.fdb;Dialect=3;Charset=UTF8;Pooling=True;Min Pool Size=0;Max Pool Size=200;Connection Timeout=10;Connection Lifetime=60;Fetch Size=200;User Id=SYSDBA;Password=masterkey" />

<add key="SqliteConnectionString" value="defaultdblocation" />
<!--
you can use a fully qualified file path as shown below
or if you are using the default db at /Data/sqlitedb/mojo.db.config
just leave this set to "defaultdblocation"
<add key="SqliteConnectionString" value="version=3,URI=file:C:\\Projects\mojoportal\Web\Data\sqlitedb\mojoportal.db" />
-->

<!-- End Database Settings *********************************** -->


<!-- Site Settings ******************************************* -->

<!-- Clock Hours = 12 or 24 -->
<add key="ClockHours" value="12" />
<!-- this should be the preferred timezone offset to display for unauthenticated users -->
<add key="PreferredGreenwichMeantimeOffset" value="-4.00" />

<add key="EnableOpenIDAuthentication" value="true" />
<add key="EnableWindowsLiveAuthentication" value="true" />
<add key="AllowPersistentLoginCookie" value="true" />

<!-- multi site installation settings -->
<add key="AllowMultipleSites" value="true" />
<add key="AllowDeletingChildSites" value="false" />
<!--
UseRelatedSiteMode means all sites in a multi site installation use the same users
all users must have a site id so in this mode we use the same site id for all users
-->
<add key="UseRelatedSiteMode" value="false" />
<add key="RelatedSiteID" value="1" />
<add key="RelatedSiteModeUseEmailForLogin" value="true" />
<add key="RelatedSiteModeHideRoleManagerInChildSites" value="true" />
<add key="AllowFileManagerInChildSites" value="false" />
<add key="AllowPasswordFormatChangeInChildSites" value="false" />
<add key="ShowSystemInformationInChildSiteAdminMenu" value="true" />
<add key="UseFoldersInsteadOfHostnamesForMultipleSites" value="false" />

<add key="DisallowedVirtualFolderNames" value="Admin;ClientScript;Controls;Data;FCKeditor;Modules;NeatHtml;NeatUpload;Secure;Services;Setup;SiteOffice;WebStore" />
<add key="AllowPasswordFormatChange" value="true" />
<add key="SSLIsAvailable" value="false" />
<add key="EnableSSLInChildSites" value="false" />
<add key="EnableLogViewer" value="true" />
<add key="MaskPasswordsInUserAdmin" value="true" />
<!-- Default to All Users role, i.e public pages by default -->
<add key="DefaultPageRoles" value="All Users" />
<add key="EnableNewsletter" value="true" />
<add key="AllowUserProfilePage" value="true" />
<add key="AllowUserThreadBrowsing" value="true" />
<add key="NotifyAdminsOnNewUserRegistration" value="false" />
<add key="RolesThatCanViewMemberList" value="Authenticated Users" />
<add key="MemberListPageSize" value="20" />
<add key="ShowForumPostsInMemberList" value="true" />
<!-- this should generally be false on public sites but on an intranet you may wish to show the user email -->
<add key="ShowEmailInMemberList" value="false" />
<add key="ShowLoginNameInMemberList" value="false" />
<add key="ShowUserIDInMemberList" value="false" />
<add key="RolesThatCanUploadAndBrowse" value="Admins;Content Administrators;Content Publishers;Content Authors;Store Managers" />

<!-- Gravatars
http://www.gravatar.com/ is a service that allows users to have the same Avatar across different sites.
I implemented support for this in mojoPortal 2008-08-13
I added this setting as a kill switch so that Gravatars can be disabled installation wide
in case there is ever a security or performance problem due to using this external service.
I don't expect any problems but just in case you can disable it here.
RatingType { G, PG, R, X } determine what rating is acceptable. Users rate their Avatars like movies.
-->
<add key="AllowGravatars" value="true" />
<add key="GravatarMaxAllowedRating" value="G" />

<!-- you should not change this unless you implemented your own custom login page -->
<add key="LoginPageRelativeUrl" value="/Secure/Login.aspx" />

<!-- you can set this true for best performance (for some features) unless you are in a low memory environment,
cache uses memory so not caching reduces memory use
when enabled a cache timeout setting is revealed in Module Settings page so you can specify cache timeout for each instance of content
However for features that use postback (which is more and more of them these days) output cache breaks the postback
so its not appropriate to cache it. In Module Settings Cache Timeout 0 means don't cache it.
-->
<add key="DisableContentCache" value="true" />

<!--
Set Enable ForceSingleSessionPerUser to true only if it is a security requirement of your app to prevent
a user having multiple browser sessions with the same user.
This uses session variables and therefore uses more server memory so it is disabled by default.

-->
<add key="ForceSingleSessionPerUser" value="false" />

<!--
Generally you should leave this blank and let mojoportal handle the redirecting after a user signs in.
However if you want to force redirecting to some specific page you can force it with this setting:
<add key="PageToRedirectToAfterSignIn" value="/yourcustompage.aspx" />
Warning! Do not use this in a multi site installation. This is a global setting and will affect all sites.
-->
<add key="PageToRedirectToAfterSignIn" value="" />

<!--

if users will be accessing your site on a port other
than port 80
set MapAlternatePort to true so that links will
include the port.
set MapAlternatePort to false if you are using a proxy server
that doesn't add X-Forwarded-Host headers (most do).
This setting has no effect if you are using port 80,
the standard web port.

this must also be true for debugging with the VS Web server
as it uses alternate ports

-->
<add key="MapAlternatePort" value="true" />
<add key="MapAlternateSSLPort" value="true" />
<add key="AlternateSSLPort" value="443" />

<!-- if using a proxy and it prevents detection of ssl
it can cause an infinite loop in the SiteUtils.ForceSSL function
set this to true to prevent that if you encounter this problem
-->
<add key="ProxyPreventsSSLDetection" value="false" />


<!--
AllowForcingPreferredHostName, if set to true a new Site Setting appears (only in root site or IsServerAdminSite)
for entering a preferred host name. The reason this is disabled by default and only available from within the
server admin site is because putting an invalid host name in this site setting can make the site inaccessible
as it will keep redirecting to an incorrect host name. So this is only for expert use, but is useful in cases where
you may have a site that responds to multiple host names like mojoportal.org, mojoportal.com, www.mojoportal.com
and you want to always force a specific one. For example, my ssl certificate only matches www.mojoportal.com
so I want to force the sue of that host name by redirecting to it if a request comes in for a different host name.
-->
<add key="AllowForcingPreferredHostName" value="false" />


<add key="DefaultEmailFrom" value="noreply@yoursite.com" />
<add key="WebMaster" value="noreply@yoursite.com" />

<!--
Note you also need to specify smtp settings further below in system.net section
-->
<add key="SMTPServer" value="localhost" />
<add key="SMTPRequiresAuthentication" value="false" />
<add key="SMTPUseSsl" value="false" />
<add key="SMTPPort" value="25" />
<add key="SMTPUser" value="UserName" />
<add key="SMTPPassword" value="UPassword" />
<add key="SMTPTimeoutInMilliseconds" value="15000" />
<!-- leave this blank for ascii encoding -->
<add key="SmtpPreferredEncoding" value="" />


<!-- example for Russian encoding
<add key="SmtpPreferredEncoding" value="koi8-r" />
-->

<!--
if you want to have different smtp settings per site, set EnableSiteSettingsSmtpSettings to true
and smtp settings will appear in SiteSettings. otherwise use the above settings
-->
<add key="EnableSiteSettingsSmtpSettings" value="false" />
<add key="MaskSmtpPasswordInSiteSettings" value="true" />
<add key="ShowSmtpEncodingOption" value="false" />


<!--
You can change this setting to customize the message body for the password recovery email.

<add key="PasswordRecoveryEmailTemplateFileNamePattern" value="PasswordEmailMessage.config" />

Your actual file must exist in the /Data/MessageTemplates folder and the actual file must
be named with the default culture as a prefix to this setting. So for the default setting
PasswordEmailMessage.config, the actual file name will be en-US-PasswordEmailMessage.config
if the default cutlure is en-US
Whenever you upgrade mojoportal this file will be overwritten so if you customize it, you should
use a custom file name. So for example you could set the setting like this:
<add key="PasswordRecoveryEmailTemplateFileNamePattern" value="MyCustomPasswordEmailMessage.config" />
and the actual file name would be en-US-MyCustomPasswordEmailMessage.config, assuming you are using
en-US for the default site culture.

-->
<add key="PasswordRecoveryEmailTemplateFileNamePattern" value="PasswordEmailMessage.config" />

<add key="DefaultBlogPageSize" value="10" />
<add key="DefaultInitialSkin" value="styleshout-techmania" />


<!--
In general practice english letters are used for urls
and domain names must be in english letters.
For cultures that do no use english letters you
may wish to disable the friendly url autosuggestion
feature by setting this variable to false.
-->
<add key="AutoSuggestFriendlyUrls" value="true" />
<add key="ForceFriendlyUrlsToLowerCase" value="true" />

<add key="SiteSettingsCacheDurationInSeconds" value="360" />
<add key="MenuCacheDurationInSeconds" value="360" />
<add key="DefaultModuleCacheDurationInSeconds" value="360" />
<add key="RedirectHomeFromSetupPagesWhenSystemIsUpToDate" value="true" />
<add key="WebPageInfoCacheMinutes" value="20" />
<!-- When page level skinning is enabled, if this is true, then pages created
beneath a page that has a specific skin assigned
will use the same skin by default
-->
<add key="AssignNewPagesParentPageSkinByDefault" value="true" />

<!-- RolesThatCanViewMemberList
semi colon separated role names
examples:
<add key="RolesThatCanViewMemberList" value="Authenticated Users" />
<add key="RolesThatCanViewMemberList" value="Admins" />
All Users means even anonymous users can view
<add key="RolesThatCanViewMemberList" value="All Users" />
this affects all sites in a multi site setup
maybe later we can make this site specific

-->



<!--
Disabling viewstate at the page level can reduce the size of the page
which improves performance. Modules that do postback usually need
ViewState Enabled so in the Page_Load event of modules that postback
I add a line of code like this
Page.EnableViewState = true;
This works fine for all the built in modules but I've had at least one
developer tell me it did not work for his custom modules so I added this
setting here which you can set to false if you find it breaks any functionality
in your custom modules. If it doesn't break anything I recommend leaving this
set to true
-->
<add key="DisablePageViewStateByDefault" value="true" />

<add key="DisableHelpSystem" value="false" />
<add key="DisableFileManager" value="false" />

<!--
If true will update user lastactivity time at the end of each authenticated request.
The default is true, but if you are seeking max performance you can disable it.
-->
<add key="TrackAuthenticatedRequests" value="true" />
<add key="TrackIPForAuthenticatedRequests" value="false" />

<!--
if set to true query parser errors in the search engine will trigger banning of ip
address of the host causing the error. These are usually spambots posting a lot of
garbage into the search form, only real concern
about setting this to true is if the spambots are spoofing ip addresses then we are
banning the wrong address.
-->
<add key="AutoBanSpambotsOnSearchErrors" value="false" />


<!--
AllowChangingFriendlyUrlPattern should almost always be false
which means friendly urls will end with .aspx which is required in
most configuration. The only time this would ever be changed to true is
when running on Mono if Mono is set to handle all requests then page names don't
have to end with .aspx
-->
<add key="AllowChangingFriendlyUrlPattern" value="false" />

<!-- End Site Settings *************************************** -->

<!-- RSS Settings ******************************************* -->
<add key="RSSCSS" value="/Data/style/rss1.css" />
<add key="RSSXsl" value="/Data/xsl/rss1.xsl" />

<!-- End RSS Settings *************************************** -->

<!-- Forum Module Settings ******************************************* -->
<add key="PostsApprovedByDefault" value="True" />

<!-- End Forum Module Settings *************************************** -->

<!--
UrlRewrite Settings -->

<add key="UseUrlReWriting" value="true" />

<!-- End UrlRewrite Settings -->

<add key="UseShortcutKeys" value="false" />
<!-- SiteOffice feature this is not yet implemented so leave
it false for this version of mojoPortal -->
<add key="UseSiteMailFeature" value="false" />
<add key="UseOfficeFeature" value="false" />
<add key="UseExternalMailFeature" value="true" />
<add key="AllowAttachmentsInSiteMailFeature" value="true" />
<add key="AllowAttachmentsInExternalMailFeature" value="true" />
<!-- end SiteOffice section -->

<add key="NumberOfWebPartsToShowInMiniCatalog" value="15" />

<add key="SiteStatistics_ShowMemberStatistics_Default" value="true" />
<add key="SiteStatistics_ShowOnlineStatistics_Default" value="true" />
<add key="SiteStatistics_ShowOnlineMembers_Default" value="true" />


<!--
this sets the max size of an upload when the
UploadHttpModule is being used. In that case the
request is streamed to disk, so the primary reason
for limiting the size would be to prevent any single
upload from using too much disk space.
-->
<add key="UseNeatUpload" value="true" />
<add key="NeatUpload.MaxRequestLength" value="1000000" />


<add key="UseNeatHtmlForXSSPrevention" value="true" />
<add key="UseClientSideNeatHtml" value="true" />


<add key="EditContentImage" value="pencil.gif" />
<add key="DeleteLinkImage" value="delete.gif" />
<add key="EditPropertiesImage" value="edit.gif" />
<add key="NewPageImage" value="page_add.gif" />
<add key="CancelUploadImage" value="cancel.png" />
<add key="RefreshImage" value="refresh.png" />
<add key="StopRefreshImage" value="stop_refresh.png" />
<add key="RSSImageFileName" value="xml.gif" />
<add key="ForumThreadImage" value="thread.gif" />



<!--
if you have a low traffic site (if 20 minutes may go by between requests for pages)
then what happens is the application pool shuts down the web application after 20 minutes
goes by with no request for any pages.
Then when you get a new request all the JIT compilation must happen again
and this causes a slow response.
You can mitigate this for a slow site by setting this to true. A background thread will be spawned that
makes a request to the site often enough to keep the application pool from shutting down the application
due to lack of traffic.
For sites that are getting enough traffic its best to leave this as false.
-->
<add key="UseAppKeepAlive" value="false" />

<add key="GetAlphaPagerCharsFromResourceFile" value="false" />
<add key="AlphaPagerChars" value="ABCDEFGHIJKLMNOPQRSTUVWXYZ" />

<add key="CombineCSS" value="true"/>
<add key="MinifyCSS" value="true"/>

<!--
CombineJavaScript will have to be false by default because installation specific configuration is required
you have to view your page and make a list of the javascript urls and add them to an xml file in the App_Data folder
this feature sort of works but I noticed some anomolies when using it so I stopped using it for now.
-->
<add key="CombineJavaScript" value="false"/>
<add key="NameOfScriptConfigFileInApp_DataFolder" value="ScriptFileSets.xml"/>
<add key="UseMojoScriptFilterExceptionsWhenCombiningJavaScript" value="true"/>


<add key="DisableASPThemes" value="false"/>


<add key="ExtJsBasePath" value="~/ClientScript/ext-2.0.2/" />
<add key="ExtJsDefaultTheme" value="resources/css/xtheme-slate.css" />

<add key="ExtJsDefaultWindowHeight" value="550" />
<add key="ExtJsDefaultWindowWidth" value="100%" />
<add key="ExtJsDefaultWindowTop" value="200" />
<add key="ExtJsDefaultWindowLeft" value="0" />

<add key="YUIBasePath" value="~/ClientScript/yui-252/" />
<add key="YUITabCss" value="~/ClientScript/yui-252/assets/skins/sam/tabview.css" />
<add key="YUISkinImagePath" value="/ClientScript/yui-252/assets/skins/sam/" />
<add key="YUIDefaultSkinFolder" value="sam" />
<add key="YUIDefaultSkinClass" value="yui-skin-sam" />
<add key="DisableYUI" value="false" />
<add key="jQueryBasePath" value="~/ClientScript/jquery126/" />
<add key="jQueryUIBasePath" value="~/ClientScript/jqueryui16b/" />


<add key="TinyMCE:BasePath" value="~/ClientScript/tiny_mce/" />



<add key="FCKeditor:Debug" value="false" />
<add key="FCKeditor:CustomConfigPath" value="~/ClientScript/mojofckconfig.js" />
<add key="FCKeditor:StylesXmlPath" value="/Services/EditorStyles.ashx" />
<add key="FCKeditor:BasePath" value="~/ClientScript/fckeditor263/" />
<add key="FileBrowserRelativePath" value="~/ClientScript/fckeditor263/editor/filemanager/browser/default/browser.html" />
<add key="ImageBrowserRelativePath" value="~/ClientScript/fckeditor263/editor/filemanager/browser/default/browser.html" />
<add key="FileBrowserServiceRelativePath" value="/Dialog/FileBrowseConnector.aspx" />
<add key="ImageBrowserServiceRelativePath" value="/Dialog/FileBrowseConnector.aspx" />
<add key="LinkBrowserServiceRelativePath" value="/Dialog/LinkBrowseConnector.aspx" />
<add key="FileBrowserUseService" value="true" />

<add key="CSSFriendly-JavaScript-Path" value="~/ClientScript/CSSFriendly" />


<!--
FCKeditor claims to support Safari but I have not been able to get it working so far.
Even using the new 2.5. beta version. So we are forcing TinyMCE here. If you don't agree or
want to try it yourself you can set this to flase and it will try to use FCKeditor (if that is configured)

2007-11-22 still need to test Opera as well.
can also force to use TinyMCE in these browsers overriding site setting
-->
<add key="ForceFCKToDegradeToTextAreaInSafari" value="true" />
<add key="ForceFCKToDegradeToTextAreaInOpera" value="true" />

<add key="ForceTinyMCEInSafari" value="false" />
<add key="ForceTinyMCEInOpera" value="true" />

<!--
if installed under Medium trust, un-comment this and make sure it maps
to the index folder of your site.
you will not want to use the multiple sites on one installation
technique under medium trust as all sites would use this single search index location
which would not be a good thing
-->
<!--
<add key="Lucene.Net.lockdir" value="C:\devprojects\mojoportal\mojodev\Web\Data\Sites\1\index" />
-->


<!--
<add key="mojoProfileConfigFileName" value="mojoProfile.config" />

This file needs tobe in the root of the web folder, but you can use an
alternate file with your own profile options or edit the mojoProfile.config file
to use your own custom options.

There is also a setting below in the system.web section for
<mojoProfile configSource="mojoProfile.config"></mojoProfile>
if you set that to the same value as the setting immediately below
then the web application will recycle automatically if you edit the
specified file. This will ensure your customizations are used right away.
-->

<add key="mojoProfileConfigFileName" value="mojoProfile.config" />
<add key="mojoEditorConfigFileName" value="mojoEditor.config" />
<add key="SiteOfficeConfigFolder" value="~/SiteOffice/Config/" />
<add key="SetupHeaderConfigPath" value="~/Setup/SetupHeader.config" />

<!--
Valid values for RecatchaTheme are red, white, blackglass
-->
<add key="RecaptchaTheme" value="white" />


<!--
2007-12-04 this is global so it doesn't work for multi site installations of mojoPortal.
On my to do list is to add a site setting for this so it can be used in multi site installations easily.
If you want to be able to use google maps in your site uing the LocationMap control, you need to get
a google maps api key for your site from here:
http://code.google.com/apis/maps/signup.html

-->
<add key="GoogleMapsAPIKey" value="" />

<!-- this setting allows you to force specific cultures for specific sites
I recommend that you don't do this unless you have a specific reason to.
You would also need to know the siteid of each site and specify it here like this:
<add key="site1culture" value="en-US" />
<add key="site2culture" value="nl-NL" />
-->
<add key="UseCultureOverride" value="false" />

<add key="RunningInMediumTrust" value="false" />

<!-- If running in Medium trust you may need this setting
<add key="NeatUpload.UseHttpModule" value="false" />
<add key="NeatUpload.DefaultTempDirectory" value="Data" />
-->


<!--
leave this commented out unless you have a good reason
more info: http://mono-project.com/ASP.NET_Settings_Mapping

<add key="MonoAspnetInhibitSettingsMap" value="anything"/>

-->
<add key="MonoAspnetBatchCompileIgnorePaths" value="~/MyPage.aspx" />
<add key="MonoAspnetBatchCompileIgnoreFromFile" value="~/MonoAspnetBatchCompileIgnorePaths.conf"/>

<add key="FolderGalleryRequiredPath" value="FolderGalleries" />
<add key="FolderGalleryCachePath" value="/Data/systemfiles" />

<!-- ### Begin WebStore Settings

Settings are site specific and prefixed per site with
'Site' + SiteID.ToString() + '-' ie Site1-, Site2-, Site3-

-->

<!-- set to false for production use -->
<!--
This is temprary until I implement something better. The file must be located at
/Data/MessageTemplates and must be prefixed with a culture like en-US- even though that part is not
specifiied here. So even though we have entered DefaultOrderConfirmationPlainTextEmailTemplate.config, the
actual file must be named en-US-DefaultOrderConfirmationPlainTextEmailTemplate.config where en-US is the default
culture for the site as specified in Web.config globalization element
-->
<add key="Site1-ConfirmationEmailPlainTextTemplate" value="DefaultOrderConfirmationPlainTextEmailTemplate.config" />
<add key="Site1-ConfirmationEmailSubjectTemplate" value="DefaultOrderConfirmationEmailSubjectTemplate.config" />

<!-- set to false for production use -->
<add key="Site1-PaymentGatewayUseTestMode" value="false" />

<!-- options: Authorize.NET PayPalDirect, PayPalStandard, GoogleCheckout-->
<add key="Site1-PrimaryPaymentGateway" value="" />
<add key="Site1-PayPalUsePayPalStandard" value="true" />

<!-- sandbox -->
<add key="Site1-AuthorizeNetSandboxAPILogin" value="" />
<add key="Site1-AuthorizeNetSandboxAPITransactionKey" value="" />

<add key="Site1-PayPalSandboxAPIUsername" value="" />
<add key="Site1-PayPalSandboxAPIPassword" value="" />
<add key="Site1-PayPalSandboxAPISignature" value="" />
<add key="Site1-PayPalStandardSandboxEmail" value="" />
<add key="Site1-PayPalStandardSandboxPDTId" value="" />

<add key="Site1-GoogleSandboxMerchantID" value="" />
<add key="Site1-GoogleSandboxMerchantKey" value="" />

<!-- end sandbox -->

<!-- Production -->

<add key="Site1-AuthorizeNetProductionAPILogin" value="" />
<add key="Site1-AuthorizeNetProductionAPITransactionKey" value="" />

<add key="Site1-PayPalProductionAPIUsername" value="" />
<add key="Site1-PayPalProductionAPIPassword" value="" />
<add key="Site1-PayPalProductionAPISignature" value="" />

<add key="Site1-PayPalStandardProductionEmail" value="" />
<add key="Site1-PayPalStandardProductionPDTId" value="" />

<add key="Site1-GoogleProductionMerchantID" value="" />
<add key="Site1-GoogleProductionMerchantKey" value="" />

<!-- end production -->

<!-- ### end WebStore Settings -->

<!--
this tells mono to leave out these files from JIT compilation
we need this because WebParts are not implemented in Mono
-->
<add key="MonoAspnetBatchCompileIgnorePaths" value="~/MyPage.aspx,~/Modules/WebPartModule.ascx,~/Admin/WebPartAdmin.aspx,~/Admin/WebPartEdit.aspx,~/Admin/WebPartModuleEdit.aspx"/>



</appSettings>
<!--
<location path="SharedFilesDownload.aspx">
<system.web>

<neatUpload useHttpModule="false" />

<httpRuntime maxRequestLength="2097151" executionTimeout="14400" />
</system.web>
</location>
-->

<system.web>


<!--
Note for best practice you should replace this machine key with one you generate.
If you use encrypted passwords, don't change the machine key after that or you will not
be able to decrypt passwords.
To generate your own, you can use this nice online utility:
http://www.aspnetresources.com/tools/keycreator.aspx
or this newer one which is more up to date as of 1/4/2007:
http://www.developmentnow.com/articles/machinekey_generator.aspx

-->

<machineKey
validationKey="55BA53B475CCAE0992D6BF9FE463A5E97F00C6C16DA3D7DF9202E560078AB501643C15514785FEE30FEF26FC27F5CE594B42FFCA55452EF90E8A056B4DAE9F39"
decryptionKey="939232D527AC4CD3E449441FE887DA110A16C1A36924C424CBAAE3F00282436C"
validation="SHA1"
decryption="AES"/>

<!--
The above key is better so I changed it, but leaving this one here
in case anyone is using encrypted passwords and did not generate their own key.

<machineKey
validationKey="00D550C22F4C0C5F42FBBDCABF8FCB1B1D3F19CDE656139EB740ECDA32A5B8D49D2F3EA9EB06E416521B5AF72EEBC606503B2E10D1BA7FC4AF1397A4C0139974"
decryptionKey="EFF08CB3637258A9C33650CC1C5D10ACD1FC88DCEDE6D7B5"
validation="SHA1"
decryption="3DES" />

-->


<xhtmlConformance mode="Strict" />

<!--
example culture settings

af-ZA Africaans South Africa
bg-BG Bulgarian Bulgaria - need to fix the datepicker .js file
zh-CN Chinese China - need to fix the datepicker .js file
zh-CHS Simplified Chinese
cs-CZ Czech
en-US English US
en-GB English United Kingdom
es-ES Spanish Spain
es-MX Spanish Mexico
el-GR Greek Greece
da-DK Danish Denmark
de-DE German Germany
fi-FI Finnish Finland
fr-FR French France
fr-CA French Canada
he-IL Hebrew Israel - need to fix the datepicker .js file
it-IT Italian Italy
ko-KR Korean Korea - need to fix the datepicker .js file
nl-NL Dutch Netherlands
nl-BG Dutch Belgium
pt-BR Portuguese Brazil
pl-PL Polish Poland
sv-SE Swedish Sweden
sv-FI Swedish Finland
ru-RU Russian Russia
tr-TR Turkish Turkey

more complete list here
http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

auto:en-US causes asp.net to try and find resources for the prefered language
in the browser settings with fallback to the default culture, en-US in this example
-->

<globalization
culture="auto:en-US"
uiCulture="auto:en-US"
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="iso-8859-15" />

<!--
<identity impersonate="true" />
-->

<!--
For best security, you should generate your own RSA Key, put it here then encrypt this config section
-->
<!--
<mojoEncryption>
<RSAKeyValue>
<Modulus>uckRHFWrxsDV+NR+oEK1csTkjic4E2byaUMV8FmTDhyzZMrDV3dJV8T00Esa+rgrlN08CCJC0epPyWGheI3KHgQmbq2iHak4Y67SHL0ZhRG7OHFFkITFSeVPQIqcinwk0PZfgbE239cM/0u7r9DQLIFTbRZKhd8fS//X7AsW3Js=</Modulus>
<Exponent>AQAB</Exponent>
<P>70rN3bB8CzW7iF5QEicDiGM5chkza5DxqRPVvXnnjejS2CAzlvzUdPSArjZUbupg4iaBJsN26TxwQ6OB99QrLw==</P>
<Q>xsHc6I+1yCxaPsqst/gDuKwPyutK3s7P2hfj6fIpNwmsvqxxMRAgPhw8mr3OK0yZjPRCZLCxBEVyoNEkB2paVQ==</Q>
<DP>5pz4+gX0Bfmq2inKkTP4O6Ek48lVvPzbaU8sVob9mc4gJRojngfb2TsqKLtDdAF9jXX+UhVerDkLGKSjxOw9EQ==</DP>
<DQ>dw5/XktfT3XJ5R0Qku6chA2FND73TTnC5dgzrNpi99XyxRCUiRgoyCuv3d1eVy9+NyHFd30ju/RBsrU0iMCbNQ==</DQ>
<InverseQ>6DNVGM4aB5jSXJgCYwwZdB6w09RofYWOi27g59k5+I1DC/VqgSo3QXY+dWK3qWReAYr2qAJJEhlRCvsou82d9Q==</InverseQ>
<D>mywXAIWFrcHOdcB16sEM8EkHZLvZGEt52PVRU6hdLQJHy72XHmzhc09r8rVoWVSOAg4uX9TN3qpH7bl/tkMnNjD9UCToIqQ+FF+TYL3+/irWEDqixujDeQAPEFCdYmviuRiMf7q3alBqF3Be39Fkbu/NJ75wgZKWmP1pE049abE=</D>
</RSAKeyValue>
</mojoEncryption>
-->


<siteMap configSource="mojoSiteMap.config" />


<webParts>
<personalization defaultProvider="mojoPersonalizationProvider">
<providers>
<clear />
<add name="mojoPersonalizationProvider" type="mojoPortal.Web.mojoPersonalizationProvider" />
</providers>
<authorization>
<allow roles="Admins" verbs="enterSharedScope" />
</authorization>
</personalization>
</webParts>

<membership defaultProvider="mojoMembershipProvider" userIsOnlineTimeWindow="20">
<providers>
<clear />
<add name="mojoMembershipProvider" type="mojoPortal.Web.mojoMembershipProvider" />
</providers>
</membership>

<roleManager enabled="true" defaultProvider="mojoRoleProvider">
<providers>
<clear />
<add name="mojoRoleProvider" type="mojoPortal.Web.mojoRoleProvider" />
</providers>
</roleManager>


<pages validateRequest="false" enableViewStateMac="false" viewStateEncryptionMode="Auto" maxPageStateFieldLength="100">
<namespaces>
<add namespace="System.Globalization" />
<add namespace="mojoPortal.Business" />
<add namespace="mojoPortal.Business.WebHelpers" />
<add namespace="mojoPortal.Web" />
<add namespace="mojoPortal.Web.Controls" />
<add namespace="mojoPortal.Web.Framework" />
<add namespace="mojoPortal.Web.UI" />

</namespaces>
<controls>
<add tagPrefix="portal" namespace="mojoPortal.Web.UI" assembly="mojoPortal.Web" />
<add tagPrefix="mp" namespace="mojoPortal.Web.Controls" assembly="mojoPortal.Web.Controls" />
<add tagPrefix="mpe" namespace="mojoPortal.Web.Editor" assembly="mojoPortal.Web.Editor" />
<add tagPrefix="ext" namespace="mojoPortal.Web.Controls.ExtJs" assembly="mojoPortal.Web.Controls" />
<add tagPrefix="goog" namespace="mojoPortal.Web.Controls.google" assembly="mojoPortal.Web.Controls" />



<add tagPrefix="portal" tagName="ChildPageMenu" src="~/Controls/ChildPageMenu.ascx" />
<add tagPrefix="portal" tagName="Breadcrumbs" src="~/Controls/BreadcrumbsControl.ascx" />
<add tagPrefix="portal" tagName="SearchInput" src="~/Controls/SearchInput.ascx" />
<add tagPrefix="portal" tagName="SiteMenu" src="~/Controls/SiteMenu.ascx" />
<add tagPrefix="portal" tagName="StyleSheet" src="~/Controls/StyleSheet.ascx" />
<add tagPrefix="portal" tagName="StyleSheetCombiner" src="~/Controls/StyleSheetCombiner.ascx" />
<add tagPrefix="portal" tagName="MetaContent" src="~/Controls/MetaContent.ascx" />
<add tagPrefix="portal" tagName="PageMenu" src="~/Controls/PageMenu.ascx" />
<add tagPrefix="portal" tagName="MembershipStatistics" src="~/Controls/MembershipStatisticsControl.ascx" />
<add tagPrefix="portal" tagName="OnlineStatistics" src="~/Controls/OnlineStatisticsControl.ascx" />
<add tagPrefix="portal" tagName="OnlineMemberList" src="~/Controls/OnlineMemberListControl.ascx" />
<add tagPrefix="portal" tagName="ModuleWrapper" src="~/Controls/ModuleWrapper.ascx" />
<add tagPrefix="portal" tagName="OpenIDLoginControl" src="~/Controls/OpenIDLoginControl.ascx" />
<add tagPrefix="portal" tagName="WindowsLiveLoginControl" src="~/Controls/WindowsLiveLoginControl.ascx" />
<add tagPrefix="portal" tagName="SubscriberPreferences" src="~/Controls/SubscriberPreferencesControl.ascx" />
<add tagPrefix="portal" tagName="GCheckoutLogList" src="~/Controls/GCheckoutLogList.ascx" />
<add tagPrefix="portal" tagName="OrderStatusSetting" src="~/Controls/OrderStatusSetting.ascx" />
<add tagPrefix="portal" tagName="PaymentAcceptanceMark" src="~/Controls/PaymentAcceptanceMark.ascx" />
<add tagPrefix="portal" tagName="SignInOrRegisterPrompt" src="~/Controls/SignInOrRegisterPrompt.ascx" />
<add tagPrefix="portal" tagName="PageLastModified" src="~/Controls/PageLastModified.ascx" />
<add tagPrefix="portal" tagName="mojoRating" src="~/Controls/mojoRating.ascx" />

<add namespace="Brettle.Web.NeatUpload" assembly="Brettle.Web.NeatUpload" tagPrefix="NeatUpload" />
<add namespace="Brettle.Web.NeatHtml" assembly="Brettle.Web.NeatHtml" tagPrefix="NeatHtml" />
<add namespace="NerdBank.OpenId.Consumer" assembly="Janrain.OpenId" tagPrefix="oid" />

<add namespace="DayPilot.Web.Ui" assembly="DayPilot" tagPrefix="dp" />
<add namespace="TimelineNet" assembly="TimelineNet" tagPrefix="tl" />
<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit" />
<add namespace="ZedGraph.Web" assembly="ZedGraph.Web" tagPrefix="zgw" />

<!-- AJAX Extensions support -->
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<!-- comment this out for Mono -->
<add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview"/>
<add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview"/>

</controls>
<tagMapping>

<!-- comment this out for Mono -->
<add tagType="System.Web.UI.WebControls.WebParts.WebPartManager"
mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartManager"/>

<add tagType="System.Web.UI.WebControls.WebParts.WebPartZone"
mappedTagType="Microsoft.Web.Preview.UI.Controls.WebParts.WebPartZone"/>


</tagMapping>


</pages>

<!-- for testing purposes only
Some hosted environments enforce Medium trust
this setting in the machine.config will override any setting made here
<trust level="Medium" originUrl="" />
For server side web requests to work we need the origin url like this:
<trust level="Medium" originUrl=".*" />

-->


<!-- ASMX is mapped to a new handler so that proxy javascripts can also be served. -->

<httpHandlers>

<!-- AJAX Extensions support -->
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

<add verb="*" path="*CaptchaImage.ashx" type="Subkismet.Captcha.CaptchaImageHandler, Subkismet" />
<add verb="*" path="*thumbnailservice.ashx" type="mojoPortal.Web.Controls.Album, mojoPortal.Web.Controls" />
<add verb="*" path="*scripthandler.ashx" type="mojoPortal.Web.Framework.ScriptHandler, mojoPortal.Web.Framework" />
<add verb="*" path="*csshandler.ashx" type="mojoPortal.Web.UI.CssHandler, mojoPortal.Web" />

<add verb="*" path="*.mml.ashx" type="mojoPortal.Web.Services.MathMLHandler, mojoPortal.Web" />
<add verb="GET" path="TimelineData.ashx" type="TimelineNet.TimelineAjaxHandler, TimelineNet" />

</httpHandlers>

<httpModules>

<add name="GCheckoutBasicAuthenticationModule" type="mojoPortal.Web.GCheckoutBasicAuthenticationModule, mojoPortal.Web" />

<add name="BannedIPBlockingHttpModule"
type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web"/>

<add name="UrlRewriter" type="mojoPortal.Web.UrlRewriter, mojoPortal.Web" />


<!-- comment this out out if running in Medium Trust -->
<add name="CultureHelperHttpModule"
type="mojoPortal.Web.CultureHelperHttpModule, mojoPortal.Web"/>


<!-- Comment the this out if running in Medium Trust -->
<add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload" />


<!-- if using Medium trust install NeatUpload in the GAC and un-comment this and comment out the one above -->
<!--
<add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule, Brettle.Web.NeatUpload, Version=1.2.2386.43025, Culture=neutral, PublicKeyToken=c95290d92c5893c8" />
-->

<!-- AJAX Extensions support -->
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

</httpModules>

 

<!-- if using Medium trust and the host has installed NeatUpload in the GAC then un-comment this -->
<!--
<neatUpload useHttpModule="false" maxNormalRequestLength="4096" maxRequestLength="2097151" defaultProvider="FilesystemUploadStorageProvider">
<providers>
<add name="FilesystemUploadStorageProvider"
type="Brettle.Web.NeatUpload.FilesystemUploadStorageProvider, Brettle.Web.NeatUpload, Version=1.2.2386.43025, Culture=neutral, PublicKeyToken=c95290d92c5893c8"
tempDirectory="C:\__joe\mojo21\Web\Data" />
</providers>
</neatUpload>
-->

<!--
To use the AJAX Extensions enabled mojoWebPartManager, copy this scriptmanager tag into the
MPPageEdit placeholder on MyPage.aspx and uncomment the script module in the httpmodules section
and put the compiled mojoWebPartManager into the bin or if working with code set a reference to the project
from mojoportal.web. Also uncoment the Microsoft.Web section up above

<asp:ScriptManager ID="ScriptManager1" EnablePageMethods="true" runat="server" />

-->


<!--
this sets the max size of an upload if the
UploadHttpModule is not being used. In that case, the
entire request is stored in memory so large uploads
could be used as a Denial of Service attack.
use you own judgement in determining the max size of
a request you want to allow.
-->
<httpRuntime maxRequestLength="2097151" executionTimeout="360" useFullyQualifiedRedirectUrl="true" />

<!-- set debugmode to false for production -->
<compilation debug="false" defaultLanguage="C#">

<assemblies>

<!-- if using Medium trust install NeatUpload in the GAC and un-comment this -->
<!--
<add assembly="Brettle.Web.NeatUpload, Version=1.2.2386.43025, Culture=neutral, PublicKeyToken=c95290d92c5893c8"/>
-->

<!-- AJAX Extensions suport -->
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<!-- comment this out for Mono -->
<add assembly="Microsoft.Web.Preview, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>


</assemblies>

<!-- AJAX Extensions suport
<buildProviders>
<add extension="*.asbx" type="Microsoft.Web.Preview.Services.BridgeBuildProvider"/>
</buildProviders>
-->

 

</compilation>

<!--mojoPortal supports either Forms authentication (Internet)
or Windows authentication (for intranets). Forms Authentication is
the default. To change to Windows authentication, comment the
<authentication mode="Forms"> section below, and uncomment the
<authentication mode="Windows"> section.

For using Active Directory or OpenLDAP use Forms authentication

<authentication mode="Forms">
<forms
name=".mojochangeme"
protection="All"
timeout="50000000"
path="/"

/>
</authentication>


<authentication mode="Windows" />
<authorization>
<deny users="?" />
</authorization>

-->

<authentication mode="Forms">
<forms
name=".mojochangeme"
protection="All"
timeout="50000000"
path="/"

/>
</authentication>

 

<!--
<identity impersonate="false" />
-->

<anonymousIdentification
enabled="false"
cookieName=".ASPXANONYMOUS"
cookieTimeout="43200"
cookieSlidingExpiration="true"
cookieless="UseCookies"
cookieProtection="All"
/>


<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.

"On" Always display custom (friendly) messages.
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.

-->
<customErrors mode="RemoteOnly" defaultRedirect="Error.htm">
<error statusCode="404" redirect="~/PageNotFound.aspx" />
</customErrors>


<!-- set enabled to true if you want to trace -->
<trace
enabled="false"
writeToDiagnosticsTrace="true"
requestLimit="50"
pageOutput="true"
traceMode="SortByTime"
localOnly="false" />


</system.web>

<!-- this section only applies to IIS 7 -->
<system.webServer>

<validation validateIntegratedModeConfiguration="false"/>

<modules>
<add name="GCheckoutBasicAuthenticationModule" type="mojoPortal.Web.GCheckoutBasicAuthenticationModule, mojoPortal.Web" />

<add name="BannedIPBlockingHttpModule"
type="mojoPortal.Web.BannedIPBlockingHttpModule, mojoPortal.Web"/>

<add name="UrlRewriter" type="mojoPortal.Web.UrlRewriter, mojoPortal.Web" />

<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</modules>
</system.webServer>

 


<!-- DEM -->
<system.net>
<mailSettings>
<smtp from="DaleEMoore@gMail.Com">
<network
host="mail.mooreworks.net"
port="25"
password=""
userName="mworks@mooreworks.net"
defaultCredentials="true"
/>
</smtp>
</mailSettings>
</system.net>

<!--########################## SubSonic ###############################-->
<!--
templateDirectory - you can override the generated code template by creating your own. See the
samples in the Dev directory. This needs to be an absolute link.
generatedNamespace - if you don't want to use the Global, specify it here
spClassName - use your own class name for SPs. The defaul is "SPs"
fixPluralClassNames - If you have pluralized tables and you want singular, set this here.
useSPs - If you don't want the build provider to wrap your SPs, set this to false, default is true.
stripTableText - the text to strip from table names (comma separated values, case-sensitive)
stripSPText - the text to strip from SP names (comma separated values, case-sensitive)
stripViewText - the text to strip from view names (comma separated values, case-sensitive)
ex. stripViewText="Summary of,Totals"
Be careful defining your text to strip because it will strip every match.
If you want to strip "csk_store_" for example and everything else just strip
"csk_" make sure to put "csk_store_" first or it will strip "csk_" and then won't find "csk_store_".
stripColumnText - the text to strip from column names (comma separated values, case-sensitive)
stripParamText - the text to strip from SP paramater names (comma separated values, case-sensitive)
Note that all strip properties don't affect actual DB values and are just for SubSonic generated code.
appendWith - the text to append onto reserved words if any are found, default is "" so convention errors can be seen.
spStartsWith - only use stored procedures that start with this text (comma separted values, case-sensitive)
ex. spStartsWith="C,S"
default is "" so all SPs are used.
viewStartsWith - only use views that start with this text (comma separted values, case-sensitive)
default is "" so all views are used.
relatedTableLoadPrefix - An optional prefix to prepend to all for foreign key and primary key methods and
properties. Typical values would be "Get", "Load", "Fetch", etc.
removeUnderscores - Set to true to remove underscores from generated object names
default is false

excludeTableList A Comma-separated list of tables you DON'T want generated as classes
includeTableList A Comma-separated list of tables you DO want generated as classes. This list is EXCLUSIVE (meaning no other
tables will have generated classes other than what you specify here) and TRUMPS excludeTableList.

-->

<SubSonicService defaultProvider="subsonicMSSQL" enableTrace="false">
<providers>
<clear/>

<add name="subsonicMSSQL" type="SubSonic.SqlDataProvider, SubSonic"
connectionStringName="Subsonic-MSSqlServer"
generatedNamespace="mojoPortal.Data.Common"
stripTableText="mp_,ws_"
removeUnderscores="true"
useSPs="false"
/>

<add name="subsonicMySql" type="SubSonic.MySqlDataProvider, SubSonic"
connectionStringName="Subsonic-MySql"
generatedNamespace="mojoPortal.Data.Common"
stripTableText="mp_,ws_"
removeUnderscores="true"
useSPs="false"
/>

<add name="subsonicSQLite" type="SubSonic.SQLiteMonoDataProvider, SubSonic"
connectionStringName="Subsonic-SQLite"
generatedNamespace="mojoPortal.Data.Common"
stripTableText="mp_,ws_"
removeUnderscores="true"
useSPs="false"
/>

<add name="subsonicPostgreSql" type="SubSonic.NpgsqlDataProvider, SubSonic"
connectionStringName="Subsonic-pgSqlServer"
generatedNamespace="mojoPortal.Data.Common"
stripTableText="mp_,ws_"
removeUnderscores="true"
useSPs="false"
/>

<add name="subsonicFirebirdSql" type="SubSonic.FbDataProvider, SubSonic"
connectionStringName="Subsonic-Firebird"
generatedNamespace="mojoPortal.Data.Common"
stripTableText="MP_,WS_"
removeUnderscores="true"
useSPs="false"
/>


<!--





<add name="subsonicFirebirdSql" type="SubSonic.OracleDataProvider, SubSonic"
connectionStringName="Subsonic-MSSqlServer"
generatedNamespace="mojoPortal.Data.Common"
stripTableText="mp_,ws_"
removeUnderscores="true"
useSPs="false"
/>


<add name="mojosubsonic" type="SubSonic.MySqlInnoDBDataProvider, SubSonic"
connectionStringName="Subsonic-MSSqlServer"
generatedNamespace="mojoPortal.Data.Common"
stripTableText="mp_,ws_"
removeUnderscores="true"
useSPs="false"
/>





-->

</providers>
</SubSonicService>

 

<!-- these connection strings are only used by SubSonic during initialization of the provider they are
overridden by custom code which retireves the connection string form the appSettings section
so these don't have to be correct but must be present and can't be empty -->
<connectionStrings>
<clear/>

<add name="Subsonic-MSSqlServer" connectionString="server=(local);UID=sa;PWD=foo;database=ztest1" />
<add name="Subsonic-MySql" connectionString="Server=suselap;Database=mojo_dev;Uid=root;Pwd=;Charset=utf8;" />
<add name="Subsonic-SQLite" connectionString="Data Source=C:\__dev\mojoportal\joeaudette\Web\Data\sqlitedb\mojoportal.db" />
<add name="Subsonic-pgSqlServer" connectionString="Server=suselap;Port=5432;User Id=mojo;Password=mojo123;Database=mojo2;Pooling=false;Encoding=UNICODE;" />
<add name="Subsonic-Firebird" connectionString="Data Source=localhost;Server Type=0;Port Number=3050;Database=C:\__dev\mojoportal\mojo4.fdb;Dialect=3;Charset=UTF8;Pooling=True;Min Pool Size=0;Max Pool Size=200;Connection Timeout=10;Connection Lifetime=60;Fetch Size=200;User Id=SYSDBA;Password=masterkey" />

</connectionStrings>
</configuration>

And the user.config also has nothing like 'add key="Lucene.Net.lockdir"'.

 

 

You must sign in to post in the forums. This thread is closed to new posts.