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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Refernces breaking on deployRefernces breaking on deploy
Previous
 
Next
New Post
6/6/2008 1:56 PM
 
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/7/2008 12:43 AM
 

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 8:30 AM
 

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 8:40 AM
 

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
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Refernces breaking on deployRefernces breaking on deploy


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