bright, fresh software
Downloads  |  Buy

Automatic Updater with Access

Post a reply

:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is OFF
Smilies are ON
Topic review
   

Expand view Topic review: Automatic Updater with Access

Re: Automatic Updater with Access

Post by Wyatt » July 27th, 2012, 6:30 pm

I'm not sure I understand. It's exactly as easy as it looks. Put the code in your Windows service with all the other AutomaticUpdater code. Also, change the proxy server to whatever you use at your company.

For example, if you're using our WindowsService example using the AutomaticUpdaterBackend, then simply change that code snippet to this:


Code: Select all
auBackend.wyUpdateCommandline = "-proxy:\"http://proxyserver:80/\"";


And put that in the OnStart() method.

Re: Automatic Updater with Access

Post by Arun » July 27th, 2012, 12:22 pm

Can i use below command in C# code.If yes where can i use it ?could you please tell me.

automaticUpdater.wyUpdateCommandline = "-proxy:\"http://proxyserver:80/\"";

Re: Automatic Updater with Access

Post by Wyatt » July 27th, 2012, 12:11 pm

Ok, it sounds like your HTTP servers are doing something screwy like checking the local Windows username. Or perhaps you have a proxy configured on the system for your logged in users, but you forgot to set the proxy for the "LocalSystem" user account.

You can always manually pass the proxy to wyUpdate.

Re: Automatic Updater with Access

Post by Arun » July 27th, 2012, 9:07 am

I have copied my server path where it is using to download the updates and pasted the same path in browser then i am able download the update file and if i run wyUpdate.exe by double click then also i am able to download the updates. So using wybuild source code can we change those permissions?

Re: Automatic Updater with Access

Post by Wyatt » July 26th, 2012, 12:26 pm

This is a problem with your web server. Ask whoever set up the server.

Re: Automatic Updater with Access

Post by Arun » July 26th, 2012, 12:25 pm

Thanks for your reply.. I tried with changing folder permission level to full control.Then also have same issue.I really dont understant where it is blocking.

Re: Automatic Updater with Access

Post by Wyatt » July 26th, 2012, 10:53 am

Again, this is a problem with your network. wyUpdate is telling you exactly what's wrong. You don't have access to the file. Copy & paste the file URL from that error into your browser, and your browser will give you the exact same error.

Configure your server correctly so that you *do* have access to the file.

Re: Automatic Updater with Access

Post by Arun » July 26th, 2012, 6:44 am

Pts Tools Update information
auBackend_BeforeChecking
auBackend_CheckingFailed. Reason
Title: Unable to check for updates, the server file failed to load.
Message: Error trying to save file: Error downloading "https://theshare.thomsonreuters.com/sites/trta/sites/pts/Outsourcing/DMT/sotware_updates/ptstools/updates/wyServer.wys": The remote server returned an error: (401) Unauthorized.

This is the error iam getting when i run windows service. Iam using Target framework is .Net Framework2.0

Re: Automatic Updater with Access

Post by Wyatt » July 25th, 2012, 1:47 pm

I really don't know what you're talking about. If you're getting an error copy & paste the full error.

If your service is running as LocalSystem then wyUpdate should have full permission to the machine that's being updated (unless you do crazy things with system permissions).

Re: Automatic Updater with Access

Post by Arun » July 25th, 2012, 5:07 am

"Make sure your Task Manager is set to show processes of all users. (Click the checkbox "Show processes from all users")"

Now i can see my windows service in Taskmanager.

Here access file with windows7 is different with XP? Evern user have access permissions for folder in server also could not get updates. Log file in C drive is created.

Do you have any idea about permission level for share point user to get updates?

Top