473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Should be Simple: Downloaded Web app "Publish" and run

Now please be gentle. I have been a Microsoft developer for many years and
used everything from VB 3.0 to Visual Studio 6.0 from their inception. I am
now attempting to switch to .net. I had no idea how high the learning curve
would be, but I continue to push on.

I've downloaded this exe (self-extracting zip file) from microsoft (DotNET
Color Quantization Code.exe). The instructions say to simply extract the
files from the zip (no problem) and "publish" (What?) the Quantize folder to
my server and then open the solution file.

I have searched for days on how to "publish" this code to my localhost site
(XP Pro/IIS 6). I've googled until I'm blue in the face. On Microsoft's own
site their is no relevant information when I search for "dotnet publish
website".

All the answers that I find are how to publish a project from the IDE,
however this project will not open in the IDE, since the site has not been
created. I feel like I'm chasing my own tail. I cannot believe how much
worthless garbage has been written on the web for .net (such as the
Microsoft instructions above).

My guess is that this is so trivial and easy to do that there is no need to
explain, however my thick head cannot seem to get it to sink in.

BTW I'm using VS.net 2003 and Framework 1.1

Please Help!
Rocky Clark (Kath-Rock Software)
Mar 1 '06 #1
2 1317
Open .cproj file and find the path to the your app in key "Web
URLPath".
Go to the folder where is your app located, go to the propertied menu
of this folder and choose "Web Sharing" tab, choose "Share this folder"
and point alias with name from .cproj file (wout any // and localhost).
Your app has been "published"

After that tried to call http://localhost/componentname

Mar 1 '06 #2
Thank you for your help, however there is no .cproj file, only a .csproj
file and neither "Web URLPath" nor any instance of the word "URL" is
contained within the file.

I did finally figure it out on my own. For anyone else who may have the same
problem, here are the steps I took...

The next five items are the standard steps for adding a website through IIS
and I had already done this (over and over).

(1) I opened IIS (Internet Information Services) in the MMC (Microsoft
Management Console).
(2) I right-clicked on "Default Web Site" and selected "New/Virtual
Directory" from the dropdown menu. This brings up the "Virtual Directory
Creation Wizard"
(3) I typed the name "Quantize" into the "Alias" box (The Microsoft
instructions said that it needed to published as
"http://localhost/quantize", so I figured that this would do the trick) and
then clicked "Next".
(4) For the Directory, I browsed to the folder where I had unzipped the
files and selected the "Quantize" folder and clicked "Next".
(5) On the "Access Permissions" page of the wizard, I left the defaults
(Read and Run Scripts) checked and clicked "Next".

OK Web Site Created! I wasn't sure at the time, since opening the solution
always failed after this, but I had done everything up to this point
correctly.

Here is where my problem occurred...
The Microsoft instructions said to open the solution (.sln) file, so I
double-clicked the Solution file (from Windows Explorer) and VS2003 opened
with several errors about website not found, etc. At this point I removed
the site and started all over with the steps above (many, many times over a
couple of days [A good definition of INSANITY = "doing exactly the same
thing over and over, expecting different results"]). It always failed!

Finally, just on a whim, I opened VS2003, clicked the "Open Project" button
on the Start Page, browsed to that same solution file and slicked "Open".

To my absolute disbelief, it opened with no errors!!!
What the heck???

Anyhow, it seems that once the site is created (Published?), it can only be
opened from within the VS2003 IDE, NOT by clicking the Solution file in
Explorer.

I hope this post saves someone else from several hours of frustration!

Thanks for the responses,
Rocky Clark (Kath-Rock Software)
<ne*****@msn.com> wrote in message
news:11*********************@t39g2000cwt.googlegro ups.com...
Open .cproj file and find the path to the your app in key "Web
URLPath".
Go to the folder where is your app located, go to the propertied menu
of this folder and choose "Web Sharing" tab, choose "Share this folder"
and point alias with name from .cproj file (wout any // and localhost).
Your app has been "published"

After that tried to call http://localhost/componentname

Mar 1 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: parley | last post by:
After several years of programming WWW applications in ASP.NET (and several other frameworks) our division has come to what might seem a counterintiutive conclusion: Writing ASP.NET code in a...
3
by: Stefanie Gardner | last post by:
I am a programmer, new to VB.Net. I have a client with a website designed and built by someone else, that has handed it over to me to maintain. I have enjoyed/hated the challenges involved with...
0
by: Ben | last post by:
I have a C# Windows program, and I made it available for online download and install using the "Publish" wizard of VS.Net. However, I can't figure out how to change the default install file folder...
1
by: Keith | last post by:
Where can I download a Visual Studio 2005 add in called "Publish Website?"
1
by: cider123 | last post by:
I don't know what our Server Admins changed, or if it's something else. I'm in the Administrator group on this Server, so I don't know what else they may need. When I attempt to publish to a...
1
by: craigkenisston | last post by:
I can't believe what is happening on my computer right now. I have a web project, file-system based on something like c:\Projects\ProjectX\www\. I had to make some changes and testing in a...
3
by: Rajesh Soni | last post by:
Hello! I'm trying to publish my application, but when i try to install it at the end-user's computer, i don't know where it places the EXE, it appears in the start --programs (executed...
0
by: Ken | last post by:
Hello- I am following this article to publish a Crystal Report, inside a VS.Net project, as a web service - http://msdn2.microsoft.com/en-us/library/aa288396(VS.71).aspx When I right click on the...
0
by: arun | last post by:
Can any one please say me the difference b/w Aspnet_compiler.exe and "Publish Website"
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.