cancel
Showing results for 
Search instead for 
Did you mean: 

ASP.Net crystal report toolbar not working.

Former Member
0 Kudos

Hi All,

My report is displayed without any problem.

However, when I click on the button from my crystal report viewer toolbars I get the error.

Note : the toolbars is working fine on my local machine.

Error message : Logon failed. Details: mscorlib : Could not find a part of the path 'C:\Documents and Settings\chia\My Documents\Visual Studio 2008\WebSites\Safety Permit System\rptLoad_ConfineSpace_Summary.xml'. Error in File C:\WINDOWS\TEMP\rptPrintSummaryConfineSpace {965CF937-D48C-483A-AC32-198A790880A6}.rpt: Unable to connect: incorrect log on parameters.

Please help thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Some suggestions:

1. Ensure that you have IIS_wpg (IIS6) or ASPNET (IIS5) or IIS_Iusrs(IIS7) full permission on Temp folder.

2. If you are using an XML file as a datasource, the folder should also have the full control for above worker group.

3. Is the report needs parameter, ensure its passed properly through application.

4. Any event from the toolbar will cause a postback. Ensure that you have the reportdocument object stored in session properly.

If these do not help, please provide some more details, like can you see the report properly or not, how you deployed the application, product versions etc.

Thanks.

Former Member
0 Kudos

Hi,

I had tried your solution the problem still exist.

Logon failed. Details: mscorlib : Could not find file 'C:\Inetpub\wwwroot\rptLoad_HotWork_Summary.xml'. Error in File C:\WINDOWS\TEMP\rptPrintSummaryHotWork {8C3CB473-5A57-480B-B6CB-0426B5C7CA61}.rpt: Unable to connect: incorrect log on parameters.

Whatever I clicked on the toolbar the error above will be shown.

Please help thanks

Former Member
0 Kudos

Hello,

I was looking for product, environment details, the code and workflow also.

Try the following:

- Place a copy of the XML files in the Temp path directory.

- Do not manually edit the XML file path in the Crystal Reports designer - leave it as the full path.

I found the note [1203980 - How to change the location of the .XSD and .XML files at runtime in a .NET application|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303333333933383330%7D.do]. See if it is helpful.

Do check the samples, as per your environment or code and see if it helps.

[Crystal Reports.|http://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsSDKSampleApplications]

[BOE|http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications]

Thanks.

Edited by: A G on Dec 28, 2010 7:33 PM

Edited by: A G on Dec 28, 2010 7:52 PM

Former Member
0 Kudos

Thanks AG,

After I implemented your resolution I hit another error

I can see all the button icon are displayed and most of the button on toolbar are workinge except Print and Export Button.

The print and export button throw me javascript error Object doesn't support this action.

I have found a lot of solution from web but it still doesn't work. I already configure a aspnet_client virtual directory on IIS itself.

Thanks for helping.!!! I really need the resolution as fast as possible.

Hope someone can help

former_member183750
Active Contributor
0 Kudos

I believe you have more than one issue happening here. If you need the resolution as fast as possible, I'd recommend creating a phone case here:

http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyV...

- Ludek

Answers (0)