SQL AZURE Connection problems after adding some modules

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.
10/25/2009 5:40:18 AM
Gravatar
Total Posts 4

SQL AZURE Connection problems after adding some modules

Windows Vista (IIS 7.0)

SQL Azure

mojoportal-2-3-1-9-sqlazure

I have no problems in installing Mojo portal in my local IIS using SQL Azure as backend. I visited home page and it worked like a charm. I went into the content layout page and added Links module to the left side of my home page. Visted the Homepage and Boom, error cropped up

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

I have noticed if you try to add some modules then it is throwing this kind of error.

I am planning to write an article about taking mojo CMS to Cloud computing. If I can sucessfully manage to install and use all the futures then it will be a testimonail for both mojo and for SQL Azure. help me.

Many Thanks,

Supremestar

 

 

 

 

 

10/25/2009 6:11:39 AM
Gravatar
Total Posts 18439

Re: SQL AZURE Connection problems after adding some modules

Hi,

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.

Sounds like an issue of service reliability with SqlAzure.

When I test it on my local machine I do not get this error, though I have seen errors like this a few times in the course of my testing over a period of weeks but they are not frequent issues and I assume they are basically issues with the service itself. The service is a community technology preview so I expect occasional glitches. But this really is the challenge of cloud computing, can they really deliver on service reliability and uptime. Hopefully it will be very reliable when it becomes a production/commercial service.

Best,

Joe

10/25/2009 6:19:12 AM
Gravatar
Total Posts 4

Re: SQL AZURE Connection problems after adding some modules

Joe,

It is not a service issue. Cause when I am adding links module to the left of my homepage it is causing that error. When I deleted that module then it renders fine. That means some of the modules are not picking the SQL Connection.

I think when you compile some modules you might forgot to include the SQL Azure settings. Why I am saying this is, I have seen this line in WEB.config

<!-- Note that each db platform has its own connection string, but the database used depends on which data dlls are in the bin folder

it is not determined by configuration settings. -->

That means some of the dlls are not compiled using SQL AZURE or something like?

Many Thanks

Supremestar

 

10/25/2009 6:29:27 AM
Gravatar
Total Posts 18439

Re: SQL AZURE Connection problems after adding some modules

Ok, it could possibly be a packaging error. I will make a new package and post it in a little while.

Best,

Joe

10/25/2009 6:37:51 AM
Gravatar
Total Posts 4

Re: SQL AZURE Connection problems after adding some modules

Joe,

Many Thanks for your help. I will wait here for your signal.

Many Thanks,

Supremestar

10/25/2009 6:57:08 AM
Gravatar
Total Posts 18439

Re: SQL AZURE Connection problems after adding some modules

Ok, I've updated the package. If you download it again, probably the only file you need to replace is mojoPortal.Features.Data.dll in the bin folder.

Best,

Joe

10/25/2009 8:04:29 AM
Gravatar
Total Posts 18439

Re: SQL AZURE Connection problems after adding some modules

Hi,

I think there is still a bug. I will fix this for the next release, but for now I think you can work around it if you enter the same connection string for MSSQLConnectionString as you have for SqlAzureConnectionString

Best,

Joe

10/25/2009 1:26:18 PM
Gravatar
Total Posts 4

Re: SQL AZURE Connection problems after adding some modules

Thanks Joe for your timely help. I will be in touch with you.

 

11/11/2009 9:48:27 AM
Gravatar
Total Posts 18439

Re: SQL AZURE Connection problems after adding some modules

fyi, I have fixed this issue in mojoPortal 2.3.2.9

Best,

Joe

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