View Full Version : Resolved How do I upload .net or asp.net files?

12-16-2011, 06:35 PM
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)

12-16-2011, 09:39 PM
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

<add name="ApplicationServices"
connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true"
providerName="System.Data.SqlClient" />

*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 :)

12-16-2011, 10:29 PM
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!

12-16-2011, 10:34 PM
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

12-16-2011, 10:40 PM
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.

12-17-2011, 02:42 AM
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

12-17-2011, 04:46 PM
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.

12-17-2011, 05:50 PM
ok I'm trying to install the Web Platform installer on the server as mentioned here

I did this download as the instructions point to menu items that don't exist

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!

12-18-2011, 03:30 PM
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.