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 ...Compile problem in VS2005 with InstallWizard.aspx.vbCompile problem in VS2005 with InstallWizard.aspx.vb
Previous
 
Next
New Post
9/14/2007 8:10 AM
 

Hi all,

I am having a problem compiling DNN 4.5.5 in VS2005. I recieve an error in the InstallWizard.aspx.vb file on all lines where the dataProvider is mentioned:

 Line 53: Private dataProvider As DataProvider = dataProvider.Instance()

Line 1121: Dim builder As DbConnectionStringBuilder = dataProvider.GetConnectionStringBuilder()

Line 1149: connectionString = dataProvider.Instance.TestDatabaseConnection(builder, owner, txtqualifier.Text)

Is there even a DataProvider associated with the InstallWizard? Is this a problem with references / packages or is there simply no DataProvider?

The DNN-Site runs fine. It's just a problem within Visual Studio 2005.

I have spent the last two days (work time)  trying to figure this out. I would appreciate any solutions, tips, clues or whatnot. Very frustrating losing two days for something so basic (and problably totally simple).

Thanks in advance.

 
New Post
9/14/2007 12:18 PM
 

you cannot compile the web site, only the library.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/17/2007 9:34 AM
 

leupold wrote

you cannot compile the web site, only the library.

Hi and thanks for the reply.

I tried just compiling the librarby and that does seem to work. However, on page 43 of DotNetNuke 4.0 Module Development (Part 1).pdf, the following appears:

After the content for each file has been inserted, you will then build the site. From the menu bar, select Build then Build Web Site

My goal: Download the complete DNN source and have full controll to change whatever in the core framework and be able to add my own modules. I downloaded the Source Package DotNetNuke_04.05.05_Source.zip for this purpose.

Questions:

1. Was this the right choice?

If yes, what am I doing wrong? Steps: 1) download, unzip and copy into inetpub under folder mysite.de
2. set up virtual directory (I created the app in IIS, points to mysite.de\website and there is only one web.config file).
3. I opened the project in VS2005 (File -> Open -> Website...is this the right way? Or over local IIS? It's all on my dev machine right now)
4. From file system I picked out the directory mysite.de or alternatively mysite.de\website; I have tried both
5. Compile

 When I open from the mysite.de directory I get errors regarding account allowDefinition in the web.config file (only in VS2005, the portal runs fine ) and when I start from the mysite.de\website directory I get the compile errors in the InstallWizard.aspx.vb file that I originally posted.

If compiling the Library is the solution, ok. Maybe the problem is solved. Does anything else here sound wrong?

Thanks in advance. 

 
New Post
9/17/2007 1:12 PM
 

lsrobin23 wrote

 

My goal: Download the complete DNN source and have full controll to change whatever in the core framework and be able to add my own modules. I downloaded the Source Package DotNetNuke_04.05.05_Source.zip for this purpose.

Questions:

1. Was this the right choice?

You don't need the source to write modules. You might even decide to strictly separate your changes to the core from your module development. Or do you think anybody can help you if you work with your own core version AND your own module code at the same time?

lsrobin23 wrote

If yes, what am I doing wrong?  

I do the following steps to work with the source version.

  1. (setup my server (IIS/ ASP.NET/ SQL Express))
  2. Download DNN and unzip
  3. Setup NTFS permissions (Anonymous needs read permission, asp.net/ network service needs full access...)
  4. copy release.config (or development.config) as web.config
  5. setup virtual directory.
  6. edit dotnetnuke.sln with an editor to adjust the path of the virtual directory (if not already using http://localhost/dotnetnuke_2)
  7. open dotnetnuke.sln in VS
  8. build entire project (not the website, this is not needed at all!)
  9. open my site (localhost/dotnetnuke_2) and run installation

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Compile problem in VS2005 with InstallWizard.aspx.vbCompile problem in VS2005 with InstallWizard.aspx.vb


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