Cassini and Visual Studio??

Last post 08-26-2007 4:48 PM by sff. 39 replies.

Sort Posts:

  • Cassini and Visual Studio??

    12-12-2003, 2:22 PM
    • Loading...
    • sailorfoley
    • Joined on 12-10-2003, 2:35 PM
    • Posts 9
    Hey,

    i can't start a new Asp.Net apllication in visual studio nwith cassinin as my web server. Is there anything i should do to make it all work? i am sharing all folder which cassini points to as http://localhost but the IDE says that i dont have access to http://localhost or that it doesnt exist. If cassini doesn't work with it what server will. I am a student with XP Home and can't afford to get another windows OS.

    Any help is appreciated.

    Sailor Foley
  • Re: Cassini and Visual Studio??

    12-14-2003, 12:09 AM
    • Loading...
    • GoodSky
    • Joined on 12-13-2003, 11:53 PM
    • Posts 1
    I am having the same problem. I receive an error "Unable to creat web project. The file path does not correspond to the URL. The two need to map to the same location. HTTP error 500."

    I noticed that VStudio is creating a new directly at the location "C:\Inetpub\wwwroot\<My Computer Name>\<Web Project Name>" Cassini has this file already created under "C:\Inetpub\wwwroot\<Web Project Name>"

    I would appreciate any help with this.
  • Re: Cassini and Visual Studio??

    12-16-2003, 9:13 AM
    • Loading...
    • Kiliman
    • Joined on 08-08-2002, 8:41 AM
    • Virginia
    • Posts 70
    I believe that the VS.NET New Web Project wizard specifically looks for IIS so it can create the virtual folder and application settings.

    However, that doesn't mean you still can't use VS.NET to create a new web project.

    Let's say we're going to create MyWebApp.

    Create the folder "C:\Inetpub\wwwroot\MyWebApp" and launch Cassini.

    For the application directory, enter "C:\Inetpub\wwwroot\MyWebApp"

    For the virtual root, enter "MyWebApp"

    Now click Start.

    Then in VS.NET, select New Project... and instead of choosing "ASP.NET Web Application" the trick is to select "New Project in Existing Folder" (scroll to the end of the list).

    Enter the project name "MyWebApp"

    Now it will ask for a location. Since this is a web app, you must enter a URL.

    Enter "http://localhost/MyWebApp" (this is the URL that Cassini is handling), then click Ok.

    After a few seconds, you should now see that you indeed have a new Web Application.

    Enjoy!

    Kiliman



  • Re: Cassini and Visual Studio??

    12-18-2003, 7:29 AM
    • Loading...
    • Kiliman
    • Joined on 08-08-2002, 8:41 AM
    • Virginia
    • Posts 70
    Found an error in my post.

    For the virtual root, enter "/MyWebApp" <- must have leading /

    Sorry for any confusion.

    BTW: You can also use this to create a web app as the ROOT web. Simply use "/" as the virtual root. I posted about some modifications to Cassini to allow you to run multiple web sites on Cassini. Let me know if you're interested.

    Kiliman
  • Re: Cassini and Visual Studio??

    12-23-2003, 10:31 AM
    • Loading...
    • sgentil
    • Joined on 09-25-2003, 2:29 PM
    • Posts 6
    Why do I have to have ISS installed first?

    I am not allowed to run IIS locally where I work - I was going to run Cassini, but it requires IIS has been installed.

    Can the creator of Cassini make this stand alone integration with Cassini and VS.NET without IIS???
  • Re: Cassini and Visual Studio??

    12-24-2003, 12:24 PM
    • Loading...
    • killbill
    • Joined on 12-24-2003, 11:55 AM
    • Posts 1
    Thanks for the good info on setting up Cassini for VS .Net. The problem I have is when I try to create a web application project, whether is using "New Project in Existing Folder" or "ASP.NET Web Application" in Visual C# Project, I get the VS.NET cannot create application, ... Run VS.NET setup and add the Web Development component. I fire up the VS.NET setup and the Web Development is grayed out, requires IIS to be installed first.
    I can't even create an "Empty Web Project"

    Does your instruction work for VS.NET 2003 on WinXP Home?

    Has anyone successfully install VS.NET 2003 Web Development component on WinXP Home? If you did how did you do it?
  • Re: Cassini and Visual Studio??

    12-24-2003, 4:35 PM
    • Loading...
    • web_adam_me
    • Joined on 12-22-2003, 12:12 PM
    • Posts 5
    I folowed the instructions in your post, and I get a message about the web development components of VS.NET not being installed. when i try to inmstall them, I can't because I'm running XP Home. Is there any way I could trick setup into installing these files anyway, or any other FREE development tool that I can use?
  • Re: Cassini and Visual Studio??

    12-24-2003, 6:55 PM
    • Loading...
    • Ghostnet
    • Joined on 12-18-2003, 11:14 PM
    • Posts 10
    Well.. I don't have IIS and I have XP Home with VS.Net... So far I've been able to create Web apps with no problem.

    It's like he said...
    Just fire up Cassini.
    Point to the file directory.
    And write the virtual directory. Then "start"

    Fire up VS.Net And create New web app... Put the location as the Virtual directory on Cassini (http://localhost/MyWebApp) And Voila!

    It should have a popup box that says "Connecting to Web" or something... That should be the only delay you get...

    I don't think you even need to share the app directory to get file creation privilages because Cassini runs on the logged in user's privilages no?

    If the user can create files/folders in the web app directory then any app should be able to have the same access while that user's logged in.
  • Re: Cassini and Visual Studio??

    12-29-2003, 8:36 PM
    • Loading...
    • FrankJensen
    • Joined on 12-28-2003, 10:04 PM
    • Denmark
    • Posts 1
    I am having the exact same problems like Killbill. I also have the same version: VS.NET 2003.

    Kind regards

    Frank Jensen
  • Re: Cassini and Visual Studio??

    12-30-2003, 8:28 AM
    • Loading...
    • woodced222
    • Joined on 05-22-2003, 7:15 AM
    • Posts 2
    I also have the same problem. When I try to start an empty web project or asp.net web project with cassini it says:
    "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1"

    Anyone any more info on this? Funny thing is I remember being able to build web projects w VS.net on a previous windows xp installation with .net framework 1.0 and the web server that came with an earlier tech preview build of web matrix (an early version of cassini i presume) . I wonder if this has to do with a simple configuration issue on Cassini???

  • Re: Cassini and Visual Studio??

    12-30-2003, 10:44 AM
    • Loading...
    • Kiliman
    • Joined on 08-08-2002, 8:41 AM
    • Virginia
    • Posts 70
    I don't use Windows XP Home, so I haven't tested that configuration.

    I have VMWare, so I'll install XP Home and see what the issue is. I'll report back what I find out.

    Kiliman
  • Re: Cassini and Visual Studio??

    01-08-2004, 10:13 PM
    • Loading...
    • squik80
    • Joined on 01-08-2004, 10:03 PM
    • Posts 6
    sigh..
    i got the same problem as killbill.
    anyone got any solution that can help us solve this error:

    "Visual Studio .NET cannot create or open the application. The likeliest problem is that required components are not installed on the local web server. Run visual studio .Net setup and add the web development component."

    The web development component requires to install IIS first but XP home cannot install IIS.

  • Re: Cassini and Visual Studio??

    01-12-2004, 9:43 AM
    • Loading...
    • kyle_o
    • Joined on 01-11-2004, 1:06 PM
    • Calgary, Alberta
    • Posts 8
    I'm getting the same exact problem as everyone else in here ... sigh.

    I am, however, having problems installing Cassini ... I downloaded it from the link provided in a different thread here but whenever I run the build.bat file I get an error saying that " 'csc' s not recognized as an internal or external command"

    Anyone know what that means? I have Visual Studio with Visual Basic installed; I don't have C# or anything like that if it makes a difference.
  • Re: Cassini and Visual Studio??

    01-12-2004, 10:41 AM
    • Loading...
    • kyle_o
    • Joined on 01-11-2004, 1:06 PM
    • Calgary, Alberta
    • Posts 8
    Ok, nevermind. I got cassini working finally.

    So, following kiliman's instructions I get the following error:

    "Visual Studio cannot create or open the application. The likeliest problem is that required components are not installed on the local web server. Run Visual Studio .NET setup and add the Web Development component."

    The problem is I'm pretty certain I installed absolutely everything when I installed VS ... I guess I have to try reinstalling?

    Or does anyone else have any suggestions?

    Like most people here I can't afford to buy XP Pro right now.
  • Re: Cassini and Visual Studio??

    01-12-2004, 9:04 PM
    • Loading...
    • squik80
    • Joined on 01-08-2004, 10:03 PM
    • Posts 6
    i finally solve the "cannot open application" problem..
    i just change the web.config file to my friend's one..and it works perfectly
    i think it is due to the access/ authetication setting in the web.config file.
Page 1 of 3 (40 items) 1 2 3 Next >