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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesWeb Application Project and web.configWeb Application Project and web.config
Previous
 
Next
New Post
9/1/2010 10:33 AM
 

DNN 5.5
Visual Studio 2008 Professional
Web Application Project
IIS local on Win 7 with local SQL 2008

When I use a third party control (ASPxGridView from DevExpress) it creates a web.config file in the project root. The module then fails because this isn’t the application root. If I delete the web.config it is better but the control still doesn’t work correctly. I am not sure whether to try and merge the web.config that is created into the web.config file at the root of DNN or should I create a Virtual Directory? I am stuck. I know this is a newbie question but I am still learning.

I use to develop using a Web Site Project but now I am trying to use Web Application Projects.

I setup my develop environment according to Christ Hammond’s instructions…

http://www.dotnetnuke.com/Community/B...

Thanks

 
New Post
9/1/2010 5:20 PM
 
What information is in the web.config file that ASPxGridView requires? If it's just a handler or two you might be able to add it to the DNN config fairly easily, you should check out the dnnweb project on codeplex for an example web.config change using the .DNN file during install.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
9/2/2010 5:15 PM
 

Chris - Thanks for your quick response and also thank you very much for the template and clear instructions provided in your blog. It was really helpful for getting me started.

I am not familiar with the DNN config so I will have to look at that. I was just surprised that it added a web.config file in the root of my project when it wasn’t the application root. Here is what I had to put in the web.config file (located in the DNN application root) to make the ASPxGridView work. I also had to copy some DLL files into the bin directory.

<assemblies>

            <add assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.5.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>

            <add assembly="DevExpress.Web.v10.1, Version=10.1.5.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>

            <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

            <add assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.5.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>

            <add assembly="DevExpress.Data.v10.1, Version=10.1.5.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>

      </assemblies>

And also…

<modules>

        <add name="ASPxHttpHandlerModule" type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v10.1, Version=10.1.5.0, Culture=neutral, PublicKeyToken=B88D1754D700E49A"/>

      </modules>

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesWeb Application Project and web.configWeb Application Project and web.config


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