CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 migratoin .net 1.1 to .net 2.0

Print topic Send  topic

Author Message
gesto


Posts: 42
Posted: 06/28/2007, 9:17 AM

I publish my project ,in a different folder than the older 1.1 project and verified if the IIS folder has been set up to .Net 2.0, without any bug or warning but this error continues to appear in my project when I try to access it.

Quote :
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'Resources.strings' does not contain a definition for 'CCS_CustomOperationError_MissingParameters'

Source Error:


Line 295: {
Line 296: if(!IsParametersPassed){
Line 297: item.errors.Add("DataProvider",Resources.strings.CCS_CustomOperationError_MissingParameters);
Line 298: return 0;
Line 299: }


Source File: c:\Inetpub\wwwroot\gestogis\App_Code\DefaultFormDataProvider.cs Line: 297


anyone has a clue?

thanks
View profile  Send private message
gesto


Posts: 42
Posted: 06/28/2007, 9:36 AM

apparently this "Resources.strings." in 2.0 is a replace for the "rm.GetString(" of 1.1


but does anyone know how to solve this problem??
View profile  Send private message
dragoon


Posts: 173
Posted: 07/27/2007, 1:15 AM

regenerate the code for the whole project and for the custom code ... you have to do it yourself
I remember that I have migrated a project, too and was a real pain in the ass.

In a page, before starting my custom code block I put this:
ResourceManager rm = (System.Resources.ResourceManager)System.Web.HttpContext.Current.Application["rm"];

so I can make use of this method
rm.GetString("string",_lang)
I made this to select the appropiate translation based on CultureInfo _lang, which is impossbile by using Resources.strings.BlahBlah
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.