Newbie installation problems

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.
1/16/2012 6:38:46 AM
Gravatar
Total Posts 2

Newbie installation problems

Hi all, tried to install mojo on hosted server but with no luck.

When ever i try to run the setup i get an error.

I think it's the connection string.

My site is hosted on winserver with Mysql.

i've uploaded the files from mysqldatalayer-GPL as described.

this is what my IP says about the connection string:

<%@ Import Namespace = "MySql.Data.MySqlClient" %>

<%@ import namespace = "system.data.oledb" %>
<%

Dim conn As New MySql.Data.MySqlClient.MySqlConnection

Dim myConnectionString as String
myConnectionString = "server=db.ditdomæne.dk;" _

& "uid=webXXXX;" _

& "pwd=XXXX;" _

& "database=webXXXX;"
Try

conn.ConnectionString = myConnectionString

conn.Open()
Catch ex As MySql.Data.MySqlClient.MySqlException response.write (ex.Message)

End Try

%>

i'm a bit confused about how to incorporate that into user.config

Hope somebody can help 

1/17/2012 6:25:03 AM
Gravatar
Total Posts 18439

Re: Newbie installation problems

They are just showing an example using VB.NET code, you don't need to write any code you just need to set the conection string in user.config and make sure you have installed the MySql Data layer dlls and setup files for mojoPortal

<add key="MySqlConnectionString" value="Server=db.ditdomæne.dk;Database=webXXXX;Uid=webXXXX;Pwd=XXXX;Charset=utf8;" />

1/18/2012 3:52:43 PM
Gravatar
Total Posts 2

Re: Newbie installation problems

Thanks Joe, that solved the problem.

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