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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

OnyakTech
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.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Refernces breaking on deploy
Previous Previous
 
Next Next
New Post 6/6/2008 11:56 AM
Resolved
User is offline cs6505
18 posts
10th Ranked


Refernces breaking on deploy 
Hi all,
            I am working in DNN 4.7. I develop on my PC. It compiles and runs fine with no errors. When I move to the QA Server and try to run the site… on the initial compile when I first go to pull up the site, I get errors such objects not defined, etc. etc. So I had to go into the code and change it to explicitly call objects. For example,

 In the default.aspx page I had to change...

Dim objCSSCache As Hashtable = CType(DataCache.GetCache("CSS"), Hashtable)

to

Dim objCSSCache As Hashtable = CType(DotNetNuke.Common.Utilities.DataCache.GetCache("CSS"), Hashtable)

 

 in order to make the error go away I did similar changes on several lines and now I am getting "Object Reference not set to an instance of an object" but with no page or line number to look at and debug. My dev box is windows XP Pro. The QA Server is Windows Server 2003 R2.

My question is it possible that some setting on the QA Server is causing this error? I don't think I should have to change any of the original DNN code as it was release quality. So I am thinking it has to be something about the environment. The app runs fine on all our machines except the QA Server.  Our dev team did not configure the QA Server, corporate IT did and it is appears to be on lockdown.

As always, thanks for any hints or advice,

Chris

 
New Post 6/6/2008 10:43 PM
User is offline eck two
330 posts
8th Ranked


Re: Refernces breaking on deploy 

Skip the recompiling step on your QC server.  There is no need to compile after it is running on your PC.

 
New Post 6/7/2008 6:30 AM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Refernces breaking on deploy 

What is happening is that if you do a compile of dnn on your QA server some of the DLLs get updated with new version codes.
These new dlls are then references by your modules instead of the DNN core versions.

When you then try to move any elements to production server - any compiled modules that u try to copy across will have references
to different versions of the core libraries.

Basically, you should not be compiling the DNN source code at all.
This will get you into all sorts of problems.

You should create a build environment for your development that turns off all compiles of the core since there is really no reason at all
for you to compile the core - and it also really slows down you development roundtrip times.

Westa

 
New Post 6/9/2008 6:40 AM
User is offline cs6505
18 posts
10th Ranked


Re: Refernces breaking on deploy 

Thanks for the reponses guys. I would never have figured that one out. Anyways, it is resolved now. I appreciate your help.

thanks again,

Chris

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Refernces breaking on deploy
 


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