HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1adding aspx page in DNN portaladding aspx page in DNN portal
Previous
 
Next
New Post
4/10/2008 11:24 AM
 

Hi Guys,

I have a  requirement where in i have .aspx pages  which are already developed using asp.net 2.0  and that  needs to integrate with DNN  portal. Is have gone through DNN framework documentation and found Page Management whch will be used to create pages in DNN  portal and then  we need to have modules on the page . But is there any way  we can use  the existing  .aspx pages ?

The question is  do we have such kind of functionality for integration other .aspx page in DNN ? If yes please let me know the details. If not then don't you  thik it is a good idea  to have in  the future  DNN version cause it will take less time to build application and  will provide ease for migration from other  asp.net application to DNN  portal  so as  to use DNN powerful features.

Will appreciate any help regarding this.

Thanks

Vijay

 

 

 
New Post
4/10/2008 2:20 PM
 

Vijay,

Typically other ASP.NET pages are included in a subdirectory of the site, which is a separate virtual directory in IIS.  This post talks about a couple of considerations to take when doing that: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/199612/scope/posts/Default.aspx.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000
DNN Gold partner specializing in custom, enterprise DotNetNuke development.
 
New Post
4/11/2008 10:22 AM
 

Thanks  Brian,

As per  the solutions provided in  the  specified post  if we  make changes  in the Web.config for DNN  and having Sub Folder as a virtual directory  we can access the contents ( aspx ) pages inside that sub directory.

But if we try to access the DNN  project  home page its fires an error( which i think requires those Web.config settings again ). IS there any way i can be able access both applications  i mean DNN  Project  as well as  external  asp.net  which is a sub folder inside DNN Project. My objective is  to integrate  the existing asp.Net Website inside DNN so that  we can  redirect  users to  this site while using DNN Website ( which is going to  be our intranet site).

Any  help will be  appreciated.

Thanks

Vijay

 
New Post
4/11/2008 2:00 PM
 

You need to put the modified web.config in the subdirectory, to remove everything that the web.config in the root DNN directory adds.  You shouldn't have to make any changes to the main web.config in your website's root to get this to work.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000
DNN Gold partner specializing in custom, enterprise DotNetNuke development.
 
New Post
4/11/2008 3:10 PM
 

 

Hi Brian

 

Thanks For your suggestions..

 

Please see  my step by step process

 

 Assuming  the Web.Cofig file  in Root  Folder of DNN  is without any modification.( original )

 

  1. Created a  New Folder " MySite" as a Subdirectory in DNN.
  2. Make the  "MySite" Folder as a  Virtual Folder.
  3. Added a  Web.Config file in “ MySite” folder.
  4. Delete the Contents  from  Web.Cofig file.
  5. Copy the Contents of Web.Config from Root Folder  of DNN Project and paste in Web.Cofig file in “MySite” Folder.
  6. Modified the Web.config file in “MySite” folder as per describe  in the specified Post.
  7. Open an Internet  Browser and type http://localhost/DotNetNuke/MySite/Default.aspx

 

It gives a Configuration  error in  C:\DotNetNuke\web.config   

 

 
Line 125:      <codeSubDirectories>
Line 126:     
Line 127:        <add directoryName="HTML" />
Line 128:        <add directoryName="IFrame" />
Line 129:        <add directoryName="ThingsForSale" />

 

 

Please note the Error Location is From  Root Folder Web.Config file.

This is  leading me to make change in the Root Folder Web.config file.

But if I make changes in root folder then I am not able to access 

 

http://Localhost/DotNetNuke

 

Please let me know if I am missing  anything here

 

 

Thanks

vijay

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1adding aspx page in DNN portaladding aspx page in DNN portal


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.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.