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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...C#  in 4.3.5 !!???C# in 4.3.5 !!???
Previous
 
Next
New Post
9/29/2006 5:28 AM
 

Has ANYONE got C# to function in 4.3.5?? If so, do you mind telling me how?

I have installed it and I can create a new C# module but when I try to compile - DNN bombs.

Thanks in advance

 

 
New Post
9/29/2006 8:04 AM
 
Derrix wrote

Has ANYONE got C# to function in 4.3.5?? If so, do you mind telling me how?

I have installed it and I can create a new C# module but when I try to compile - DNN bombs.

---slight modification---

I realize that the system first bombs AFTER a restart of VS. THat is, I can add a C# module and compile - and DNN seems to work alright (doesn't show the new module tho'?).

HOWEVER, after shutting down VS and restarting - I just get "The page cannot be displayed" "Cannot find server or DNS Error"

------

Thanks in advance

 

 
New Post
9/29/2006 5:56 PM
 
There is one thing that springs to mind that you need to do in order to get different languages to work together in a VS52005 web project.  You must define the subdirectories in your App_Code folder in the web.config. The modules I created in 4.3.5 were created from existing 3.3.5 modules using the Module Upgrade Wizard, which automatically inserts those confg tags.  I don't know if the templating does that for you or not.

In the <compilation> tag, there is a <codeSubDirectories> tag.  Inside of that tag, there should be an example commented out, but you need to put <add directoryName="[directoryName]"/>.  For example, in your app_Code folder, you have a CSharpModule folder, then you need:

<compilation>
...
    <codeSubdirectories>
       <add directoryName="CSharpModule"/>
    </codeSubDirectories>
</compilation>

If that isn't your problem, a specific error message could be very helpful.  Good luck!

Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
10/2/2006 4:44 AM
 

HI

Thanks - yes I have checked that and it works OK.

More specifically (envir: XP XP2 + updates / VS 2005) :

"UPgraded" to 4.3.5 from 4.3.4 as I could not get the C# template to install. OK now - the C# module template is there - but it only works for the first round and then it dies. I.e., everything DOES compile and links OK !! and displays !! BUT ...

After restarting VS I get "The page cannot be displayed - Cannot find server or DNS Error"

Any suggestions would be great.

Thanks in advance..

 

 

 
New Post
10/6/2006 1:45 PM
 
Hi,

If you can log in as Admin and view the log and if there is one, post it here for us to have a look.
That would be helpful.
Also did the c# module work in 4.3.4 for you?
If it did work then there is not much of a major diff between versions.
To confirm that for yourself, get a hold of a free copy of winmerge from here http://winmerge.org/
and compare the 2 source directories of 4.3.4 and 4.3.5 if there are no major differences.
you have your answer.

Also if templates dont install in vs, no big deal.
Extract the module_cs.zip from this folder \DotNetNuke 4.3.5\DotNetNuke_4.3.5_StarterKit
and manually copy them over to your web and rename folders as needed.
Template starterkit is nothing but a zip file packaged with a vscontent file in it, it's usually installed in this location

C:\Documents and Settings\<yourname>\My Documents\Visual Studio 2005\Templates\ProjectTemplates

You can create templates on your own. open any project in vs 2005 and on the file menu click export template.. and follow prompts, then navigatet to the destination folder and see it. you will be suprised.
see this article How to: Create Project Templates http://msdn2.microsoft.com/en-us/library/xkh1wxd8.aspx

As for c# modules working in 4.3.4
YES it does visit my site and see the "Get Inspired" tab, its completly done in c#.
I will try it out in 4.3.5 and post my findings here.


Regards KM
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...C#  in 4.3.5 !!???C# in 4.3.5 !!???


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