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 9 of 9
  1. #1
    New Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Question How do I upload .net or asp.net files?

    I have just downloaded a "repository" from a coder and now have 3 directories (BLL DAL UI) and a .sln file. I honestly do not know if it's .net, vb.net asp or asp.net or anything but it's definitely MS stuff. I got them off unfuddled.

    Do I just ftp these up to my new server or what?

    Also, where would the database be located? (SQL)
    Last edited by ~Kira; 12-18-2011 at 02:31 PM.

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,759
    Thanks
    41
    Thanked 191 Times in 190 Posts
    the "files" should look something like
    BLL (a folder yes?)
    DAL (a folder yes?)
    UI (a folder yes?)
    .sln (the solution file)
    what that is insinuating to me is that most likely it is three projects in one solution named BLL, DAL, and UI ... probably Business Logic Library? (BLL) Database Library? (DAL) and User Interface? (UI) again all shots in the dark w/o seeing it... anyways launching the .sln w/ visual studio will open everything you need and allocate everything to it's folders respectively.

    Now... "What language is it in?" expand down into those folders and look and see f you see .vb or .cs if .cs C# if .vb Visual basic and if both then you are in for a nightmare and whoever wrote it should be shot.

    "Where would my database be located?"
    You need to set that up. If.... IF! they did it correctly if you look in the config files under
    Code:
    <configuration>
      <connectionStrings>
        <add name="ApplicationServices"
             connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
             providerName="System.Data.SqlClient" />
      </connectionStrings>
    *that is microsofts auto generated code btw*
    that will be something else and should have connection strings more intuitive to the project as such... if that's all you see, your are in for another nightmare bc that means they hard coded all their DB connections and you will need to modify them by hand. Best of luck post back w/ more Q's

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • Users who have thanked alykins for this post:

    ~Kira (12-16-2011)

  • #3
    New Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Thank you for all that information. I do see the connection file and it has user name & password in it. Is this bad?

    All I see, looking through the files is .cs files, so that's C# and no vb. So, that's good.

    Also, Visual Studio looks rather expensive and I don't have it. I suppose I should find someone with it and have them unpack the files for me so I can ftp? Seems like a lot of work for what should have just been a simple zip sent over.

    Thanks for your help!

  • #4
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,759
    Thanks
    41
    Thanked 191 Times in 190 Posts
    the user name and passwor din the config file is not bad- that is where it should be... is the code published? if it is published then FTP it to the appropriate folder in site- if not then you will need VS to publish it to the site

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • Users who have thanked alykins for this post:

    ~Kira (12-16-2011)

  • #5
    New Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts
    so vs is a publisher too? argh. I had to get the "repository" off of unfuddled or whatever - took me hours to get the right set of programs necessary just to download the files because none of the commands in the help section were working for me.

  • #6
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,759
    Thanks
    41
    Thanked 191 Times in 190 Posts
    Quote Originally Posted by ~Kira View Post
    so vs is a publisher too? argh. I had to get the "repository" off of unfuddled or whatever - took me hours to get the right set of programs necessary just to download the files because none of the commands in the help section were working for me.
    i could be wrong on this so anyone who knows definitive answer correct me if wrong-

    the thing you pay for in .net is the .net compiler- until recently I thought the framework was what cost $$ but I was then told that it is not the framework (which coincides since you can download the framework for free) but the compiler is the key to what MS charges for- and yes, VS is a .net framework compiler which is why you need it

    *again if this is incorrect someone let me know "what" is incorrect but that is my understanding... I don't know of any other way to compile/publish the .net code without VS.... look into VS express though i don't know what it's limitations are but i think it is free

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #7
    New Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts
    I have VS lightswitch now but apparently it needs to be on the server as well. So I'm working on that. I guess I install it myself.

  • #8
    New Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts
    ok I'm trying to install the Web Platform installer on the server as mentioned here
    http://msdn.microsoft.com/en-us/library/gg481779.aspx

    I did this download as the instructions point to menu items that don't exist
    http://www.microsoft.com/web/downloads/platform.aspx

    And I have chosen the closest thing I can see which it lightswitch and sql server tools. 2 things.
    Edit: OK Now I see it won't install lightswitch SP1 because it needs lightswitch 2010 express, but I have lightswitch 2011 on my computer.

    It won't let me click the I Accept button. Does anybody have any ideas about this? I seriously need some help here. Thank you!
    Last edited by ~Kira; 12-17-2011 at 05:16 PM.

  • #9
    New Coder
    Join Date
    Oct 2009
    Posts
    31
    Thanks
    6
    Thanked 0 Times in 0 Posts
    OK after I installed a huge bunch of MS software, I put the files up on my server and downloaded them via firefox. I could not open the .sln file as it said something about ccproj. Anyway I opened VS express and opened the project file and it came up but now there is a runtime error to do with Telerik.
    Last edited by ~Kira; 12-18-2011 at 02:33 PM.


  •  

    Posting Permissions

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