Product Support Forums

VS Issue trying to create new C# WAP using template
Last Post 01 Jun 2009 09:31 AM by chrisoc. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
chrisoc
New Member
New Member
Posts:3


--
01 Jun 2009 07:41 AM  
Hi Mitchell,

I've recently purchased your book and have began the process of working through the module devlopment tutorial. I've previously installed DNN 4.9.2 on my Vista Ultimate computer, using the Install package. I've also successfully built a website on this computer. To complete my project, I need a couple custom modules, so I've picked up your book to hopefully learn the best way to do this.

I downloaded the C# templates from this site and installed them into VS 2005. I'm running Team Edition for Software Developers w/ SP1 and the Vista update. When I try to create a new project, selecting one of the templates and following the instruction in your book, I get the error below. I've tried both templates (with and wo/ DAL) as well as the one available from Bite the Bullet.

Everything else with my DNN website and VS seems to have always worked fine. I'm a bit confused. Do I need to reinstall DNN using the Source Package first?

Many thanks,
~Chris



The web Application Project test is configured to use IIS. To access local IIS web sites, you must install all of the following windows components:

Internet Information Services
IIS6 Metabase and IIS6 Configuration Compatibility
ASP.NET

In addition, you must run Visual Studio in the context of an administrator account. By default windows runs applications in a limited-privilege user account even when you are logged on to the computer as an administrator. To run Visual Studio with administrative privileges, right-click the visual Studio icon and then click ‘Run as administrator'.
Mitchel Sellers
Site Moderator
Basic Member
Basic Member
Posts:216


--
01 Jun 2009 08:02 AM  
Chris,

The way that the project is setup, it is setup to use IIS, I do this to ensure that design time support works for everything. (DNN Label, Text Editor, etc..).

You simply need to follow the items it listed. You can setup IIS, IIS6 Metabase and ASP.NET under the add/remove windows features configuration within Windows.

Then, when running Visual Studio, be sure to right click and "Run as Administrator".
-Mitchel Sellers, MCITP, MCPD, MCTS
CEO
IowaComputerGurus Inc!

Visit my blog for helpful technical articles

For recommended products and services view the links to the right.
chrisoc
New Member
New Member
Posts:3


--
01 Jun 2009 08:11 AM  
Hi Mitchell,

Thanks for the prompt reply.

I do have IIS (7) and .NET (3.5) installed and running. My current DNN project runs off both of these. I also have tried opening VS, by right clicking the program icon and using 'Run as Administrator'.

Any other thoughts?

Thanks,
~Chris
Mitchel Sellers
Site Moderator
Basic Member
Basic Member
Posts:216


--
01 Jun 2009 08:14 AM  
The only thing I can think of is to be sure that you have the IIS 6 items installed, they are NOT part of the default IIS configuration.

If you have been able to Create the project and not yet open it, you can manually modify the csproj file and set "useiis" to false, and that should get you in.

Otherwise, if you are still having issues, drop me an email and lets see if we can arrange a time and I can try to help you out.
-Mitchel Sellers, MCITP, MCPD, MCTS
CEO
IowaComputerGurus Inc!

Visit my blog for helpful technical articles

For recommended products and services view the links to the right.
chrisoc
New Member
New Member
Posts:3


--
01 Jun 2009 09:31 AM  
Hi Mitchel,

That was it! I was missing the IIS6 compatibility components. Thanks again.
~Chris
You are not authorized to post a reply.

Active Forums 4.0

 

Click to verify BBB accreditation and to see a BBB report.

 

Microsoft Certified Partner