Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Media Module [L...  String.replace: String cannot be of zero length. Parameter name: oldValue
Previous Previous
 
Next Next
New Post 8/3/2007 2:24 AM
User is offline Alok Gupta
1 posts
10th Ranked


String.replace: String cannot be of zero length. Parameter name: oldValue 

I am using 4.5.4. We need to replace ® in the string like

str1.Replace("®",""). But gives error.. String cannot be of zero length. Parameter name: oldValue.

this works properly in other website. It is an upgrade to dnn 3.3.1.

 

 

 
New Post 8/12/2007 2:15 AM
Online now... Leigh Pointer
464 posts
www.subzero-solutions.net
8th Ranked










Re: String.replace: String cannot be of zero length. Parameter name: oldValue 

I personally have never liked the use of empty quotes.  Try using String.Empty instead


Leigh Pointer
User Group Champion [World Wide]
» Evangelising DotNetNuke Everywhere «

Dutch DotNetNuke User GroupSubzero SolutionsSoftware Developer Network
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Media Module [L...  String.replace: String cannot be of zero length. Parameter name: oldValue
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNhost Scandinavia
SUPER fast QuadCore DELL servers, MSSQL servers, DotNetPanel, daily backup, Check out our customers websites
DNNhost.dk
Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP