473,327 Members | 2,025 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,327 software developers and data experts.

.Net C# Enabling a Windows App to run as Web App

Hi there, i have created a windows application and urgently need this application to run as a web app, ie: so that users may click on a link and download this application to their machines.I have tried the Build >Publish method but i keep getting an error when loading the app after downloading from the link...can anybody please assist me??
I am using Visual Studio 2005 Version 8
Thank you....
Jul 3 '08 #1
7 2100
Plater
7,872 Expert 4TB
That's not "running as a webapp". That's putting your file online and allowing people to download it.
Just upload it to a server and have people download it then?
Jul 3 '08 #2
Curtis Rutland
3,256 Expert 2GB
What's the error? The publish command is likely the best method for you to do what you are asking. Post your error text. Make sure that any resources that you need are installed on the user's computer. For example, a recent project I did included Adobe Reader's COM object. But when I published it, even though it came with the DLL, it crashed. Turns out I needed Reader already installed on the machine. Make sure that you don't have a similar situation.
Jul 3 '08 #3
That's not "running as a webapp". That's putting your file online and allowing people to download it.
Just upload it to a server and have people download it then?
Yes i agree. But according to the proj spec, i need to give the user's a link, whereby they can download the application. These users have no permissions to servers and cannot access the app using that way.
Thanks...Will continue to research.
Jul 3 '08 #4
What's the error? The publish command is likely the best method for you to do what you are asking. Post your error text. Make sure that any resources that you need are installed on the user's computer. For example, a recent project I did included Adobe Reader's COM object. But when I published it, even though it came with the DLL, it crashed. Turns out I needed Reader already installed on the machine. Make sure that you don't have a similar situation.
Ok Insert...heres the problem....i have tried the npublish wizard again and again...these are the errors i am receiving...

Warning 2 Files could not be downloaded from http://mtc-dev04/ITPCReader/. The remote server returned an error: (404) Not Found. 1 1 prjITPcReader

The other Error is :

Warning 3 Unable to view published application at http://mtc-dev04/ITPCReader/publish.htm. 1 1 prjITPcReader

Now there seems to be a problem with the Dll's created....i think it has to do with the naming of the files..
If i can sort that out, im sure it would work as i need i to.....

Whats your view on this??

Please note, this is my first time as a c# developer, and i have not worked with it before.
Jul 3 '08 #5
Plater
7,872 Expert 4TB
If the users have no access to the servers to download the file...
How are they going to click a link and download it?
Jul 3 '08 #6
alag20
84
Yes i agree. But according to the proj spec, i need to give the user's a link, whereby they can download the application. These users have no permissions to servers and cannot access the app using that way.
Thanks...Will continue to research.
If the clients have no access to the server web service then how are you expecting them to download files?


Edit 1: OOps didnt see Platers comment before me.
Jul 3 '08 #7
If the users have no access to the servers to download the file...
How are they going to click a link and download it?
Ok..they have no permissions to be more specific, however they will only beable to acces the link, as far as i know.
I was just assigned the task, and i am not sure whats they are allowed to see from where there are, given it is a casino environment....
Jul 4 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Bryan Capps | last post by:
I have a text box control on a form, the value of which is calculated (concatenated) from entries on a subform. Accordingly, I've set the control's locked property to true and the tab stop...
7
by: ajikoe | last post by:
Hello All, It is said that : Enabling the console window is easy. From Microsoft Visual Studio®, right-click on the project and choose Properties. Change the output type from Windows Application...
0
by: Josh Comley | last post by:
Hello! I have a problem, I can think of two methods for a solution, but cannot figure out how to implement them correctly! Aim: To disable and later enable an extended desktop setting (TV-OUT...
2
by: Chakkaradeep | last post by:
hi all, as it was discussed earlier in this forum titled,"Execution of Another Application in Services", i got the answer that Services are not meant for executing another applications, but...
2
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have...
7
by: John Meyer | last post by:
I have a program where I have to enable or disable a list box based upon a radio button. Is there an "enabled" property on select boxes?
27
by: v4vijayakumar | last post by:
what "enabling unwind semantics" occording to Microsoft (R) 32-bit C/C++ Optimizing Compiler. C:\Program Files\Microsoft Visual C++ Toolkit 2003\include\ostream(574) : warnin g C4530: C++...
1
by: Evan Nelson | last post by:
We are running our website on 3 W2K servers using classic ASP and IIS 5.0. Because the servers are load balanced we don't use the ASP Session object instead we store session type information to the...
7
by: K Viltersten | last post by:
I have problems enabling my machine to work locally as a webserver. I wish to test some ASP.NET code but this far i must be missing something because i've got no response as requested. Could a...
3
by: NIKHILUNNIKRISHNAN | last post by:
Experts, I am getting file not found error while enabling the Renaming option of dotfuscator 4.4 Professional. Can any who has experience in this field help me out ? with advance thanks,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.