Opened 17 years ago

Closed 17 years ago

#158 closed defect (fixed)

1.2 Beta 2 Custom Search .NET Error

Reported by: amorsell@… Owned by:
Priority: high Milestone:
Component: AJAX Viewer Version: 1.2.0
Severity: major Keywords:
Cc: External ID:

Description

Trying to execute a search command created from Autodesk MapGuide Studio. Yields:

Server Error in '/mapguide/mapviewerajax' Application.


Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0266: Cannot implicitly convert type 'OSGeo.MapGuide.MgLayerBase' to 'OSGeo.MapGuide.MgLayer'. An explicit conversion exists (are you missing a cast?)

Change History (1)

comment:1 by jng, 17 years ago

Resolution: fixed
Status: newclosed

I do recall having this same error. It was because the file search.aspx was missing the required cast due to the introduction of the MgLayerBase class.

Looking at the same file in RC1, it all been fixed, the missing cast is there. And the search commands I make also work.

Note: See TracTickets for help on using tickets.