Dear all,
We've been trying all day to get our application to work on Csweb, and right now, I have a feeling we're doing some very stupid error - like putting the files the wrong place.. So maybe somebody here can help?
So, here's what I've done so far (After getting CSweb to work and trying multiple different things)
1) Tried synchronizing with dropbox, and it works fine, hence the application seems to be ok
2) Surfed from my tablet to http://myserver.com/csweb/ui and that worked fine, so it seems my ip is correct and my website is correctly configured
3) Uploaded the dictionaries to the server - went ok
4) Copied the application to the server and my tablet (see zip file. Made a deployment script by model of the example "Synchronization in logic).
- We first copied the folder CPI to the files folder on the server (C:\inetpub\wwwroot\csweb\files\CPI) as this is how it was explained in the syncrhonization in logic readme file.
- When that didn't work, we copied it top the api folder (C:\inetpub\wwwroot\csweb\api) Didn't work either
- Then we tried to move the files more or less randomly around, which for sure didn't work
The error message we got was something about wrong user or password, but of course we know the user and password is correct.
Find attached my application (The files t put on the server/tablet are to be found in the Deployment folder). Any idea of what we're doing wrong?
Anne
Sync problems: Can't log in from tablet..
Sync problems: Can't log in from tablet..
- Attachments
-
- interviewer.zip
- (572.31 KiB) Downloaded 495 times
Re: Sync problems: Can't log in from tablet..
The application files should go into the csweb/files directory on the server although this is not your problem. If you are getting an error about username/password it hasn't even gotten to the point where it is trying to locate the files yet.
Can you post or send me the sync.log file from csentry directory of the tablet? That will give us some more information about why you cannot connect.
By the way, you should consider using the new Deploy Applications tool in CSPro 7.1. With it you don't have to create the DOS batch script to generate the .pen files and the deployment folder. The deploy tool creates the .pen files for you and uploads the application files and dictionaries to CSWeb/Dropbox or FTP. See the online help for details: http://www.csprousers.org/help/CSDeploy ... yment.html
Can you post or send me the sync.log file from csentry directory of the tablet? That will give us some more information about why you cannot connect.
By the way, you should consider using the new Deploy Applications tool in CSPro 7.1. With it you don't have to create the DOS batch script to generate the .pen files and the deployment folder. The deploy tool creates the .pen files for you and uploads the application files and dictionaries to CSWeb/Dropbox or FTP. See the online help for details: http://www.csprousers.org/help/CSDeploy ... yment.html
Re: Sync problems: Can't log in from tablet..
Thanks for looking into my problems yet another time..
Of course I left the tablet at work, but I remember some of the error messages (They did vary a little)..
Last one, I believe was actually "404 File not found error" (The whole html file was written in the log), but earlier I think it was java.net.sockettimeoutexception..
Anyway: I'll have a look at the sync files when I get back to work tomorrow..
Anne
Of course I left the tablet at work, but I remember some of the error messages (They did vary a little)..
Last one, I believe was actually "404 File not found error" (The whole html file was written in the log), but earlier I think it was java.net.sockettimeoutexception..
Anyway: I'll have a look at the sync files when I get back to work tomorrow..
Anne
Re: Sync problems: Can't log in from tablet..
Here is the log file. Is there a problem with the permissions or similar?
Anne
Anne
- Attachments
-
- sync.log
- (1.39 KiB) Downloaded 499 times
Re: Sync problems: Can't log in from tablet..
Came to think of: We run CSEntry in beta version while on the server we have csweb 7.0.2 Could that be our problem?
Anne
Anne
Re: Sync problems: Can't log in from tablet..
You will get an error if you run 7.1 on the tablet and 7.02 on the server but it will be a different error than the that you are getting. So you should definitely upgrade what is on the server.
The error you are getting is that the URL that you have provided cannot be found on the server. Probably for one of the following reasons:
1) The URL is not correct. You are using http://192.168.1.2/api. Depending on how your server is set up it may need to be http://192.168.1.2/csweb/api
2) URL rewrite module is not correctly installed/enabled on your server
The error you are getting is that the URL that you have provided cannot be found on the server. Probably for one of the following reasons:
1) The URL is not correct. You are using http://192.168.1.2/api. Depending on how your server is set up it may need to be http://192.168.1.2/csweb/api
2) URL rewrite module is not correctly installed/enabled on your server
Re: Sync problems: Can't log in from tablet..
Thank you very much again. We'll try this..
But about upgrading the server: How painful is it when you are in a country where no American software vendors have gotten that there is no embargo on the country anymore (ie. Nothing can be upgraded online)
Setting up the server in the first place was so difficult that we ended up buying a server in Norway, installing the server and shipping it to Sudan.. And we're not going to do that again..
So: If upgrading is basically only one step: unzipping the file to the wwwroot folder, then we can do it. But if it involves going through the whole process of setting up the server again, I assume it is easier to downgrade the application..
Anne
But about upgrading the server: How painful is it when you are in a country where no American software vendors have gotten that there is no embargo on the country anymore (ie. Nothing can be upgraded online)
Setting up the server in the first place was so difficult that we ended up buying a server in Norway, installing the server and shipping it to Sudan.. And we're not going to do that again..
So: If upgrading is basically only one step: unzipping the file to the wwwroot folder, then we can do it. But if it involves going through the whole process of setting up the server again, I assume it is easier to downgrade the application..
Anne
Re: Sync problems: Can't log in from tablet..
Upgrading the server is just unzipping the file and copying it to the wwwroot directory plus running the script csweb/upgrade. It does not require downloading anything but the csweb zip file. No need to install anything else on the server.