Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Friday, December 05, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Toolbar
Forum for discussing the Toolbar module. Questions, comments, reviews and configurations.
Subject: ToolBar crashes
You are not authorized to post a reply.
 
Author Messages
Beau Geek
Lightweight
Posts:16

12/16/2006 10:57 PM Alert 
Hi.  I'm using Toolbar 1.7.6 on DNN 4.3.7.  I do a fresh install of Toolbar, drop an instance on a tab.  I view options, and try to add a button.  When I hit "Update," I get:

A critical error has occurred.
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

I've tried uninstalling Toolbar, restarting the application, and reinstalling.  Same error.

Help!

   Vikram
Beau Geek
Lightweight
Posts:16

12/16/2006 11:07 PM Alert 
To add to the above: the ToolbarSettings table contains values in the TabID and ModuleID fields; SettingValue is Null.

  Vikram
kevinmschreiner
Please Wait...
Posts:749

12/21/2006 9:06 AM Alert 
The general cause of this problem is usually related to a misconfiguration of the Microsoft XML library. To veryify this, the user will experience a basic inability to save any configuration parameters - and may experience other runtime errors due to the inability to save the XML configuration during runtime.

Do you have any ListX or Toolbar modules in place that are working? If not, this is most probably the cause of your troubles.

Toolbar and ListX save their configuration in Serialized XML format, which requires the use of the standard Microsoft XML library in order to perform serialization and deserialization of the configurations. The problem is identified through the Microsoft Support article:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;823196

If this is in a hosted environment, you should identify this issue directly to the hoster support, they are generally quick to comply because it is based on a Microsoft KB article (Noted Above).

"The XmlSerializer class generates and compiles code on the fly to perform serialization and deserialization. XmlSerializer uses Code Document Object Model (CodeDom) to perform the compilation. CodeDom compilation uses temporary files on a disk. If the worker process does not have the read permissions on the Temp directory and the write permissions on the Temp directory, then all calls to the Web service fail. Therefore, the worker process requires the read permissions on the Temp directory and the write permissions on the Temp directory. "

The problem is occurrs because the worker process does not have permissions to read to the process Temp directory, and the worker process does not have permissions to write to the process Temp directory.

To resolve this problem, the ASP.NET worker process account (ASPNET or NETWORK SERVICE under Windows 2003) must have read and write access to the Temp directory. To assign the required permission to the worker process on the Temp directory follow these steps:

To assign required permissions to the worker process account on the Temp directory, follow these steps:

1. In Microsoft Windows Explorer, locate the %windir%\temp directory.

2. Right-click %windir%\temp, and then click Properties.

3. In the Properties window, click the Security tab.

4. Click Add, type ServerName\ASPNET, and then click OK.

Note Replace ServerName with the name of the Web server.

Replace ASPNET with NETWORK SERVICE if you deployed your
application on IIS 6.0.

5. Under Allow, click to select the Full Control check box, and then click
OK.


Kevin M Schreiner

Business Intelligence Force, Inc. (bi4ce)
Beau Geek
Lightweight
Posts:16

12/21/2006 12:08 PM Alert 
I have an instance of ListX on the same site, same portal that's working perfectly. In fact, it's on the very page that I'm trying to add an instance of Toolbar.

So, what are the other possibilities?  I don't think it's elated to a misconfiguration of the Microsoft XML library.

  Vikram
You are not authorized to post a reply.
Forums > Bi4ce.Modules > Toolbar > ToolBar crashes



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation