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.0Custom DNN ModuleCustom DNN Module
Previous
 
Next
New Post
7/7/2008 2:45 PM
 

So I'm trying to set up a custom module that will allow a user to specify certain criteria and then download a tab delimited text file.  I've already got this code working as an ASP.NET form and displaying through an iFrame, but why go through that hassle when I can just make it into a module instead.

However, when I create a new module project, if I try and add any controls to my view.ascx page, it gives me the following error:

"Error Creating Control - lblUser (or whatever my control is suppsed to be called)

'/LM/W3SVC/1/ROOT/DotNetNuke_2' is not a valid IIS application."

I'm running visual studio 2005, framework 2.0 and DNN 4.8.4 Starter Kit.   Any help you can give me would be much appreciated.  I'm still new to DNN, so it could just be that I missed something obvious.

 
New Post
7/7/2008 3:14 PM
 

I found the solution.  It turns out in the Web tab of my project, my IIS web server didn't exist.  As soon as I changed it to one that did everything showed up.

However, now it says "ASP.NET runtime error: Could not find part of the path C:\DotNetNuke\DotNetNuke\"  which is odd considering I can navigate to it through explorer.  Any ideas about that?

 
New Post
7/7/2008 10:54 PM
 

It means that ASP.NET application does not have access. It is usually not the same as a user account. You need to adjust the permissions of the root folder of the web application to allow access.

1) In IIS manager, right click on the web site and select properties, then click on the Home Directory tab. Note the Application Pool.
2) Now right click on the allipcation pool and select properties and click on the Identity tab.  Note the security account used (typically Network Service).
3) Now find the root folder using explorer and right click and select properties and click on the Security tab,

If the identity is in the list, ensure that full control is selected. If not, click edit and change it.  If it is not in the list click edit then add and select full control.

Now try it.


Dwayne J. Baldwin
 
New Post
7/14/2008 9:09 AM
 

I'm running IIS 5.1, I'm guessing that the directions you gave me are for IIS 7?

 
New Post
1/6/2009 1:52 AM
 

Anyone figure out a solution to this problem?  I'm getting it in both visual studio 2005 and 2008.   And I am running all of my local websites out of a single directory that has Everyone set to full permissions.   No matter what changes I try to make to the web application project, I get this error on my ascx files.

Warning 1 Z:\Programming\Marvici\xxx\xxx\xxx\xxx.ascx: ASP.NET runtime error: Could not find a part of the path 'Z:\Inetpub\DotNetNuke\'.

I have all of my Web Application Projects setup in a different sub directory from my sites that I use for testing.   And when I do a compile it copies all of the files over to the directory before running the debugger.

If someone has some information on how to fix this, I would be much appreciated.

Chaitanya

 
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom DNN ModuleCustom DNN Module


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