Error: socket is not connected and no address was supplied

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.
8/8/2006 11:13:20 AM
Gravatar
Total Posts 15

Error: socket is not connected and no address was supplied

Hi Joe,

It's me again. I recently was experimenting a bit with a new custom made skin, but after uploading I got a very strange error message. I retraced my steps back again, but of no avail. I reuploaded the entire application (with the exception of web.config), dropped the tables and recreated them, nothing helped. The same darned error message keeps on popping up:

A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied


Do you know what is going on? I'd appreciate any advice...

Cheers,

Fedor
8/8/2006 11:22:49 AM
Gravatar
Total Posts 18439

Re: Error: socket is not connected and no address was supplied

Hi Fedor,

I've never seen that error before but it sounds like an error connecting to your db.
Are you sure your connection string is correct?

If you drop the tables and re-create them you do need to update your web.config, just type a space in it ands save it and upload it.
The reason is that any change to the web.config will cause the application to restart and you need this to happen becuase you have no data.
In the Application_Start event mojoportal will look and see if there are any rows in the mp_Sites table and if no rows are there it will try and create the default site data. So if you dropped all your tables you have no data and you need to make this event fire in order to get default data back.

Eventually the app will time out and restart on its own but making any change at all to your web.config will force it to happen right away.

Of course you should not need to do any of this to upload a new skin. If you upload a new skin, its best not to overwrite your old one, just use a different skin name then you can test to make sure it will work before setting it to use the skin in SiteSettings.

You can test a skin with http://yoursiteurl/Default.aspx?skin=yourskinname

Then if you are sure there are no errors caused by your skin go into site settings and make it the active skin.

For example:
http://www.mojoportal.com/Default.aspx?skin=centered1

Hope it helps,

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