Forum  Commercial Foru...  Commercial Foru...  Wrapping Grape City
Previous Previous
 
Next Next
New Post 12/21/2010 5:41 AM
  rschnell
429 posts
2nd Level Poster


Re: Wrapping Grape City 

 Hi,

 

I don't know why the connection type is ambiguous, but I can get over it by putting it in the code behind and setting it to the appropriate enum value, in this case Oledb

 

ie:

 

  Dim RD As RdDataSource = CType(Me.HostedControl.Parent.FindControl("RdDataSource1"), RdDataSource)

    RD.ConnectionType = GrapeCity.ActiveAnalysis.DataSources.ConnectionType.OleDb

Then I get back to the original error. I assume the ambiguity is caused by having the silverlight dll, because when I remove it, the ambiguity goes away and I am back to the original error.

Regards

 

Richard

 
New Post 12/21/2010 11:14 AM
  palli
14298 posts
1st Level Poster




Re: Wrapping Grape City 

Hi Richard,

You are correct. Removing the reference to the Silverlight part, leaving the wrapper unchanged, meaning not adding the code you mentioned in your last reply, gives me the same error.

Googling, I found this thread here. Following up on that information, searching the sample apps folder installed under My Documents, I found the correct registration line for the CoreHandler, which should be:

 

      <add verb="*" path="*.ashx" type="GrapeCity.ActiveAnalysis.Web.CoreHandler, GrapeCity.ActiveAnalysis.Web"/>

In addition, I noticed that both of the GrapeCity references in the project were set to Copy Local = False. Changing that to True, I get a Voila ! I get the control up in the browser without any errors.

Hope this helps,

Palli

 

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/21/2010 1:10 PM
  rschnell
429 posts
2nd Level Poster


Re: Wrapping Grape City 

Hi,

 

If I add this registration to my application its doesnt even start, no error. Taking it out, it works again. I suspect a conflict with the ashx path which is also my vwg path (not wgx as usual).

 

Will investigate further, but if you have the c0ontrol displayed, that's good news.

REgards

 

Richard

 
New Post 12/21/2010 1:26 PM
  palli
14298 posts
1st Level Poster




Re: Wrapping Grape City 

Hi Richard,

Good luck.

In case it helps, I uploaded the version I got to show the control. You can find it here.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 12/21/2010 7:09 PM
  rschnell
429 posts
2nd Level Poster


Re: Wrapping Grape City 

 Hi,

 

Yes that was the problem, running e..g. as wgx and it works and I finally see the control. Unfortunately this means we will have to find another mapping extension on the server.

Anyway another case closed Palli, thank you very much, all my outstanding issues of the last few weeks are resolved.

Regards

 

Richard

 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  Wrapping Grape City
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS