cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Report with Visual studio 2013 aspnet_client/system_web/4_6_81

Former Member
0 Kudos

I am totally confused with behavior of SAP Crystal Report which i am using with Visual Studio 2013. When I run my ASP.NET Web Application, I am getting following folder pathaspnet_client/system_web/4_6_81/crystalreportviewers13/ instead of C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13. I do not have any such folder found in my IIS 7.5 C:\inetpub\wwwroot\aspnet_client\system_web). Can you please help me on this? due to this i am not able to see the report.

Please check the below screenshot for the reference

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello,

It appears you may have a Proxy Server running or something is redirecting your page to that rename WEB source.

Check with MS on what that may be.

Notice also you have a WBManager which could be a firewall or some other third party application doing the redirect.

Fiddler trace logs may give you more info.

Don

Former Member
0 Kudos

Dear Done Williams,

WBManager is my application name. I do not have any Proxy Server installed in my system. Proxy server only will work with URL, not with directories.

Thank you for your valuable time.

Abhilash Thomas

former_member183750
Active Contributor
0 Kudos

Abhilash, Don is on vacation and we're heading into a holiday weekend here, so I'll chip in hoping the below will help. Other than that, we'll be back Tuesday so I'll keep my fingers crossed.

I'd like you do delete the viewer off the form it is on. save the project and re-add the viewer. Have a look at the following re configuration nof the viewer:

Visual Studio 2012 Crystal Report not working on Windows Server 2012/ 0x800a1391 – JavaScr...

http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2012/10/16/report-appears-blank-...

Also, have a look in the developer Help file for the viewer configs:

SAP
Crystal Reports .NET SDK Developer Guide

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

former_member188030
Active Contributor
0 Kudos

Hi Abhilash,

Could you check if 'C:\Windows\Microsoft.NET\Framework\..' location on your machine has the 'spnet_client/system_web/4_6_81/crystalreportviewers13' folder?

Could you remove and redeploy the app on IIS and see if it changes anything..

In my understanding, when the app is developed using MS Development server, it would pick up the CRviewers folder from .NET framework loc.

Also, check IIS root directory.

On the other hand, you could force the app to load the viewer from a location. modify the "<add key="resourceURI" value="/crystalreportviewers13" />" tag in web.config.

Thanks,

Bhushan

Former Member
0 Kudos

Dear Bhushan Hyalij,

I was installed and tested Visual Studio 2015 in the same system few day before. So this may be one of the reason to get such URL path in my crystelreportviewer13. ASP.NET 4.6 is released so Microsoft creating new folder for aspnet_client/system_web/4_6_81 in future. I didn't see these folders in my system that is strange behavior. So as usual all the by products of IIS, ASP.NET 6.0 folder will create with there new version.

This may be help you to finding resolution for my question.

Thanks for your valuable time

Abhilash Thomas

former_member183750
Active Contributor
0 Kudos

CR does not support VS 2015 - will not until the next SP (SP15 - ETA, September +).

- Ludek

0 Kudos

CR does support VS 2015 RC build only with SP 14.

We have found a few issues but not this one so it must be environmental.

We'll do some more testing and see if we can reproduce the problem although since you also had the issue with VS 2013 it does suggest something about your environment causing the problem.

Try this on a new VM ware image without loading your previous projects, create a new simple one and see if that makes any change.

Don

thomas_johnson
Explorer
0 Kudos

I accidentally installed VS 2015 Community on my dev box, which I then uninstalled.  Now CR isn't working in any of my projects when ran from VS 2013 Pro. When I debug the web app, I found the path was changed to 4_6_81 too.

My question is, what determines the path?  I really don't want to change literally 100's of web configs.  I saw someone say to just rename the folder, but that seems unsupportable going forward.

I uninstall CR for VS and installed the latest (SP14) and it didn't help.

0 Kudos

Hi Thomas,

I found this also on my Windows 10 image and discovered the cause is due to missing 3.5 framework. To fix this go into Programs and Features, on Wind 10 right click the start button and select Control panel.

Select Turn Windows Features on or off and select the first one:

You should not get the version numbers in the path now.

So not sure what OS you are using but this is a VS issue I believe. Try doing a repair on Visual Studio 2013 to see if that resolves how VS is generating the config files.

It could also be you may have an updated Framework.... not enough info to go on from you...

Don

thomas_johnson
Explorer
0 Kudos

Thanks Don.

I'm running on Windows 7 Pro x64.  All my projects are targeting .NET 4.0. I did check Program & Features and both .NET 2.0 Compact and .NET 3.5 Compact are installed.  I did a repair on 3.5, but it didn't help.  I had also run regiis_aspnet under 4.0, but that didn't help either.

Currently I'm running repair on VS 2013 Pro (taking forever).

I did find that VS 2015 did install .NET 4.6, so I'm thinking that may be culprit. If the repair to VS 2013 doesn't help, I will uninstall .NET 4.6.  I'm  thinking, now that the 4.6 compiler may be creating the incorrect path.  I know when I installed 4.5, the compiler that came with it took over in VS even if I'm still targeting 4.0. but everything worked fine.

I'll update you on what I find.

thomas_johnson
Explorer
0 Kudos

I finally got everything to work right.

After uninstalling 4.6, I found VS didn't work.  Removing .NET 4.6 uninstalled all of .NET 4.x.  So I had to reinstall 4.0-4.5.x.  This was accomplished through Windows Update. I then did a reboot and tried to run a website through VS and found that CR worked correctly.

I hope this helps others.

former_member183750
Active Contributor
0 Kudos

See this:

and this:

Crystal Report Viewer

for a solution.

- Ludek

Message was edited by: Don Williams

Answers (0)