473,657 Members | 2,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1331
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.co m> wrote in message
news:11******** *************@t 39g2000cwt.goog legroups.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
1598
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 "procedural" manner (without webcontrols and without utilizing OOP concepts in general) produces code that is remarkably faster and more scalable. In general a "bare ASP.NET" application outruns it's OOPy counterpart by factors of 2 to 10. ...
3
1440
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 .Net. Right now, I have an interesting problem that I hope y'all can help with. I open the project from the web server in Visual Studios.Net 2000. I have a form page, and when a certain dropdown item is selected, it generates the items in the next...
0
1157
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 on the target machine. If I want the app installed under C:\Sunshine, is this possible? Thanks a lot for help!! Ben
1
1196
by: Keith | last post by:
Where can I download a Visual Studio 2005 add in called "Publish Website?"
1
1145
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 Remote Server on our WAN, I get prompted with a Network Login dialog. I key in the correct credentials for my account, and it simply flips right back to the Network Login dialog again.
1
2268
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 separate new directory so I created c:\Projects\ProjectX\www2\ copied all the content and build. I made the changes I wanted and test, everything worked fine. I'm using the Development Webserver, not IIS. But when I hit "Publish website", it failed...
3
1290
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 perfectly!)... But i want to define a folder where the EXE should be placed at the end-user's computer. Thanks in advance. Rajesh
0
1723
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 Crystal report I find that the "Publish as Web Service" option is missing. Do I need to install a VS.Net component to make this option available? Any clues on other ways to generate the asmx file to create a publish the crystal report as a web...
0
1013
by: arun | last post by:
Can any one please say me the difference b/w Aspnet_compiler.exe and "Publish Website"
0
8826
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.