HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...BUG App_GlobalResources and BUG App_GlobalResources and 'Publish Web Site' in VS2005
Previous
 
Next
New Post
1/20/2006 11:39 AM
 

 

While i was installing, i found this problem. If you deploy your app with 'Publish Web Site', it don´t copy App_GlobalResources.

So you have your app working fine in your machine, and failing in server with strange things happening as:

1. <> Item in Lists
2. System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2753251
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +102
   DotNetNuke.Modules.Admin.PortalManagement.SiteSettings.cmdUpdate_Click(Object sender, EventArgs e)
3. Value cannot be null. Parameter name: format

That´s why App_GlobalResources are not loaded in "Localization.Localization.GetString("ModuleUnavailable")", in

Localization.vb, "GetResource(ResourceFileRoot"

 

If you try to copy by hand it doesn´t owrk, because the app is precompiled.

You have to copy all the app.

 

Which it the right way to deploy the app ?

 

Thanks in advance,
Eric

 

 

 
New Post
2/7/2006 5:50 PM
 

I have similar errors due to the same reason.

E.G :

DotNetNuke.Services.Exceptions.PageLoadException: Value cannot be null. Parameter name: format ---> System.ArgumentNullException: Value cannot be null. Parameter name: format at System.String.Format(IFormatProvider provider, String format, Object[] args) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase ctrlModule, Exception exc) at DotNetNuke.Modules.Admin.PortalManagement.SiteWizard.Page_Load(Object sender, EventArgs e)

Does it mean that we can't use "Publish Web Site" with DotNetNuke? 

Can DotNetNuke 4.0.2 be precompiled at all?

 


Michael Freidgeim http://geekswithblogs.net/mnf
 
New Post
2/10/2006 5:02 AM
 
To workaround the problem it is required to rename DotNetNuke App_GlobalResources  folder (e.g. to Dnn_GlobalResources) and change the constant ApplicationResourceDirectory in  DNNLibrary\Components\Localization\Localization.vb to the same name, e.g.

Public Const ApplicationResourceDirectory As String = "~/Dnn_GlobalResources"
See issue report.


Michael Freidgeim http://geekswithblogs.net/mnf
 
New Post
3/5/2006 8:57 PM
 
mfreidge wrote
To workaround the problem it is required to rename DotNetNuke App_GlobalResources  folder (e.g. to Dnn_GlobalResources) and change the constant ApplicationResourceDirectory in  DNNLibrary\Components\Localization\Localization.vb to the same name, e.g.

Public Const ApplicationResourceDirectory As String = "~/Dnn_GlobalResources"
See issue report.

 

i tried doing this but failed cos the source solution had heaps of build errors. how can i build just the dotnetnuke.dll without building the whole project.

im quite new at this, so please bear with me if i ask any stupid questions

 
New Post
3/6/2006 1:41 PM
 
djnitehawk wrote

i tried doing this but failed cos the source solution had heaps of build errors. how can i build just the dotnetnuke.dll without building the whole project.

In Solution Explorer you can select and build individual projects, in particular dotnetnuke library. See also similar thread.

If you need a help with  build errors, post them on one of the forums in a new thread.


Michael Freidgeim http://geekswithblogs.net/mnf
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DotN...Installing DotN...BUG App_GlobalResources and BUG App_GlobalResources and 'Publish Web Site' in VS2005


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.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.