Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

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

Question posted by: Ice Vato (Newbie) on July 3rd, 2008 09:09 AM
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....
Last edited by Ice Vato : July 3rd, 2008 at 09:14 AM. Reason: Left out version of software being used
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Plater's Avatar
Plater
Moderator
5,134 Posts
July 3rd, 2008
01:18 PM
#2

Re: .Net C# Enabling a Windows App to run as Web App
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?

Reply
insertAlias's Avatar
insertAlias
Moderator
908 Posts
July 3rd, 2008
01:23 PM
#3

Re: .Net C# Enabling a Windows App to run as Web App
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.

Reply
Ice Vato's Avatar
Ice Vato
Newbie
12 Posts
July 3rd, 2008
02:07 PM
#4

Re: .Net C# Enabling a Windows App to run as Web App
Quote:
Originally Posted by Plater
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.

Reply
Ice Vato's Avatar
Ice Vato
Newbie
12 Posts
July 3rd, 2008
02:11 PM
#5

Re: .Net C# Enabling a Windows App to run as Web App
Quote:
Originally Posted by insertAlias
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.

Reply
Plater's Avatar
Plater
Moderator
5,134 Posts
July 3rd, 2008
02:23 PM
#6

Re: .Net C# Enabling a Windows App to run as Web App
If the users have no access to the servers to download the file...
How are they going to click a link and download it?

Reply
alag20's Avatar
alag20
Member
61 Posts
July 3rd, 2008
03:57 PM
#7

Re: .Net C# Enabling a Windows App to run as Web App
Quote:
Originally Posted by Ice Vato
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.

Reply
Ice Vato's Avatar
Ice Vato
Newbie
12 Posts
July 4th, 2008
05:33 AM
#8

Re: .Net C# Enabling a Windows App to run as Web App
Quote:
Originally Posted by Plater
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....

Reply
Reply
Not the answer you were looking for? Post your question . . .
180,427 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top .NET Forum Contributors