I'm trying to get a web app that uses SQL Server 2005 and Crystal Reports 10 working on a GoDaddy server. But it's failing for precisely the same reason as this: http://www.codeverge.net/item.aspx?item=527421
I thought I could just manually copy these 5 Runtime files into the Bin folder:
i.CrystalDecisions.CrystalReports.Engine.dll
ii.CrystalDecisions.Enterprise.Desktop.Report.dll
iii.CrystalDecisions.ReportSource.dll
iv.CrystalDecisions.Shared.dll
v.CrystalDecisions.Web.dll
But then I get the error described in that other post. I'm wondering if anyone knows of a commercial hosting provider that either supports Crystal Reports 10 already or would permit me to utilize these 5 DLLs on their server?
GoDaddy has gotten back to me. Their basic plans do not support the addition of such DLLs. To use them I'd have to upgrade to one of these plans: https://www.godaddy.com/gdshop/hosting/virtual.asp?display=virtual?isc=web2iu
I'm curious to get feedback on what others think of the cost/features of their Virtual Dedicated Server Plans.
I would have thought so too but here's the error I'm getting:
Required permissions cannot be acquired.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
[FileLoadException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)] System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0 System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141 System.Reflection.Assembly.Load(String assemblyString) +25 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32
[ConfigurationErrorsException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +211 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +46 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177 System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +185 System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +230 System.Web.Compilation.BuildManager.CompileGlobalAsax() +49 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +462
[HttpException (0x80004005): Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +57 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +612 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +644
[HttpException (0x80004005): Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3465427 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69 System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +279
I believe GoDaddy is trying to sell you there dedicated/personalized hosting where you could change the trustlevel for your asp.net app. This might be expensive.
I would look for another hosting provider that provides full trustlevel.
In your experience, would you say that $52.83 per month for their Economy plan here is expensive: https://www.godaddy.com/gdshop/hosting/virtual.asp?display=virtual?isc=web2iu
Don't know if you found the answer to this, but the system admin and I spent a full day trying to figured this out.
Here's the answer we found.
Grant permission to the server's C:/Windows/Temp directory. Crystal Reports is trying to write to that directory but does not have access. That's it! Hope that helps others looking for the answer for the same problem.
I guess what you're saying is to give these instructions to the commercial host? I wonder how many would be willing to do that though?
Robert
hi rmdw,
If you are looking for Crystal Report hosting, you may have a look at ASPHostCentral.com. The product demonstration can be found
here and the Crystal Report hosting plan starts from as low as $4.99/month only. With this product demonstration, you can be rest assured that your Crystal Report project will work on ASPHostCentral's server as well.
rmdw
Participant
825 Points
1228 Posts
Commercial Hosts That Support Crystal Reports 10?
Dec 11, 2008 06:27 AM|LINK
I'm trying to get a web app that uses SQL Server 2005 and Crystal Reports 10 working on a GoDaddy server. But it's failing for precisely the same reason as this: http://www.codeverge.net/item.aspx?item=527421
I thought I could just manually copy these 5 Runtime files into the Bin folder:
i. CrystalDecisions.CrystalReports.Engine.dll
ii. CrystalDecisions.Enterprise.Desktop.Report.dll
iii. CrystalDecisions.ReportSource.dll
iv. CrystalDecisions.Shared.dll
v. CrystalDecisions.Web.dll
But then I get the error described in that other post. I'm wondering if anyone knows of a commercial hosting provider that either supports Crystal Reports 10 already or would permit me to utilize these 5 DLLs on their server?
Robert
Vancouver, BC
Technical Blog
Pocket Pollster
rmdw
Participant
825 Points
1228 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Dec 11, 2008 06:24 PM|LINK
GoDaddy has gotten back to me. Their basic plans do not support the addition of such DLLs. To use them I'd have to upgrade to one of these plans: https://www.godaddy.com/gdshop/hosting/virtual.asp?display=virtual?isc=web2iu
I'm curious to get feedback on what others think of the cost/features of their Virtual Dedicated Server Plans.
Robert
Vancouver, BC
Technical Blog
Pocket Pollster
devcalpoly
Contributor
2184 Points
352 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Dec 11, 2008 06:51 PM|LINK
Please do not rely on GoDaddy's support team. I had bad experience with them. [:)]
Not sure what you are exactly trying do. Can you reference those DLLs in your project? If so, then any Windows Hosting plan should do it.
rmdw
Participant
825 Points
1228 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Dec 11, 2008 07:00 PM|LINK
I would have thought so too but here's the error I'm getting:
Required permissions cannot be acquired.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.
Source Error:
Stack Trace:
Vancouver, BC
Technical Blog
Pocket Pollster
devcalpoly
Contributor
2184 Points
352 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Dec 11, 2008 07:19 PM|LINK
I believe it's due to trustlevel. "Full trustlevel" will be needed to overcome these errors.
GoDaddy has medium trustlevel for there shared hosting.
http://help.godaddy.com/article/1039
I believe GoDaddy is trying to sell you there dedicated/personalized hosting where you could change the trustlevel for your asp.net app. This might be expensive.
I would look for another hosting provider that provides full trustlevel.
rmdw
Participant
825 Points
1228 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Dec 11, 2008 07:36 PM|LINK
In your experience, would you say that $52.83 per month for their Economy plan here is expensive: https://www.godaddy.com/gdshop/hosting/virtual.asp?display=virtual?isc=web2iu
Robert
Vancouver, BC
Technical Blog
Pocket Pollster
devcalpoly
Contributor
2184 Points
352 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Dec 11, 2008 08:04 PM|LINK
Seems like a good price.
voleona
Member
2 Points
1 Post
Re: Commercial Hosts That Support Crystal Reports 10?
Mar 15, 2009 09:43 PM|LINK
Don't know if you found the answer to this, but the system admin and I spent a full day trying to figured this out.
Here's the answer we found.
Grant permission to the server's C:/Windows/Temp directory. Crystal Reports is trying to write to that directory but does not have access. That's it! Hope that helps others looking for the answer for the same problem.
rmdw
Participant
825 Points
1228 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Mar 15, 2009 11:40 PM|LINK
I guess what you're saying is to give these instructions to the commercial host? I wonder how many would be willing to do that though?
Robert
Vancouver, BC
Technical Blog
Pocket Pollster
you_rock
Member
428 Points
158 Posts
Re: Commercial Hosts That Support Crystal Reports 10?
Mar 17, 2009 12:47 AM|LINK
hi rmdw,
If you are looking for Crystal Report hosting, you may have a look at ASPHostCentral.com. The product demonstration can be found here and the Crystal Report hosting plan starts from as low as $4.99/month only. With this product demonstration, you can be rest assured that your Crystal Report project will work on ASPHostCentral's server as well.
Hope this helps. Thank you.