Installation newb from Sweden

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

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.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
5/16/2009 12:30:15 PM
Gravatar
Total Posts 3

Installation newb from Sweden

Hi Joe!

So registered here!

- Yes, I did delete the DotNetOpenId.dll - file.

Do I need to delete all SQLite-files and replace them with the MSSQL-version?

I also tried to change that line that would give you more detailed info, but nothing happened.

This is info from the webhost:
ASP: ASP / ASP.NET (1, 2 och 3.5)
Komponenter: ASPEmail, ASPUpload
PHP: Ja, PHP5

MySQL: 1 st (100 MB max)
MSSQL: Ja, tillvalstjänst
Access: Ja

"Ja" = Yes.

As you can see, we have MySQL , MSSQL as an option, and we have Access.

[quote]Hi Phil,

On Fri, May 15, 2009 at 5:07 PM, Webmaster TTF
wrote:
> Found out that we do indeed have 3.5!
> Does that mean we rather should try the ordinary MSsql-version?
>
> But, what do you make of this?
> http://www.sverigestaltidningar.se/Setup/Default.aspx
>
> I changed the config file from the fulltrust to the medium trust.
>

Did you delete the file DotNetOpenId.dll from the /bin folder?
My guess is you are running in medium trust so SQLite is not an
option. You need to find out if your host can provide you an MS SQL
database.

If it still shows the same error after deleting the DotNetOpenId.dll
then edit your Web.config file, look for this:

and change it to this:

This should show more error detail, once your site is working you
should change that setting back to RemoteOnly so that we don't provide
useful error information to hackers.
Please if you have further questions can you register on
mojoportal.com and post in the forums?

Best,

Joe

 

>
> ________________________________
> Från: Joe Audette
> Skickat: den 12 maj 2009 15:07
> Till: webmaster@sverigestaltidningar.se
> Ämne: Re: mojoPortal: Installation newb
>
> Its worth a try. Its not clear if you have .NET 1.1, 2.0, or 3.5, so
> I'm not sure.
> Also if your host enforces a medium trust policy it won't work with
> SQLite, it will throw security errors. If its full trust it should
> work.
> Just download the mojoportal-2-3-0-1.sqlitereleasefiles.zip
> Extract it on your local machine
> upload the contents (not the folder itself) of wwwroot folder to the
> root folder of your hosted web
> In your web control panel you may need to edit permiossions to make
> the /Data folder writable
> Visit yoursiteeroot/Setup/Default.aspx
>
> Hope it works for you. If it is medium trust hosting, then find out if
> they offer an MS SQL database which will work fine in Medium trust but
> will require a little extra configuration as described here:
> http://www.mojoportal.com/mediumtrust.aspx
>
> Best,
>
> Joe[/quote]

5/16/2009 12:34:13 PM
Gravatar
Total Posts 18439

Re: Installation newb from Sweden

Yes, it won't run at all in medium trust with the sqlite dlls in there. But the MS SQL version is only going to work if you have an MS SQL database and set a valid connection string  http://www.mojoportal.com/mssqlsetup.aspx

You may be able to use MySql, if the host has the correct version of MySql connector installed in the global assembly cache on the server, but for the fewest difficulties I would go with MS SQL.

Hope it helps,

Joe

5/16/2009 12:41:50 PM
Gravatar
Total Posts 3

Re: Installation newb from Sweden

Ok Joe, I'll try and get the MSSQL running then.

And see what happens. It's the setup around that was the problem from the start: the paths and so on... but I'll give it a try!

 

5/16/2009 12:51:36 PM
Gravatar
Total Posts 3

Re: Installation newb from Sweden

Eh... stupid question... but how do I create my db?
And user...?

Is it possible to put all the mojo-files in a folder of its own, or does it have to be in the root?

Best,
PHil

5/16/2009 12:53:57 PM
Gravatar
Total Posts 18439

Re: Installation newb from Sweden

Usually the web control panel provided by the host has tools to do that and after you create the db it should show you a valid connection string or at least the needed settings like server name db name dbuser name. 

Hope it helps,

Joe

5/16/2009 12:55:34 PM
Gravatar
Total Posts 18439

Re: Installation newb from Sweden

You should put it in the root for fewest troubles in my opinion. ie the contents of the wwwroot folder in the mojoportal download goes into the root of the web site. 

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