on 05-10-2011 2:13 PM
Hello,
I am currently using the 30 day trial version of crystal reports 2008 under Windows 7 32 bit. I saved a crystal reports file under my local drive c and want to upload it to crystal reports.com via " publish to crystal reports.com " which I downloaded and successfully installed.
The publisher in unable to upload the file though and comes up with the following "last run status" for the file
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: C:\Program Files\Business Objects\Publish to crystalreports.com\logs\logging\publisher.log (Das System kann den angegebenen Pfad nicht finden)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
at org.apache.log4j.Logger.getLogger(Logger.java:94)
at com.businessobjects.publish_to_cr_com.AppLogic.initializeLogging(AppLogic.java:137)
at com.businessobjects.publish_to_cr_com.AppLogic.<init>(AppLogic.java:60)
at com.businessobjects.publish_to_cr_com.Main.main(Main.java:17)
Failed to acquire upload lock.
Can anyone please asist?
Is there a proxy involved with your network connection?
If so, there will be a need to edit the configuration file to add the proxy information.
C:\Program Files (x86)\Business Objects\Publish to crystalreports.com\Publish_to_crystalreports_com.config
Remove the '#' character to uncomment the lines
You will need to update the settings as appropriate
PROXY_SET controls whether the proxy settings are actually used (use true or false).
PROXY_SET=true
PROXY_HOST=proxy
PROXY_PORT=8080
If your proxy server requires authentication then you can use the
following properties to supply the user name and password
Note the "
" for domain accounts
#PROXY_USERNAME=MYDOMAIN
myUserName
#PROXY_PASSWORD=myPassword
Used to determine how many uploads are allowed to cr.com at any one time.
Currently the cr.com server only allows 10 concurrent logons for each user
so this value should be less than 10 but greater than 0.
MAX_CONCURRENT_UPLOADS=3
#The proxy name should be entered as a fully qualified domain name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Derya,
I am wondering if the install completed succesfully. I initially see an error about a file not found.
C:\Program Files\Business Objects\Publish to crystalreports.com\logs\logging\publisher.log
Would it be possible for you to uninstall the publisher and re-install? During the installation, run the executable as admin.
When the CR designer was installed, was a complete install done or was there just a basic install? The publisher utilizes the designer runtime files.
//tony
Hello Tony,
Running the executable as admin fixed the initial problem and allows me at least to upload for example a pdf file.
The file 'C:UsersChristianDocuments6. SemesterInterdisziplinäres ProjektInfo Xcelius and Crystal Reports.pdf' was successfully uploaded.
The original .rpt file still makes problems and is not uploaded. publishtocrystalreports.com comes up with the following " last run status"
Error while uploading the file 'C:UsersChristianDocuments6. SemesterInterdisziplinäres ProjektTEST.rpt':
The following exception occurred when uploading the file TEST.rpt: Could not overwrite the existing file because the file extension is not compatible with the object type.
Please note that the file does not include any flash object.
Regards
It appears as if the publisher is able to upload items to CRDC. Can you create a crystal report with just a texst box (no data) and try publishing?
For the report that did not upload, does it open in the designer if you double click on the file name? Was the report saved with "saved data"?
//tony
Hello,
The problem was the following. The folder I was trying to upload the .rpt file to already included a .swf file with the same name and I did not specify another name for the .rpt file so the system was trying to replace the .swf file with the .rpt file and failed. By renaming the file to testwithtext.rpt I discovered this problem. All good now. Thank you very much for your time and effort.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.