Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Oct 2004
    Posts
    64
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Errors when opening a project

    I am a PHP programmer that is trying to convert to using .NET. I just write code so I don't really have any idea about the servers and all that stuff. I am used to coding on my local machine, and FTP'ing the files up to the web server and test them.

    Somebody installed DotNetNuke on the web server for me so that I could play around with it and learn how .NET works. I know a bit about the code, but actually configuring stuff to run is beyond me.

    In order to open the project, I first mapped a network drive Z: as blahblah.ad.ourdomain.ca\DotNetNuke. (not the real name of course). So then I opened the project from Z:\DotNetNuke.sln. I tried to open the solution in Visual Studio but I got a bunch of errors.

    What do these mean? How do I get rid of them? And how can I make the code run on the web server instead of my local machine? I want the URL to be http://blahblah.ad.ourdomain.ca/DotNetNuke, not localhost.

    The first was:

    Visual Studio .NET cannot create or open the application because no web server was detected at this URL: http://localhost/DotNetNuke. Make sure the web server is installed and running.

    The second error was:

    The project location is not fully trusted by the .NET runtime. This is usually because it is a network share or mapped to a network share not on the local machine. If the output path is under the project location, your code will not execute as fully trusted and you may recieve unexpected security exceptions.

  • #2
    Senior Coder
    Join Date
    Dec 2002
    Location
    Arlington, Texas USA
    Posts
    1,065
    Thanks
    4
    Thanked 8 Times in 8 Posts
    I may be wrong but isn't DotNetNuke just a CMS? I don't think it includes a webserver. In order to use Visual Studio to develop asp.net applications you will need to have Windows 2000 or Winsdows XP with sometype of webserver (IIS or Cassini) installed on your development computer. If you have Win2K or WinXP Pro you can easily install IIS by just going to Control Panel > Add/Remove Programs > Add/Remove Windows Components then click on the IIS.

    If you have Win XP Home you will either need to look up how to work around the installation or install Cassini. The ASP.Net Web Matrix and also the Microsoft Visual Web Developer 2005 Express Edition Beta 2 use Cassini as the server. If you are just learning ASP.NET and want to create sample applications that will run on a local computer you can use the VWD Beta(the apps will run on any computer that has the .Net 2.0 CLR installed on it, very few production level servers have them installed right now). It uses code behind logic and is very similar to Visual Studio.

    Web Matrix uses Single-File asp.net pages but will produce pages that can work on any production level server.

  • #3
    New Coder
    Join Date
    Oct 2004
    Posts
    64
    Thanks
    2
    Thanked 0 Times in 0 Posts
    My machine is running Win XP Professional. I am at work so I have no control over any of the things you mentioned. As far as I know, DotNetNuke is just a .NET version of the PHPNuke portal system. Which is a pre-made portal for which you can write custom modules. I wanted to look at how some of the pre-made modules worked in VB.NET so that I could start writing custom modules.

    Is there no way to edit and code inside a project that is sitting on another web server? I want this web portal application to sit on our web server instead of my local machine.

    I.e. I don't want to be the web server, I just want to write code here and then upload it onto the web server.

  • #4
    Senior Coder
    Join Date
    Dec 2002
    Location
    Arlington, Texas USA
    Posts
    1,065
    Thanks
    4
    Thanked 8 Times in 8 Posts
    As far as I am aware using Visual Studio.Net requires the server. Using other products to build ASP.NET applications doesn't. You can open the code in a texteditor like notepad to see what the code looks like. If you use a wysiwyg editor some of them can be used to open asp.net files also.

  • #5
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Eliminating Trust Error

    Launch VB.net
    Click on Tools from the main menu
    Click on Options from the submenu
    Expand the Environment Folder
    Click on the Documents settings
    Uncheck Dectect when file is changed outside the environment

  • #6
    New Coder
    Join Date
    Oct 2004
    Posts
    64
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks for trying to help me out. I did what you said, but unfortunately I still got the errors I described in my first post.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •