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 ExtensionsModulesModulesVisual Studio 2008 paradox bug that prevents DNN module loading?Visual Studio 2008 paradox bug that prevents DNN module loading?
Previous
 
Next
New Post
1/21/2011 4:28 PM
 
Hi there

I have a DNN compiled module developed in a Visual Studio 2008 solution. Am I right in thinking that there is a bug in VS 2008 that stops VS accessing virtual directories it has created in IIS 5.1 (the version you have to use in XP SP3)? For a start, VS is really picky about recognizing virtual directories in any case - when you configure the web settings for the DNN project, choosing the 'Local IIS' options, it will only allow you to create a new virtual directory, it doesn't recognize ones already created. But then the problem gets ridiculous! When you save and reopen the project in question, VS no longer recognizes any virtual directories it previously  created, and refuses to load the project, with an error:

'The local IIS URL .... has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the virtual directory now?'

to which if you choose Yes, it complains the VD is already mapped, which of course it is because VS previously created it! So whether you choose Yes or No, the result is the same = the project wont load. It looks like I will have to manually edit the vsproj file to remove the IISUrl attributes, just to get the project to load. And then reconfigure the VDs needed to point to the DNN module, as described here:

http://p2p.wrox.com/book-professional-dotnetnuke-module-programming-isbn-978-0-470-17116-5/73025-project-url-setting.html

but even though I followed these instructions, I still get the selfsame error that the instructions aim to address, only the error is delayed until I load the project again, as I have described above.

Does anybody know why this is happening, and how to work around it? Surely this is a bug to do with the way VS 2008 talks to IIS?
I've tried all the usual stuff, reinstalling the framework from the command line, giving permissions to the ASPNET account, etc but the way this goes wrong only after a successful save makes me conclude this is a bug, has anybody experienced similiar?

Cheers

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesVisual Studio 2008 paradox bug that prevents DNN module loading?Visual Studio 2008 paradox bug that prevents DNN module loading?


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