bright, fresh software
Downloads  |  Buy

Automatic Updater with Access

Re: Automatic Updater with Access

Postby Arun » July 12th, 2012, 4:23 am

Which GUID should i use in code either Application GUID or Wybuild GUID ? Because here this GUID only relate with wyUpdate it seems.
Arun
 
Posts: 39
Joined: June 25th, 2012, 12:01 pm

Re: Automatic Updater with Access

Postby Wyatt » July 12th, 2012, 1:55 pm

If you're using the AutomaticUpdaterBackend in a service then set the GUID to something like "yourcomanyname-yourproductname".
User avatar
Wyatt
Site Admin
 
Posts: 2565
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Automatic Updater with Access

Postby Arun » July 17th, 2012, 10:09 am

Iam using one drive to download updates for windows service application.While running windows service iam getting below error:
Title: Unable to check for updates, the server file failed to load.
Message: Error trying to save file: Error downloading: Access to the path is denied.

I gave exact path of .wyu file.
Arun
 
Posts: 39
Joined: June 25th, 2012, 12:01 pm

Re: Automatic Updater with Access

Postby Wyatt » July 17th, 2012, 1:23 pm

Where are you saving the file to? Do you have access to the file on your servers?
User avatar
Wyatt
Site Admin
 
Posts: 2565
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Automatic Updater with Access

Postby Arun » July 18th, 2012, 8:34 am

Iam saving the update files into a drive which is like a server. In this am able to create a folder, modify the folder and also delete the folder.I have access to the file with full control. But i dont know why i am still getting error Access to the path is denied.
Arun
 
Posts: 39
Joined: June 25th, 2012, 12:01 pm

Re: Automatic Updater with Access

Postby Wyatt » July 18th, 2012, 9:07 am

If you're running wyUpdate from a Windows Service, you must make sure the service is running as "LocalSystem" and not as "LocalService". (Yes, there's a difference).


After you've done that, if you're still getting an error, tell me exactly at what step the error is occurring (when you're downloading, extracting, etc.). Also, copy & paste the exact error as it appears.
User avatar
Wyatt
Site Admin
 
Posts: 2565
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Automatic Updater with Access

Postby Arun » July 18th, 2012, 11:59 am

Iam running service as "LocalSystem" still iam getting error. This error occurs when service is running and here iam giving details

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 "file://inaphyd1file01\US-IndiaFileTran$/DMT/Development/PTS Tools/Updates/wyServer.wys": Access to the path '\\inaphyd1file01\US-IndiaFileTran$\DMT\Development\PTS Tools\Updates\wyServer.wys' is denied.
Arun
 
Posts: 39
Joined: June 25th, 2012, 12:01 pm

Re: Automatic Updater with Access

Postby Wyatt » July 18th, 2012, 1:17 pm

First of all you're not forming the UNC path of your filename correctly. So first fix that. For example:

Code: Select all
file://///servername/share/%file%



Next, after you've fixed the download site, if you're still getting the error, try copying & pasting that site into your browser. Do you get the same error? That's because you don't have access to the path. (In other words, wyupdate is telling you exactly what the problem is).
User avatar
Wyatt
Site Admin
 
Posts: 2565
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: Automatic Updater with Access

Postby Arun » July 19th, 2012, 8:51 am

Still having Error downloading "file://inaphyd1file01/US-IndiaFileTran$/DMT/Development/PTS Tools/Updates/wyServer.wys": Access to the path '\\inaphyd1file01\US-IndiaFileTran$\DMT\Development\PTS Tools\Updates\wyServer.wys' is denied.

I tried changing code for Text file which will save at service run time. I have give text file path as server path.

Then i got message "The Test AutoUpdate Service in C# service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs"
Arun
 
Posts: 39
Joined: June 25th, 2012, 12:01 pm

Re: Automatic Updater with Access

Postby Wyatt » July 19th, 2012, 2:27 pm

The UNC path is still not correct. Please google how to form a correct file:/// url using UNC paths.


I tried changing code for Text file which will save at service run time. I have give text file path as server path.


I don't know what that means. Please provide details about what you're doing, what you expect to happen, and what is actually happening (along with the entire error message).


Then i got message "The Test AutoUpdate Service in C# service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs"


Again, I don't know what that means. Please provide details about what you're doing, what you expect to happen, and what is actually happening (along with the entire error message).
User avatar
Wyatt
Site Admin
 
Posts: 2565
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

PreviousNext

Return to wyBuild, wyUpdate, & AutomaticUpdater Support