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  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
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!
 


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.

 


Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com

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