PDA

View Full Version : Article Live edit question


Cindy
02-02-2005, 05:59 PM
Hello

I am having the same problem as the guy below, as I can't seem to use visualstudio.net to edit articlelive. Every time I build I get numorous errors, even if I don't make any changes. Please let me know the correct way to load articlelive in visualstudio.net so I can edit it from their.

Any help is appreciated.

Thanks,
Cindy

Earlier you posted this email below:

What dll's to upload for site configuration?

--------------------------------------------------------------------------------

Hello, I'd like to be able to create my own template, and add, remove, or change panels and templates as I wish. However, I'm a little unsure of which files when compiled I'd have to move.

Background: I have the ArticleLive Solution loaded on my local PC. In doing so I had to change the path to the web project in the solution. I then had to change two references in the web project. The one for the Special.dll, and one for the DevEdit.dll. For somereason the paths were not found, so I just had to add the correct reference.


On a slightly related note. How do I get my local solution to run/debug locally? I'm not sure what the startup page should be, and when I try one, I get an error saying that a project with an output type of library can't be marked as a startup project or something to that effect, but both the Backend and Web projects are marked with an output type of class library?

My ultimate goal is to be able to have a dev environment set up on my machine, so that I can make changes to a template, add panels, compile whatever, test it and then be able to upload the correct files to my web host.

I didn't have any problems though installing on my web host.

Oh well, any help that push me in the right direction to solve some of these issues would be greatly appreciated.

Thanks,
Mike

Salman
02-25-2005, 12:42 AM
Hello,

I’m going to go through the steps required to get ArticleLive.NET project on your local PC.

After you unzip the folder you will see the ArticleLive .NET “Microsoft Visual Studios Solution Object” file. If you attempt to click on that file before setting up IIS you will see the following message:

“The default web access mode for this project is set to file share, but the project folder at ‘http://localhost/interspire/ArticleLive .NET/Web’ cannot be opened ….”

So to get everything working cleanly, go into your c:\inetpub\wwwroot folder and create the folder ‘Interspire’. Inside the folder ‘Interspire’ create another folder called ‘ArticleLive .NET.

So your folders should look like C:\inetpub\wwwroot\Interspire\ArticleLive .NET\

Now go to the folder where you unzipped the file you downloaded. There should be 3 main folders in the unzipped folder, ‘Backend’, ‘Special’ and ‘Web’. Take the ‘Web’ folder and move it over to ‘http://localhost/interspire/ArticleLive .NET’ folder.

So you now should have ‘http://localhost/interspire/ArticleLive .NET/Web’.

If you go back and click on the ArticleLive Visual Studios Solution Object file it should fire up nicely for you. (without any adjustements required to References).

Hope that helps.

Salman
02-25-2005, 12:48 AM
Hi Mike,

Whatever changes you make to the project will obviously require changes to your live website.

With ASP.NET much of the project is stored in the .dll file. As a general rule, any changes that you make to files ending with .cs (codebehind or class files) will only require you to upload the newer version of the .dll file.

On the other hand, if you make changes to or create your own .aspx files, you will have to upload those aswell to their respective folders i.e. if you create your own panel or template you will have to upload those as well. Keep in mind that you do not have to upload the files ending with .cs as those files are already included in the .dll you uploaded.

So in summary, upload the .dll along with the .aspx files. Files ending with .aspx.cs are not required to upload (although if you want there is no harm as it will act as another backup just in case something goes wrong on your local computer).

Hope that clears things up.

~Salman
Hello

Hello, I'd like to be able to create my own template, and add, remove, or change panels and templates as I wish. However, I'm a little unsure of which files when compiled I'd have to move.

Background: I have the ArticleLive Solution loaded on my local PC. In doing so I had to change the path to the web project in the solution. I then had to change two references in the web project. The one for the Special.dll, and one for the DevEdit.dll. For somereason the paths were not found, so I just had to add the correct reference.


On a slightly related note. How do I get my local solution to run/debug locally? I'm not sure what the startup page should be, and when I try one, I get an error saying that a project with an output type of library can't be marked as a startup project or something to that effect, but both the Backend and Web projects are marked with an output type of class library?

My ultimate goal is to be able to have a dev environment set up on my machine, so that I can make changes to a template, add panels, compile whatever, test it and then be able to upload the correct files to my web host.

I didn't have any problems though installing on my web host.

Oh well, any help that push me in the right direction to solve some of these issues would be greatly appreciated.

Thanks,
Mike