Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDevelopment in VisStudio5 and ASP.NET 2.0Development in VisStudio5 and ASP.NET 2.0
Previous
 
Next
New Post
9/14/2006 8:58 AM
 
I actually just extracted the source code into the DesktopModules\Store\ folder within my DNN 4.3.4 source code directory.

I can get DNN source to compile in VS2005, but when I follow the instructions above by pointing at the DotNetNuke.dll in the website\bin\ folder it all seems to be fine apart from I get this error:

Error    1    Cannot evaluate the item meta-data "%(FullPath)". The item meta-data "%(FullPath)" cannot be applied to the path "bin\Debug\Native.DotNetNuke.Modules.Store.Providers.Shipping.DefaultShippingProvider.SqlDataProvider.manifest". The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.    BuildSupport

My project is sitting: D:\projects\DotNetNuke\DotNetNuke_4.3.4_Source\Website\DesktopModules\Store\

I found that if I moved it to:
D:\projects\DotNetNuke_4.3.4_Source\Website\DesktopModules\Store\

with a shorter file path it seems to work. Probably a good idea to take this into account with the namespacing and project naming in future modules.

 
New Post
9/14/2006 9:53 AM
 
I've actually got the app bulit and run it in debug mode and got this error:

DotNetNuke.Modules.Store.Providers.ProviderController

It's calling:

ProviderInfo getProviderInfo(string providerPath)
providerPath = "D:\\projects\\DotNetNuke_4.3.4_Source\\Website\\DesktopModules\\Store\\Providers\\TaxProviders\\bin\\"

The file it's looking for is
infoFile = "D:\\projects\\DotNetNuke_4.3.4_Source\\Website\\DesktopModules\\Store\\Providers\\TaxProviders\\bin\\binInfo.xml"

And it's not there. What is this binInfo.xml stuff?

Can someone point me in the right direction?

I basically made all buids of the Store Solution put the bin directory as
D:\projects\DotNetNuke_4.3.4_Source\Website\bin
by relative paths e.g. '..\..\..\bin' etc.
 
New Post
9/14/2006 10:45 AM
 
Ok, after looking at the logic of the code and wondering why it wasn't brekaing on the compiled copy I worked out what was happening. One of the relative paths to the website\bin folder was wrong for DefaultTaxProviders and it actually created a new bin folder under TAxProviders folder...so this was caught in the loop and wanted an xml file. I've fixed this now. Sorry for flooding the messages. Maybe someone else will find this useful regarding providers at a later date
 
New Post
10/2/2006 4:29 PM
 

Here's what I did to get to a faultless build with VS2005...


 DJB-1101         Source: Upgrade Solution to VS2005


Removed web project reference to http://localhost\dotnetnuke
Added web project reference to http://localhost/dotnetnuke_2

 DJB-1102         Source: Fix Reference Errors


Store.Admin                                   DotNetNuke, Providers
Store.Admin.SqlDataProvider                   DotNetNuke, Admin
Store.Cart                                    DotNetNuke, Cart
Store.Cart.AuthorizeNetProvider             DotNetNuke, Admin, Cart, Components, Customer*
Store.Cart.PayPalProvider                     DotNetNuke, Admin, Cart, Components, Customer*
Store.Cart.SqlDataProvider                    DotNetNuke
Store.Catalog                                 DotNetNuke
Store.CatalogSqlDataProvider                 DotNetNuke
Store.Components                              DotNetNuke
Store.Customer                                DotNetNuke
Store.Customer.SqlDataProvider             DotNetNuke
Store.Providers                               DotNetNuke          
Store.Providers.Address.DefaultAddressProvider                   DotNetNuke
Store.Providers.Address.DefaultAddressProvider.SqlDataProvider    DotNetNuke
Store.Providers.Shipping.DefaultShippingProvider                  DotNetNuke
Store.Providers.Shipping.DefaultShippingProvider.SqlDataProvider  DotNetNuke          
Store.Providers.Tax.DefaultTaxProvider                            DotNetNuke
Store.Providers.Tax.DefaultTaxProvider.SqlDataProvider            DotNetNuke
Store.WebControls                                                 DotNetNuke
  BuildSupport: 0 Errors, 33 Warnings


 DJB-1103         Verify References and Use


Removed unused references from projects references and source using/imports
Notes: Store.Cart.AuthorizeNetProvider, Microsoft.VisualBasic required.
Could move to common tools if used elsewhere (Store.Components.VisualBasicUtilities) 


 DJB-1104          Source: Fix Compiler Warnings 


IAddressProvider.cs                 CS0108 hides inherited member (defined in base)
ProviderFactory.cs                  CS0162 unreachable code
ShippingControlBase.cs              CS0108 hides inherited member (defined in base)
PaymentControlBase.cs               CS0618 obsolete (requires testing)
ReviewInfo.cs                       CS0618 obsolete
DefaultAddressProfile.ascx.cs       CS0105 duplicate namespace
AddressController.cs                CS0108 hides inherited member (defined in base)
DefaultAddressCheckout.ascx.cs      CS0414 never used
DefaultTaxCheckout.ascx.cs          CS0414 never used
AccountSettings.ascx.cs             CS0168 never used
DefaultShippingCheckout.ascx.cs     CS0169 never used
BuildSupport: 0 Errors, 14 Warnings (known issues)

Notes: Requires refactoring and code reuse.


 DJB-1105          Fix obsolete SQLDataProviders configuration managers


AdminSqlProvider.cs                        CS0618 obsolete *
Catalog.SqlDataProvider.cs                 CS0618 obsolete *
Cart.SqlDataProvider.cs                    CS0618 obsolete *
Customer.SqlDataProvider.cs                CS0618 obsolete *
DefaultAddressProvider.SqlDataProvider.cs  CS0618 obsolete *
DefaultShippingProvider.SqlDataProvider.cs CS0618 obsolete *
DefaultTaxProvider.SqlDataProvider.cs      CS0618 obsolete *

//DotNetNuke.Framework.Providers.Provider objProvider = ((DotNetNuke.Framework.Providers.Provider)(_providerConfiguration.Providers[_providerConfiguration.DefaultProvider]));

//if (objProvider.Attributes["connectionStringName"] != "" && System.Configuration.ConfigurationSettings.AppSettings[objProvider.Attributes["connectionStringName"]] != "")

//{

// _connectionString = System.Configuration.ConfigurationSettings.AppSettings[objProvider.Attributes["connectionStringName"]];

//}

//else

//{

// _connectionString = objProvider.Attributes["connectionString"];

//}

Provider objProvider = ((Provider)(_providerConfiguration.Providers[_providerConfiguration.DefaultProvider]));

_connectionString = ConfigurationManager.AppSettings[objProvider.Attributes["connectionStringName"]];

if (_connectionString == "")

_connectionString = objProvider.Attributes["connectionString"];

For code readability...

Added using DotNetNuke.Framework.Providers;
Notes; Needs refactoring not cut & copy 
BuildSupport: 0 Errors, 0 Warnings (faultless, complete build)

Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDevelopment in VisStudio5 and ASP.NET 2.0Development in VisStudio5 and ASP.NET 2.0


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out